DEV Community

Mihir Rabade
Mihir Rabade

Posted on

Having too many GPG keys associated in GitHub account is bad?

I'm asking for opinions on whether having multiple GPG keys is a bad idea or not. I like to keep things organised and unduplicated, so this situation was bothering me.

The reason I have multiple GPG keys is that I had to clean install Windows in my computer couple of times. And sometimes I used different computer (like Raspberry Pi 2B & UserLAnd on Android), so I have different key for each of those.

Unfortunately, I no longer have access to old keys, so I need to create a new GPG key anyway. But moving forward, how should I deal with such situation?

Should export & import the key? Should I create new key every time?
Should I do something else?
In the end I want my commits to be shown as verified in GitHub.
What would you do if you were in my situation?

Top comments (0)