Duplicate personal key in keyring
Dirk Gottschalk
dirk.gottschalk1980 at googlemail.com
Tue May 22 02:15:25 CEST 2018
Hello Justin.
Am Montag, den 21.05.2018, 11:25 -0500 schrieb Justin Hibbits:
> Through some unknown series of events, I now have two copies of my
> personal gpg key in my keyring. I double-checked to see if GPG is
> seeing the same key in two keyrings (maybe reading a backup), but
> both
> keys are being read from the same keyring.
> This leads me to two questions:
> 1) How could this happen in the first place?
I had a similar problem a while ago. In my case the key database was
corrupted.
> 2) How can I fix this, short of generating a new key and revoking the
> existing key?
In my case I exported the public and the private keys of my own keys,
then exported the complete public key ring, both ascii armored.
Then I simply deleted the key database file(s) and re-imported the
exports.
GPG imports keys only once, so the duplicates should vanish when re-
importing.
> I've tried backing up the keyring and deleting one copy, but it
> deleted both copies. I searched online for anyone else who had a
> similar issue, and came up empty, except for one person who was
> seeing the same key from two files.
Did you make an ascii armored export, or what kind of Backup do you
mean?
Regards,
Dirk
--
Dirk Gottschalk
Paulusstrasse 6-8
52064 Aachen
Tel.: +49 1573 1152350
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180522/8fac5125/attachment-0001.sig>
More information about the Gnupg-users
mailing list