Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot update GPG key on Github

Tags:

git

github

gnupg

I currently have a GPG key on my Github account, which I've been using to verify a bunch of commits. Recently, I decided to make a separate signing subkey to keep my master key off of my main PC. However, it doesn't seem like I can update the GPG key on Github to add the new subkey because there is no update option, and if I try to upload it as a new key it complains that it already exists (which it does, but the old one doesn't have my new subkey). Is my only option to delete the key and readd it, but with the subkey this time? Will that unverify all of my existing commits, even after I readd the keys?

like image 228
Javier Coindreau Avatar asked Mar 12 '26 17:03

Javier Coindreau


1 Answers

I bit the bullet, and fortunately deleting a GPG key and adding an updated version of the same one one re-verifies all commits that had that key originally.

like image 54
Javier Coindreau Avatar answered Mar 14 '26 08:03

Javier Coindreau



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!