kr
kr copied to clipboard
Support editing PGP public key emails
The first time I created a gpg key and used the mail ( starting at rostovslipknot@) now, I want to change this gpg key, do I "unpair" , re-generate ssh key and gpg key ( specifically removed the "kr" on the desktop) and now when I create a gpg key with a different email, the key is created still with the previous, please tell me this is a bug or I something wrong doing the right thing, thanks in advance
Old email
New email
Krypton keeps the 3 emails most recently used to sign git commits. If you have gpg
installed, you can import the Krypton PGP public key into gpg
using kr me pgp | gpg
, remove the emails you do not want using the GPGTools gui, and re-export the public key from there.
We realize email management is a problem right now and will be improving this in the future
@kcking uh, to change the public key, I need the private key, and it's on the phone. :/
Do you have GPGTools installed? To remove an email you do not need the private key.
Seems something went wrong with the detection here, and it added itself, as well as one of my previous gpg keys (id C5E635E7204D06FB
), rather than any emails:
> gpg --fingerprint
/Users/balupton/.gnupg/pubring.gpg
----------------------------------
pub rsa4096 2018-02-13 [SC]
7C2F 2D79 25EB 0C6C 1D8A 85FE 21BF F9C0 99CA F2A7
uid [ultimate] Benjamin Lupton <[email protected]>
uid [ultimate] 21BFF9C099CAF2A7
uid [ultimate] C5E635E7204D06FB
I am unsure if the uids of 21BFF9C099CAF2A7
and C5E635E7204D06FB
are even valid or useful here? or if they should be removed? Can someone advise please.
For removing an email with the GPGTools on Mac:
brew cask install gpg-suite
Then open up the GPG Keychain app. Double click the key. It will show the UIDS on the left panel. Then select the UID you want to remove, click the cog icon, and click remove.