Context info for pinentry-mac
Mento at gpgtools.org
Fri May 20 10:43:37 CEST 2016
Am 19.05.2016 um 15:25 schrieb Werner Koch <wk at gnupg.org>:
> For now you need to use the envvar PINENTRY_USER_DATA.
When gpg-agent isn't running and i do something like "PINENTRY_USER_DATA=foo gpg2 -s", foo is passed to pinentry. So far, so good.
If i then run "gpg2 -s", foo is again passed to pinentry.
How can i prevent this behavior?
1. Make sure gpg-agent is launched before the first gpg2 operation.
2. Call gpg2 every time like "PINENTRY_USER_DATA='-' gpg2 -s".
Are there any other solutions?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the Gnupg-devel