gpgme: gpgme_op_sign '[User ID hint missing]' in passphrase callback

Bart Trojanowski bart@jukie.net
Fri Jun 22 15:56:01 2001


On 22 Jun 2001, Werner Koch wrote:
>  bt> 	ENTER
>  bt> 	[User ID hint missing]
>  bt> 	726AB1F7B4322C84
>
> ENTER ist just a keyword, the next line should give you a hint about
> the user ID, i.e a text which can be displayed and the 3rd line is the
> long keyID *you may want to display only the last 8 hexdigits.

So I should be able to use this last line to query gpgme for the name
associated with the key, right?  Can this be done from within the
passphrase callback.  Do I need a second context?

From my program I wan to ask:

	Enter passphrase for '<bart@jukie.net>':

...or something like that.  I don't think asking:

	Enter passphrase for '726AB1F7B4322C84':

... is very user friendly.


> GPGME_DEBUG=2:/tmp/foo

Man, even for UNIX this is a great idea.  Nice, very nice.

Thanks for the info,
Bart.

-- 
				WebSig: http://www.jukie.net/~bart/sig/