Page MenuHome GnuPG

gpg-agent cache does not work anymore
Closed, ResolvedPublic

Description

Environment

FreeBSD 5.3-RELEASE-p5
GnuPG 1.4.0 + GnuPG 1.9.14
libgcrypt 1.2.1
libassuan 0.6.9

Description

Signing a file for the first time:

$ gpg -b foo

[...]
gpg-agent[77073]: DBG: agent_get_cache `blah blah blah'...
gpg-agent[77073]: DBG: ... miss
gpg-agent[77073]: starting a new PIN Entry
gpg-agent[77073]: DBG: connection to PIN entry established
gpg-agent[77073]: DBG: agent_put_cache `blah blah blah'
gpg-agent[77073.0x8093000] DBG: -> [Confidential data not shown]
gpg-agent[77073.0x8093000] DBG: <- [EOF]
gpg-agent[77073]: handler for fd 0 terminated

Passphrase entered in pinentry, file correctly signed.

When signing a file again, the passphrase is not found in the cache:

$ gpg -b foo

[...]
gpg-agent[77073]: DBG: agent_get_cache `same blah blah blah as above'...
gpg-agent[77073]: DBG: ... miss
gpg-agent[77073]: starting a new PIN Entry

Note that it used to work with GnuPG 1.2.6 + GnuPG 1.9.11, ligcrypt 1.2.0, libassuan 0.6.7.

Also note that it does not work either with gpg2.

Event Timeline

werner added a subscriber: werner.

Already fixed in 1.9.15