Key appearing twice in keyring and upload to keyserver problem
David Shaw
dshaw at jabberwocky.com
Tue Jan 13 19:45:09 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Jan 13, 2004 at 11:10:45AM +0100, Nicolas Duboc wrote:
>
> Hi,
>
> (Sorry in advance for the long post.)
>
> I have two questions which may be related.
>
> My keyring seems to include my own key twice :
>
> ----------------------------------------------------------
> nico at bilby:~$ gpg --list-sigs F801A743
> pub 1024D/F801A743 2002-10-01 Nicolas Duboc <nicolas at duboc.net>
> sig 3 F801A743 2003-04-11 Nicolas Duboc <nicolas at duboc.net>
> sig 144843F5 2003-04-10 Roland Mas <lolando at debian.org>
> sig 3 F801A743 2002-10-01 Nicolas Duboc <nicolas at duboc.net>
> sub 1024g/B8213C2B 2002-10-01 [expire: 2003-10-01]
> sig F801A743 2002-10-01 Nicolas Duboc <nicolas at duboc.net>
> sub 1024g/1CF0D39E 2003-12-01 [expire: 2005-11-30]
> sig F801A743 2003-12-01 Nicolas Duboc <nicolas at duboc.net>
>
> pub 1024D/F801A743 2002-10-01 Nicolas Duboc <nicolas at duboc.net>
> sig 144843F5 2003-04-10 Roland Mas <lolando at debian.org>
> sig 3 F801A743 2002-10-01 Nicolas Duboc <nicolas at duboc.net>
> sub 1024g/B8213C2B 2002-10-01 [expire: 2003-10-01]
> sig F801A743 2002-10-01 Nicolas Duboc <nicolas at duboc.net>
> ----------------------------------------------------------
>
> The second key correspond to a previous state of my key (before I added
> the second encryption key 1CF0D39E).
>
> Shouldn't the keyring merge these two keys ?
No, if you have a keyring with a duplicate key, the merge happens on
import. Since the keys are already there, the way to fix it is:
* export both keys to a file
* delete the keys on the keyring.
* import the keys again. They will be merged.
Make a backup first, just in case.
> My second problem concerns upload to keyserver : when I try to upload my
> key including the new encryption key to a key server, I get this error
> message :
> ----------------------------------------------------------
> Key block in add request contained no new
> keys, userid's, or signatures.
> Your key block contained 2 format errors,
> which were treated as if the erroneous elements
> hadn't been part of your submission.
> The last error was on key 0x1c6ccd1c:
> Key block corrupt: more than one signature on subkey
> ----------------------------------------------------------
You have more than one subkey. Many keyservers do not accept keys
with multiple subkeys. Try using hkp://subkeys.pgp.net as your
keyserver.
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5-cvs (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc
iHEEARECADEFAkAEkRUqGGh0dHA6Ly93d3cuamFiYmVyd29ja3kuY29tL2Rhdmlk
L2tleXMuYXNjAAoJEOJmXIdJ4cvJ4jkAoOQK5CGV3rJXydRzxuLi5W6rvbRpAJ9b
O8B+cwjhRGgJ5L8RQTKvAs1oNQ==
=RGN/
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list