Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: users

Question About Accumulated Bad Signatures in Public Key

 

 

GnuPG users RSS feed   Index | Next | Previous | View Threaded


erik at lotspeich

Jul 24, 2009, 1:37 PM

Post #1 of 3 (569 views)
Permalink
Question About Accumulated Bad Signatures in Public Key

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The public key that I use for work has accumulated various "bad
signatures". To be honest, I don't know how these signatures got there.
Anyway, I can use GPG to "clean" the public key and remove them.

Public key servers do not seem to scrub or clean public keys. Is it a
reasonable thing to delete the public key and re-add it? This doesn't
seem to be something that most public keyservers allow or recommend. Or
is it normal for bad signatures to accumulate over the years and it is
to be expected.

Note that in my case the bad signatures are redundant since there are
good, valid, signatures in addition to the valid bad ones by those
individuals.

I hope that I've explained this clearly. I've searched on the Internet
and I haven't seen a definitive answer.

Regards,

Erik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkpqG4EACgkQY21D/n6bGwfTWACeOen2Lf9oz+EM9l/gWQKfaF/b
gCQAnjabVPSx0X0aR6Gpe3XtRhjXly3t
=BaAG
-----END PGP SIGNATURE-----

_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users


dkg at fifthhorseman

Jul 24, 2009, 3:49 PM

Post #2 of 3 (512 views)
Permalink
Re: Question About Accumulated Bad Signatures in Public Key [In reply to]

On 07/24/2009 04:37 PM, Erik Lotspeich wrote:
> Public key servers do not seem to scrub or clean public keys. Is it a
> reasonable thing to delete the public key and re-add it? This doesn't
> seem to be something that most public keyservers allow or recommend. Or
> is it normal for bad signatures to accumulate over the years and it is
> to be expected.

There is no good reason for bad signatures to show up in the first
place, but there is no good way for keyservers to drop them either, if
they do show up (by error or by malice). Here's why.

Signatures are marked by a shorthand identifier of what key has made
them. This ID is the last 64 bits of the key fingerprint. Technically,
this identifier is part of an "Issuer subpacket", and it's not even
required to be included in the signature, though well-formed signatures
do have them. (see http://tools.ietf.org/html/rfc4880#section-5.2.3.5 )

Key fingerprints (160 bits) themselves aren't technically guaranteed to
be unique, but for all practical purposes, they currently are. But the
last 64 bits are certainly not guaranteed to be unique, and deliberate
collisions could probably even be generated by well-financed groups.

So consider a few possible scenarios keyservers must face upon receipt
of a signature over the first User ID of key 0123456789ABCDEF, which
contains an Issuer subpacket claiming it is issued by key DEADBEEFDEADBEEF:

* say the keyserver doesn't currently know of any key where the last 64
bits of the fingerprint match DEADBEEFDEADBEEF: should it ignore the
signature and discard it? or should it store it for use by people who
have a copy of that public key even if it's not on the keyservers?

* say the keyserver *does* know of a key where the last 64 bits match
DEADBEEFDEADBEEF, *and* the keyserver has the capability to
cryptographically verify the signature (an unusual keyserver these days
-- most don't at the moment). If the signature doesn't validate, what
should it do? it's possible that the signature was made by a
*different* DEADBEEFDEADBEEF key that the keyserver doesn't know about.
Now should it ignore the signature and discard it?


Does this make sense why the keyservers haven't bothered to discard the
"bad" signatures? They can't tell a bad sig from a sig from a key
they've never seen before.

You might also consider reading these pages:

http://www.rossde.com/PGP/pgp_keyserv.html

http://pgp.mit.edu/faq.html

The Q&A on them about deleting keys from keyservers is similarly
relevant to questions about removing specific signatures from the
keyservers.

If you're interested in more discussion about the way that keyservers
work, you should join the SKS development list <sks-devel [at] nongnu>:
http://lists.nongnu.org/mailman/listinfo/sks-devel

SKS has become the dominant free OpenPGP keyserver software, and there
is active development and discussion on that list about how a modern
keyserver can and should function.

--dkg

PS fwiw, if you're concerned about busted signatures on FA2C849B, i only
see one such bad sig (from 9E8E7BFC in january of this year) when i
fetch the relevant keys from the public keyserver network. That's not
too bad.
Attachments: signature.asc (0.87 KB)


jmoore3rd at bellsouth

Jul 24, 2009, 4:36 PM

Post #3 of 3 (523 views)
Permalink
Re: Question About Accumulated Bad Signatures in Public Key [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Erik Lotspeich wrote:
> Hi,
>
> The public key that I use for work has accumulated various "bad
> signatures". To be honest, I don't know how these signatures got there.
> Anyway, I can use GPG to "clean" the public key and remove them.
>
> Public key servers do not seem to scrub or clean public keys. Is it a
> reasonable thing to delete the public key and re-add it? This doesn't
> seem to be something that most public keyservers allow or recommend. Or
> is it normal for bad signatures to accumulate over the years and it is
> to be expected.
>
> Note that in my case the bad signatures are redundant since there are
> good, valid, signatures in addition to the valid bad ones by those
> individuals.
>
> I hope that I've explained this clearly. I've searched on the Internet
> and I haven't seen a definitive answer.

The simple & direct Answer is that anything that gets recorded on
Keyservers _stays_ there forever. :-\

There is *no* was to delete a Key from the Public Keyservers.

JOHN ;)
Timestamp: Friday 24 Jul 2009, 19:36 --400 (Eastern Daylight Time)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10-svn5085: (MingW32)
Comment: Public Key at: http://tinyurl.com/8cpho
Comment: Gossamer Spider Web of Trust: http://www.gswot.org
Comment: Personal Web Page: http://tinyurl.com/yzhbhx

iQEcBAEBCgAGBQJKakWXAAoJEBCGy9eAtCsPWvAH/3Q4pOZ/6URxQw0gi22+zOUw
gwaqDYC/Vu96UoF+DCFV6/ucL4x1YvynnXPwrDBaxNLF5iGXP9Lgbr4CR26uS6t7
VYEhL0w3o+kXPFdqW1k3ZGHNrLiENPr6r9DQ8IlJ1g4l3fCwsABStqjExUS6nxyU
kEbpD7zQUc24dbLVsyygdoacFAyBgPP+8SCkmtpFf7K3+sdLTrBvkI5/O/uQH6dx
RpvfkK5XlbeRzwTfaVDk3MHuBBDlU1MOz3C1ALQmifNtux83BrwlNpGbjwMPj471
cRfO2oT4cyo18NoXgQ3I66EXZdgwAMPonjptZqwrVGsh7xpvUMGQhn7lp+X5xVE=
=HSQ/
-----END PGP SIGNATURE-----

_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users

GnuPG users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.