passphrase callback

folkert folkert at vanheusden.com
Wed May 27 21:30:09 CEST 2015


Hi,

I'm trying to use gpgme in an unattended environment, e.g. without user
interaction.
Now I try to use gpgme_set_passphrase_cb() and I find two issues:
- when I invoke it without the ctx beining setup, it silently
  ignores/fails
- even though I set the passphrase callback, it still tries to invoke
  the gpg-agent gui. if I remove that program (as the situation will be
  on he server), it still doesn't use the passphrase callback

How to proceed?

Thanks.

Versions of software used:

gnupg 	 1.4.18-7
gnupg2 	 2.0.26-6
gnupg-agent 	 2.0.26-6
gpgv 	 1.4.18-7
libgpg-error0:amd64 	 1.17-3
libgpg-error0:i386 	 1.17-3
libgpg-error-dev 	 1.17-3
libgpgme11:amd64 	 1.5.1-6
libgpgme11-dev 	 1.5.1-6
libgpgme++2 	 4:4.14.2-2+b1


Folkert van Heusden

-- 



More information about the Gnupg-devel mailing list