Adding A User To An Existing GPG key
I recently came across an issue when I was signing commits that also used my business email.
I gladly learned that it’s not very hard to add an additional user id to a GPG key.
Get Current Secret Key ID
To start, we need to get our current secret key id. We’re looking for the sec
key.
We can ignore the bit length
Edit Key
--edit-key
will drop us into gpg
’s REPL. From here we can add our additional user ID:
Github
We’ll need to add our key to Github. If you’ve already added the key to Github, you’ll need to delete it and paste in your new key.
No comments yet. Share on Mastodon and see your comment or write a post on your blog if you support Webmentions
No reposts yet. Share on Mastodon and see your repost or write a post on your blog if you support Webmentions
No likes yet. Share on Mastodon and see your like or write a post on your blog if you support Webmentions
No bookmarks yet. Share on Mastodon and see your bookmark or write a post on your blog if you support Webmentions
Powered by Webmentions