Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lost GPG Key for Git

Tags:

github

gnupg

I lost my GPG Key for GitHub and was wondering what I should do. Should I keep and create a new one or revoke it? Will revoking the key on my account cause my commits to be unverified?

like image 847
john19385284 Avatar asked Aug 03 '26 22:08

john19385284


1 Answers

Sure, you can generate a new one.

Revoking the old one means old commits signed with the old gpgp keys won't be verifiable anymore. You can add new (signed) tags to old commits though.

like image 153
VonC Avatar answered Aug 06 '26 13:08

VonC