Generating smart-card stubs on a clean computer?

John Clizbe John at
Wed Sep 1 04:24:37 CEST 2010

Grant Olson wrote:
> I can find docs on generating a key on a smart card, and migrating an
> existing key to the smart card.  But I can't figure out how to configure
> the smart card on a clean machine that never had my secret keys.
> The card has both signing and encryption keys on it.  The drivers are
> installed.  I'm running gpg2 (via gpg4win) on a Windows XP box.
> --card-status and --card-edit work.  But if I try to sign something, I'm
> told I don't have any secret keys.  How do I get stubs to show up in the
> local gpg configuration?
> Does anyone know how I can do this?

Issuing fetch within 'gpg --card-edit' and then 'gpg --card-status' have always
worked for me

John P. Clizbe                      Inet:John (a)
FSF Assoc #995 / FSFE Fellow #1797  hkp://  or
     mailto:pgp-public-keys at

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 499 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20100831/59d6a137/attachment.pgp>

More information about the Gnupg-users mailing list