gpgme passphrase_cb (problem solved)

Werner Koch wk at gnupg.org
Fri Sep 14 17:46:35 CEST 2012


On Sat,  8 Sep 2012 19:09, john at zultron.com said:

> I'm pretty sure now that this is correct:  gpg2 password input cannot
> be captured without the use of a gpg-agent.

That is right.  gpg2 conceptional does not know anything about the
passphrase.  This is all up to the gpg-agent.  Version 2.1 even removed
all passphrase support from gpg2.

> Has there been any thought about building a gpg-agent into gpgme that
> the passphrase_cb could be hooked into?  The passphrase_cb is a pretty

No.  However, gpg-agent 2.1 has a feature to loop back the passphrase to
the client (OPTION pinentry-method=loopback).  GPG2 does not yet make
use of that.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list