gpg-agent not caching card PINs?

Joachim Breitner mail at
Sat Oct 9 20:00:07 CEST 2004


I just got gpg-agent (thx to smurfix for packaging for debian). I got
version 1.9.11+cvs20040924-3. It works fine for on-disk-keys with
passwords, but for my on-card-signature-keys, it asks for the PIN every
time. It does ask using pinentry, so it goes through gpg-agent.

Here are my commands: 
gpg-agent --daemon --pinentry-program /usr/lib/pinentry/pinentry-gtk --default-cache-ttl 600
GPG_AGENT_INFO=/tmp/gpg-EhFmNT/S.gpg-agent:6918:1; export GPG_AGENT_INFO;
echo hi | gpg --armour --sign --use-agent
# he asks for my PIN and signs - ok
echo hi | gpg --armour --sign --use-agent
# he asks for my PIN and signs - not ok :-) 

Bug? Intentional?


Joachim "nomeata" Breitner
  mail: mail at | ICQ# 74513189 | GPG-Key: 4743206C
  JID: joachimbreitner at |
  Debian Developer: nomeata at
Please avoid sending me Word or PowerPoint attachments.

More information about the Gnupg-devel mailing list