gpg card options

Danielle McLean dani at
Sun Apr 23 17:26:54 CEST 2017

On 4/23/17 7:16 PM, Will Senn wrote:
> Is it advisable to set options on a smart card such as Name of
> cardholder, Sex, URL of public key, and Language prefs? It just seems
> like information like that is extraneous. Thoughts?

Setting the URL of your public key is certainly useful. To use the
private keys on your smartcard, the associated public key must be in
your keyring. If you've set a URL for your public key, then on any
computer you can simply use the 'fetch' command in --card-edit to
retrieve the public part and make your keys usable.

The other info is mostly unnecessary. It's not used by GnuPG, and the
most relevant part (the cardholder's name) can be discovered just as
easily by fetching the public key anyway!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20170424/ded17d81/attachment.sig>

More information about the Gnupg-users mailing list