fetch public key from card?

Stefan Xenon stefanxe at gmx.net
Thu Feb 18 08:59:39 CET 2010

Hi David,
thanks for your reply. In the OpenPGP Card spec I discovered the command
"Generate Public Keypair". So I assume the card would allow such feature
but GnuPG does not support it yet?


Am 16.02.2010 20:59, schrieb David Shaw:
> 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.
> David

More information about the Gnupg-users mailing list