How to update PGP public key after new uid is added?

1

I have a PGP keypair to which I just added a new uid. Is the previously exported public key and private key still valid? If I export a new public key with armor, it does look different and longer than the previously exported one. Another related question is, when exporting public key, is it possible to only select specific uids to be recognized?

qazwsx

Posted 2014-09-08T16:59:30.873

Reputation: 6 739

Answers

1

The public key is getting longer, as it's including your new uid. So your described behavior is what should happen.

As the exported key is not plain text, it's will change by changing some part of it. The same thing will happen, if you are getting signitures on it and exporting again. The exported key can now be imported by every of your communication partners or you can upload to a key server.

Exporting only some of your UID is not possible as far as I know.

frlan

Posted 2014-09-08T16:59:30.873

Reputation: 666

Exported key files is plaintext as long as there is --armor. So is the previously exported public and private keys (with armor enabled) still valid? Do I need to update them on my web pages and email clients etc.? – qazwsx – 2014-09-08T19:23:12.080

They are still valid, but lagging your new UID. (I hope you don't have your private key on your homepage... it's only for your privat keyring). With plain text I meant human unreadable ;) – frlan – 2014-09-08T19:35:32.933

OK, i'll update the public key on my web site then so it can get the added uid. Plain text normally just mean it is a file normally encoded as sequences of text characters. – qazwsx – 2014-09-08T19:43:18.557