Combined PGP Keys Into One

February 18th, 2008

After finding out today that pgp keys can have multiple email addresses, I revoked all but public key and combined all emails into one key.

How

Edit a key in the terminal:


> gpg --edit-key KEY_ID
Command> adduid
Add name and email address. Then remember to set a primary uid:

Command> uid NUMBER_IN_PARENTHS_TO_SELECT
Command> primary
Command> save

Should be all good. Remember to revoke the old keys and re-export the public key.

Additional Tip

You can share your public key with others easier by uploading it to a key server like MIT

Sorry, comments are closed for this article.