gpgme_set_passphrase_cb seems to be ignored

Werner Koch wk at gnupg.org
Thu Apr 16 10:08:34 CEST 2009


On Sat, 21 Mar 2009 08:24, admin at garyshood.com said:

> When I set a passphrase callback, it doesn't seem to be used, and
> pinentry runs instead.

That's intended.  GnuPG2 requires the gpg-agent for secret key
operations and does not bother the application with passphrases etc.

There are ways to workaround it by using a custom pinentry script
controlled by envvar PINENTRY_USER_DATA or by using
gpg-preset-passphrase.



Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-devel mailing list