Page MenuHome GnuPG
Feed Advanced Search

Jun 17 2015

lenharo added a comment to T2015: GET_PASSPHRASE with --no-ask always return error in gnupg 2.1.5.

Jun 17 2015, 5:36 PM · gpgagent, Bug Report, gnupg
lenharo added a comment to T2015: GET_PASSPHRASE with --no-ask always return error in gnupg 2.1.5.

Sorry not giving you more details at first time. Actually I'm using
gpg-preset-passphrase.
Executing the steps you mentioned works for me as well. The problem seems to be
when gpg-preset-passphrase is used.

$ gpg-connect-agent 'getinfo version' /bye

D 2.1.5

OK

$ echo "asd"|/usr/lib/gnupg/gpg-preset-passphrase --preset XXXXXXXXXX

$ gpg-connect-agent 'GET_PASSPHRASE --no-ask XXXXXXXXXX a a a' /bye
ERR 67108922 No data <GPG Agent>

-------

$ gpg-connect-agent 'getinfo version' /bye

D 2.1.4

OK

$ echo "asd"|/usr/lib/gnupg/gpg-preset-passphrase --preset XXXXXXXXXX

$ gpg-connect-agent 'GET_PASSPHRASE --no-ask XXXXXXXXXX a a a' /bye
OK 617364

Distro: Archlinux 64bit

Jun 17 2015, 4:44 PM · gpgagent, Bug Report, gnupg

Jun 16 2015

lenharo set Version to gnupg 2.1.5 on T2015: GET_PASSPHRASE with --no-ask always return error in gnupg 2.1.5.
Jun 16 2015, 6:46 PM · gpgagent, Bug Report, gnupg
lenharo added projects to T2015: GET_PASSPHRASE with --no-ask always return error in gnupg 2.1.5: gnupg, Bug Report.
Jun 16 2015, 6:46 PM · gpgagent, Bug Report, gnupg