gpg-agent not caching card PINs?

Joachim Breitner mail at joachim-breitner.de
Sat Oct 9 20:00:07 CEST 2004


Hullo,

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?

thx,
nomeata

-- 
Joachim "nomeata" Breitner
  mail: mail at joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C
  JID: joachimbreitner at amessage.de | http://www.joachim-breitner.de/
  Debian Developer: nomeata at debian.org
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




More information about the Gnupg-devel mailing list