πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79830

Re: Thought about new control message type: pgpkey

#79830
From: D. Stussy
Date: Thu, 04 Dec 2008 20:41
77 lines
3435 bytes
"Julien Γ‰LIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:gh7vdm$btt$1@news.trigofacile.com...
> Hi D. Stussy,
>
> > As we all know, some hierarchies of newsgroups are managed by messages
> > signed with the PGP key system.  However, should the key in use be
changed,
> > all changes have to be manually done.  Is there any merit into creating
an
> > automatic system to distribute new keys?
>
> Any news administrator can regularly download:
>
>     ftp://ftp.isc.org/pub/usenet/CONFIG/control.ctl
>     ftp://ftp.isc.org/pub/pgpcontrol/PGPKEYS

That's a manual step....  The news admin also needs to know that new
data/configuration is available (i.e. they must pull the data).  What I
suggested is a push-type action construct.

> The first one contains an up-to-date control.ctl file; the second one,
PGP keys.
> (Supporting control.ctl.local would be useful for that purpose because
updating
> control.ctl would not remove local customizations.)
>
> Then, from PGPKEYS, the ring can be created or updated.
> See for instance this script from Marco d'Itri:
>
> buildinnkeyring.sh
> ------------------
>
> #!/bin/bash
> . /usr/lib/news/innshellvars
>
> cd $PATHTMP
>
> KEYSURL=ftp://ftp.isc.org/pub/pgpcontrol/PGPKEYS
> KEYSFILE=PGPKEYS
>
> KEYRING=${NEWSETC}/pgp/pubring.gpg
>
> trap "rm -f $KEYSFILE" 0 1 2 15
>
> rm -f ${KEYSFILE}
> ${GETFTP} ${KEYSURL}
>
> test -f ${KEYSFILE} || exit 1
>
> gpg --batch --no-permission-warning \
>  --no-default-keyring --keyring=${KEYRING} --no-options \
>  --allow-non-selfsigned-uid --fast-import ${KEYSFILE}
>
> exit $$
>
>
>
> > The control message would contain as its body the text representation
of
> > the new key.  The message should (must*) be signed by the OLD, expiring
> > key.
>
> Hoping that a key is not lost by its owner.

That would not be a problem introduced by this proposed mechanism.

> > Use of this type of control message is purely optional.  However, it
may be
> > useful in key rollover by avoiding the necessity of manual updates.
>
> Manual updates are not necessary.

OK, then show me the automatic process that currently exists where you
change the PGP key for "example.*" and I do NOTHING to have my server to
recognize the new key...?

Technical Details
Message-ID: <gh9f9r$smp$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!nf02.dk.telia.net!news.glorb.com!news-xfer.nntp.sonic.net!news.snarked.org!not-for-mail
References: <gh4oqc$8c4$1@snarked.org> <gh7vdm$btt$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <gh9f9r$smp$1@snarked.org>
Subject: Re: Thought about new control message type: pgpkey
Date: Thu, 4 Dec 2008 12:41:25 -0800
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <gh4oqc$8c4$1@snarked.org> <gh7vdm$btt$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!nf02.dk.telia.net!news.glorb.com!news-xfer.nntp.sonic.net!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 77
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-211-175.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1228423291 29401 71.106.211.175 (4 Dec 2008 20:41:31 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Thu, 4 Dec 2008 20:41:31 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478