gpg2 vs. gpg and OpenPGP card

Werner Koch wk at gnupg.org
Mon Oct 10 10:49:17 CEST 2005


On Mon, 10 Oct 2005 09:31:51 +0200, Wolfgang Rosenauer said:

> gpg --card-status is not my problem. That works.

Does it show an authentication key?

> So I'm still not sure how to add the key from the card to the gpg-agent
> by using ssh-add.

You don't need. If there is a card in the reader it will get displayed.

> ssh-add -l reads from the card (according to the LED) but shows "The
> agent has no identities" which is true since I haven't added a identity
> at this point.

Generate a key on the card first.

> And ssh-add -s needs a reader-parameter. If this is the correct option
> which value would be needed here?

Nothing.  We don't use this - all card processing is done by
gpg-agent.  ssh-add does not know that tehre is a card.


Salam-Shalom,

   Werner




More information about the Gnupg-users mailing list