1

The email address that I used in my PGP key has changed.

What should I do to update the key with my new email address (apart from uploading second key)?

  • Refer this – user224082 Jun 11 '14 at 13:17
1

You can add multiple UIDs containing multiple e-mail addresses to an OpenPGP key. To do so, run (or use a graphical user interface of your choice, procedures should be similar):

  • Edit your own key

    gpg --edit-key [your-key-id]
    
  • Add a user ID

    adduid
    

    Now GnuPG runs some kind of assistent asking you what to include.

  • Save your key

    save
    exit
    
  • Upload the modified key to the key servers

    gpg --send-keys [your-key-id]
    

After uploading a key, it will take some minutes/hours until it is gossiped to all key servers. Remember that signatures are per-UID, you might want to ask your friends to resign your key if they signed your first UID. Revoking an old UID would also remove all incoming signatures to that UID.

| improve this answer | |
  • so I can also edit this key in the Seahorse GUI and just resend it? – Fih Jun 12 '14 at 0:53
  • Yes, that works totally fine. – Jens Erat Jun 12 '14 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.