Suddenly, all of my commits (my entire history it seems) in all of my repos show as "unverified". Until quite recently, I'm pretty sure all of my commits were marked as verified, and that this change occurred in the past few days. But I can't figure out why or how to fix it.
I have a valid key in my list of GPG keys in settings, and the Key ID there corresponds to the key ID in the user
section of my .gitconfig
and to the GPG key used in my git client (Tower). The e-mail used in both .gitconfig
and my git client is also among the list of verified e-mails in my GPG key in my GitHub settings. And the GPG key ID associated with each commit on GitHub matches the valid GPG key in GitHub settings, my git client, and my git settings.
Why do all my GitHub commits show as unverified, especially when they used to show as verified? How do I get them to correctly show as verified?
Even though the GitHub GPG UX says the key is currently in use, it may still be necessary to update it with a newly exported key if the expiration date has been extended.
However there is no way to simply update the key, and an attempt to upload one with an updated expiration date fails with a message saying that the key is already in use (confusing), the only path is to delete the existing key first, but this meets with what appears to be a dead end with a message (in bold, no less):
Forge ahead though and delete the existing key and then upload a recently exported one (with any relevant extension to the expiration date) and — dire warning notwithstanding — the commits will show as verified again.