gpgme_set_passphrase_cb not cooperating...

Werner Koch wk at
Thu Mar 22 08:20:59 CET 2018

On Wed, 21 Mar 2018 23:53, mangocats at said:

> Which versions of gpg/gpgme support passphrase callback setting for
> symmetric encryption?  My gpgme_check_version returns 1.5.5 and gpg
> --version returns 1.4.18 in Ubuntu 15.10

I doubt that it will work with 1.4.  Note that gpgme prefers an
installed GnuPG 2 version and that may be an too old version or
combination of GnuPG 2 and gpgme.

I would suggest that you run your application with 

GPGME_DEBUG=9:gpgme.log: ./your-application

and check the created log file.  It will have the used gpg version right
at the top and log the entire communication between gpgme and gpg.



#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list