Use p11-kit for directing PIN request to process_auth_form()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 8 Jun 2012 01:29:49 +0000 (02:29 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 8 Jun 2012 01:29:49 +0000 (02:29 +0100)
commite513fcfe0ce2879b154930c0fa8b92f4984fdf41
treeadb4f05f456b2c57d15f3768aaeec8ef85974cc6
parentf23d25f5e5165a4615225c3604f0a8b59d2d2fe9
Use p11-kit for directing PIN request to process_auth_form()

Set a 'pin-source' attribute which identifies the vpninfo structure, and
register a handler which converts it to an auth form for the GUI to process.

If the URI we are given already contains a pin_source then theoretically
we don't override it; we assume the caller knew what they were doing. In
practice, p11_kit_get_pin_source() seems to be returning NULL even when
the attribute *is* set, so we always override it.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Makefile.am
configure.ac
gnutls.c
openconnect.pc.in