fetch public key from card?

David Shaw dshaw at jabberwocky.com
Tue Feb 16 20:59:38 CET 2010

On Feb 16, 2010, at 2:29 PM, Stefan Xenon wrote:

> Hi!
> When using "gpg --card-edit" and "fetch" gnupg tries to download the
> public key from a key server. Instead, is it possible to fetch the
> public key from an OpenPGP Card v2.0 directly? If so, how to do this?
> Otherwise do I need to keep a backup of my public key always together
> with my OpenPGP Card?

The data stored on the card is only the secret key - and even then, it's only the necessary pieces of the secret key (there is a lot of redundant data in the OpenPGP key format).  You cannot recreate a public key from a card, so you must store it elsewhere.


More information about the Gnupg-users mailing list