🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by D. Stussy Sun, 02 Jan 2011 23:49
PGP keys for checkgroups - Is the ISC list current?
#83751
Author: D. Stussy
Date: Sun, 02 Jan 2011 23:49
105 lines
6425 bytes
Since I shall be changing server hardware shortly, I decided to check out
the list of keys as stored at ftp://ftp.isc.org/pub/pgpcontrol/PGPKEYS used
for checkgroups messages.  I noted that some may not be current.

Results:
> gpg --homedir /var/lib/news/etc/pgp/ --import /tmp/PGPKEYS.txt
gpg: Total number processed: 102
gpg:           w/o user IDs: 3
gpg:               imported: 98  (RSA: 91)
gpg:              unchanged: 1
gpg: no ultimately trusted keys found

> gpg --homedir /var/lib/news/etc/pgp --refresh-keys
gpg: refreshing 98 keys from hkp://pool.sks-keyservers.net
...
gpg: Total number processed: 92
gpg:           w/o user IDs: 1
gpg:              unchanged: 33
gpg:           new user IDs: 12
gpg:         new signatures: 193
gpg: no ultimately trusted keys found
========================================

If the ISC file were up to date, I should't have 58 keys updating, should
I?

Here's what changed (or wasn't found):
gpg: key AE548CCD: "austrian usenet coordinator
<control@usenet.backbone.at>" 1 new signature
gpg: key CB522BD1: "ausadmin vote taker <vote@aus.news-admin.org>" 2 new
user IDs
gpg: key CB522BD1: "ausadmin vote taker <vote@aus.news-admin.org>" 6 new
signatures
gpg: key BA8601A1: "be.announce.newgroups" 1 new signature
gpg: key 17CC7301: "Biosci-control-key@net.bio.net" 1 new signature
gpg: key 0686940D: "cl.netz.infos" 3 new signatures
gpg: key A22FDBCD: "ClariNet.Group" 1 new signature
gpg: key B88DA9C1: "news.announce.newgroups" 5 new signatures
gpg: key D3033C99: "<moderator@dana.de>" 1 new user ID
gpg: key D3033C99: "<moderator@dana.de>" 8 new signatures
gpg: key BA12ED69: "news@news.dknet.dk" 3 new signatures
gpg: key B2EC61D5: "easynet.news <newsmaster@easynet.net>" 1 new signature
gpg: key 265C90A7: "eug.config" 1 new signature
gpgkeys: key A45E4690E7AF34AD not found on keyserver
gpg: key D88B01E1: "england-usenet" 1 new signature
gpg: key 6D457F19: "es.news" 2 new signatures
gpg: key 4AF83ECD: no valid user IDs
gpg: this may be caused by a missing self-signature
gpg: key F5919CA3: "group-admin@usenet.eu.org" 6 new signatures
gpg: key A67DB95D: "fidobelg@mail.z2.fidonet.org" 1 new signature
gpg: key A09C385D: "fido.ger <fido.ger@news.fu-berlin.de>" 1 new signature
gpg: key 607F5DA9: "fj.news.announce" 1 new signature
gpg: key 0F5D3139: "flora-news" 3 new signatures
gpgkeys: key 7E03E4A87F4EEDD5 not found on keyserver
gpg: key B5EB07BD: "control@usenet-fr.news.eu.org" 6 new signatures
gpg: key 7FFD7855: "gov.usenet.announce" 1 new signature
gpg: key F1420E8E: "Chris Jacobs <chris.jacobs@xs4all.nl>" 3 new user IDs
gpg: key F1420E8E: "Chris Jacobs <chris.jacobs@xs4all.nl>" 43 new
signatures
gpg: key 62EEFEB3: "hamster-control@snafu.de" 2 new signatures
gpg: key C085D1DD: "han.news.admin" 1 new signature
gpg: key E7003229: "news@hivnet.org" 1 new signature
gpg: key 58AC7669: "houston.usenet.config" 1 new signature
gpg: key 5D144299: "hun.admin.news" 4 new signatures
gpg: key 79E511E1: "italia.announce.newgroups" 1 new signature
gpg: key C56B3BB9: "japan.admin.announce@news.efnet.com" 1 new signature
gpg: key 280ED2DD: "usenet@karlsruhe.org" 2 new user IDs
gpg: key 280ED2DD: "usenet@karlsruhe.org" 5 new signatures
gpg: key 9DE6D0E1: "kanto.news.network" 1 new signature
gpg: key 7D960EBD: "linux-admin@bofh.it" 1 new signature
gpg: key 5020AB79: "malta.config" 1 new signature
gpg: key 33995665: "maus-info" 2 new signatures
gpg: key F967E9E9: "muc.admin" 2 new signatures
gpg: key B935B1BD: "control@usenet2.org" 2 new signatures
gpg: key 72A7797D: "netscape.public.admin" 2 new signatures
gpgkeys: key EB7B1660912F2B2D not found on keyserver
gpg: key 23E9B3A9: "nl.newsgroups" 9 new signatures
gpg: key 59B99EFD: "nlo.newsgroups" 2 new signatures
gpg: key 07592649: "no-hir-control" 1 new signature
gpg: key A195C439: "<moderator@nrw.usenetverwaltung.de>" 2 new signatures
gpg: key B8E552C5: "nz-hir-control" 1 new signature
gpg: key E62AF6A9: "E62AF6A9" 2 new user IDs
gpg: key E62AF6A9: "E62AF6A9" 2 new signatures
gpg: key 4033B331: "pgh.config" 1 new signature
gpg: key 838AF8ED: "pl.announce.newgroups" 2 new signatures
gpg: key AC2AE025: "control@usenet-pt.org" 2 new signatures
gpg: key D79761A5: "relcom.newsgroups" 1 new signature
gpg: key 2C017393: "control@saar-admin-news.de" 5 new signatures
gpg: key 98690EE9: "satgroup@endicor.com" 1 new user ID
gpg: key 98690EE9: "satgroup@endicor.com" 3 new signatures
gpg: key 21DBB2A5: "schule.konfig" 3 new signatures
gpg: key BC06B983: "control@news.scoutnet.org" 2 new signatures
gpg: key EDBBA301: "usenet-se" 1 new signature
gpgkeys: key 10F304EF734B0A9C8F1B3620089D210485854234 not found on
keyserver
gpg: key 434E1955: "si.news.announce.newsgroups" 1 new signature
gpg: key 039A3B4D: "staroffice.admin" 1 new signature
gpg: key 21F2F1D9: "uk.net.news.announce" 18 new signatures
gpg: key 44F62A81: "ungroups@news.itu.int" 2 new signatures
gpg: key B73CAF1B: "us-control@lists.killfile.org" 1 new user ID
gpg: key B73CAF1B: "us-control@lists.killfile.org" 3 new signatures
gpg: key 86F7AA61: "wales-usenet" 5 new signatures
gpg: key D59F717D: "z-netz.koordination.user+sysops" 3 new signatures

Re: PGP keys for checkgroups - Is the ISC list current?
#83749
Author: Russ Allbery
Date: Mon, 03 Jan 2011 00:32
24 lines
2237 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:

>> gpg --homedir /var/lib/news/etc/pgp --refresh-keys
> gpg: refreshing 98 keys from hkp://pool.sks-keyservers.net
> ...
> gpg: Total number processed: 92
> gpg:           w/o user IDs: 1
> gpg:              unchanged: 33
> gpg:           new user IDs: 12
> gpg:         new signatures: 193
> gpg: no ultimately trusted keys found
> ========================================

> If the ISC file were up to date, I should't have 58 keys updating,
> should I?

No, that's expected.  The ISC file doesn't contain most key signatures (it
just makes it longer, and as you can see those signatures are easily
acquired elsewhere if you want them) and very intentionally omits
additional user IDs, since adding additional user IDs can break
verification given the algorithm that pgpverify uses.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: PGP keys for checkgroups - Is the ISC list current?
#83780
Author: D. Stussy
Date: Tue, 04 Jan 2011 03:59
33 lines
2694 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:8762u6esj3.fsf@windlord.stanford.edu...
> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> >> gpg --homedir /var/lib/news/etc/pgp --refresh-keys
> > gpg: refreshing 98 keys from hkp://pool.sks-keyservers.net
> > ...
> > gpg: Total number processed: 92
> > gpg:           w/o user IDs: 1
> > gpg:              unchanged: 33
> > gpg:           new user IDs: 12
> > gpg:         new signatures: 193
> > gpg: no ultimately trusted keys found
> > ========================================
>
> > If the ISC file were up to date, I should't have 58 keys updating,
> > should I?
>
> No, that's expected.  The ISC file doesn't contain most key signatures
(it
> just makes it longer, and as you can see those signatures are easily
> acquired elsewhere if you want them) and very intentionally omits
> additional user IDs, since adding additional user IDs can break
> verification given the algorithm that pgpverify uses.

OK, so you're stating that the "update" is not revised keys themselves but
additional data which is optional?

Given that, I have noted that some hierarchies' checkgroups don't seem to
verify with the updated information from the keyserver(s).  Is is the
hierarchy manager's fault (or responsibility) for including [or not] the
additional information with the key to the keyservers?

Re: PGP keys for checkgroups - Is the ISC list current?
#83779
Author: Russ Allbery
Date: Tue, 04 Jan 2011 04:25
32 lines
2697 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:

> OK, so you're stating that the "update" is not revised keys themselves but
> additional data which is optional?

Yup, exactly.

> Given that, I have noted that some hierarchies' checkgroups don't seem
> to verify with the updated information from the keyserver(s).  Is is the
> hierarchy manager's fault (or responsibility) for including [or not] the
> additional information with the key to the keyservers?

This is probably related to the problem I mentioned with additional user
IDs.  Unfortunately, back when pgpverify was originally designed, it was
designed to operate on the user ID of the key.  This was a bad move, since
keys can have multiple user IDs and pgpverify enforces a particular syntax
for them that's now deprecated.  It should have been based on key
fingerprints, which would have been a lot more robust.  But it's hard to
change now.

If you update your keys in such a way that GnuPG returns a different key
ID than the one that's listed in control.ctl, control message verification
will stop working until you strip the other user IDs off the key again.

I'm careful about what user IDs I include in the PGPKEYS file for this
reason.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: PGP keys for checkgroups - Is the ISC list current?
#83791
Author: D. Stussy
Date: Wed, 05 Jan 2011 07:54
40 lines
3097 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87ipy570sn.fsf@windlord.stanford.edu...
> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
>
> > OK, so you're stating that the "update" is not revised keys themselves
but
> > additional data which is optional?
>
> Yup, exactly.
>
> > Given that, I have noted that some hierarchies' checkgroups don't seem
> > to verify with the updated information from the keyserver(s).  Is is
the
> > hierarchy manager's fault (or responsibility) for including [or not]
the
> > additional information with the key to the keyservers?
>
> This is probably related to the problem I mentioned with additional user
> IDs.  Unfortunately, back when pgpverify was originally designed, it was
> designed to operate on the user ID of the key.  This was a bad move,
since
> keys can have multiple user IDs and pgpverify enforces a particular
syntax
> for them that's now deprecated.  It should have been based on key
> fingerprints, which would have been a lot more robust.  But it's hard to
> change now.
>
> If you update your keys in such a way that GnuPG returns a different key
> ID than the one that's listed in control.ctl, control message
verification
> will stop working until you strip the other user IDs off the key again.
>
> I'm careful about what user IDs I include in the PGPKEYS file for this
> reason.

So, if the updated key from a keyserver no longer works when the plain key
at the ISC site does, it's the submitter's fault for including the
additional fields to the keyserver copy of the key, correct?

Re: PGP keys for checkgroups - Is the ISC list current?
#83792
Author: Russ Allbery
Date: Wed, 05 Jan 2011 17:40
19 lines
2257 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:

> So, if the updated key from a keyserver no longer works when the plain
> key at the ISC site does, it's the submitter's fault for including the
> additional fields to the keyserver copy of the key, correct?

Sort of, yes.  They could revoke the UIDs and try to get the revocation
message pushed to all the key servers.  But really pgpverify and INN are
at fault here for using PGP in a strange way that no one else does, and
ideally we should just fix it.

There have been a few proposals for how to fix it.  The backward
compatibility issues are tricky, though.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: PGP keys for checkgroups - Is the ISC list current?
#83796
Author: D. Stussy
Date: Wed, 05 Jan 2011 21:53
20 lines
2355 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87ipy31c6b.fsf@windlord.stanford.edu...
> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > So, if the updated key from a keyserver no longer works when the plain
> > key at the ISC site does, it's the submitter's fault for including the
> > additional fields to the keyserver copy of the key, correct?
>
> Sort of, yes.  They could revoke the UIDs and try to get the revocation
> message pushed to all the key servers.  But really pgpverify and INN are
> at fault here for using PGP in a strange way that no one else does, and
> ideally we should just fix it.
>
> There have been a few proposals for how to fix it.  The backward
> compatibility issues are tricky, though.

I agree that it should be fixed (although how is beyond my current
knowledge of PGP).  However, until then, shouldn't the key signers provide
a valid key for the purpose for which it's used?

Re: PGP keys for checkgroups - Is the ISC list current?
#83798
Author: Russ Allbery
Date: Wed, 05 Jan 2011 21:59
16 lines
2106 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:

> I agree that it should be fixed (although how is beyond my current
> knowledge of PGP).  However, until then, shouldn't the key signers
> provide a valid key for the purpose for which it's used?

Well, I would argue that they largely are, in that if you pull the key
down from their web sites or from the PGPKEYS file, it should work.  The
keyservers are another matter, but pgpverify usage has never really relied
on the keyservers (or the other standard bits of PGP infrastructure).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: PGP keys for checkgroups - Is the ISC list current?
#83807
Author: D. Stussy
Date: Wed, 05 Jan 2011 22:52
21 lines
2540 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87y66zvwo8.fsf@windlord.stanford.edu...
> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > I agree that it should be fixed (although how is beyond my current
> > knowledge of PGP).  However, until then, shouldn't the key signers
> > provide a valid key for the purpose for which it's used?
>
> Well, I would argue that they largely are, in that if you pull the key
> down from their web sites or from the PGPKEYS file, it should work.  The
> keyservers are another matter, but pgpverify usage has never really
relied
> on the keyservers (or the other standard bits of PGP infrastructure).

Well, as there is no in-band (i.e. via an NNTP control message) way of
updating a key, how else are we supposed to detect when a key is updated
(or a new key added) other than relying on manual intervention?  Granted,
they don't change often (and I check only once per month), but they can
change at any time, and some are over 10 years old and probably should be
changed.

Re: PGP keys for checkgroups - Is the ISC list current?
#83808
Author: Russ Allbery
Date: Thu, 06 Jan 2011 00:57
38 lines
3195 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:

>> Well, I would argue that they largely are, in that if you pull the key
>> down from their web sites or from the PGPKEYS file, it should work.
>> The keyservers are another matter, but pgpverify usage has never really
>> relied on the keyservers (or the other standard bits of PGP
>> infrastructure).

> Well, as there is no in-band (i.e. via an NNTP control message) way of
> updating a key, how else are we supposed to detect when a key is updated
> (or a new key added) other than relying on manual intervention?

In general, keys never change.  If they do, it's a fairly big deal, and I
will at least note that explicitly in control-archive release notes (as
recently with ba.*, where everything about the hierarchy maintenance
changed).

> Granted, they don't change often (and I check only once per month), but
> they can change at any time, and some are over 10 years old and probably
> should be changed.

It's very, very difficult to change a key once it's in use, and that will
probably be the case regardless of what mechanism we use.

I personally think the risk is relatively low, even for very old keys.
The chances that someone will do the substantial effort required to
brute-force even a 768-bit RSA key just to mess with Usenet newsgroups
seems slight.

I suppose I really should generate a new Big Eight key one of these days,
though, even if it's only ever used in parallel with the old key.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads