You are not logged in.

#1 2012-08-02 18:04:16

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

[SOLVED] Change my GPG key

Hello,

I'm not sure in what section this belongs. It's not per se Arch related, so I guess it should go here.

Here's the case: I have updated my Hotmail account to the new Outlook, but when I created my GPG key I used my Hotmail account. How can I change this email adress, possibly without changing my GPG key? I looked at the gpg manpage but couldn't find anything and Google isn't that helping either.

Last edited by Unia (2012-08-02 18:36:34)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2 2012-08-02 18:22:39

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: [SOLVED] Change my GPG key

Use gpg --list-keys to find the key ID, then run gpg --edit-key <ID>. "adduid" will add a new user ID (name + email address); use "revuid" to revoke the old one if it's been compromised or you just don't want it anymore.

Don't forget to re-upload it if you've posted it to a server (using --send-keys), and make sure all the contacts that have the original key get the new version.

Last edited by Trent (2012-08-02 18:25:38)

Offline

#3 2012-08-02 18:36:25

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Change my GPG key

Thanks, that worked! Just for clarification (took me a while to figure out): before typing revuid, type the number of the user ID you want to revoke.

Solved! smile


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

Board footer

Powered by FluxBB