gpg2 vs. gpg and OpenPGP card

Werner Koch wk at gnupg.org
Fri Oct 7 16:58:40 CEST 2005


On Fri, 07 Oct 2005 14:38:11 +0200, Wolfgang Rosenauer said:

> But as using ssh-add -l with running gpg-agent can't find my key on the
> card:
> "The agent has no identities."

There are a lot of reasons for this.  Did you install scdaemon?
Doesit work?  You might want kill a running scdaemon and test this
way:

  $ scdaemon -v --server

then enter

  learn --force

you should see lines with information on the card.  If it does not
show anything, add --debug 2048 to the invocation and make sure that
scdaemon.conf does not redirect the log file.

> I've thought that this could have something to do with gpg2
> --card-status failing.

Use gpg --card-status.  Also try without the agent running.


Salam-Shalom,

   Werner





More information about the Gnupg-users mailing list