GPG: Restoring a private key's UID from a pubkey's UID
The problem
When creating a new keypair since my old key was getting old (and insecure), I decided to backup my private key to an undisclosed location for security.
Unfortunately I did then add a UID to my private key and forgot to re-backup the key, which resulted in my …