Article View: news.software.nntp
Article #79814Re: Thought about new control message type: pgpkey
From: Julien ÉLIE
Date: Thu, 04 Dec 2008 07:04
Date: Thu, 04 Dec 2008 07:04
66 lines
3058 bytes
3058 bytes
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
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.
> 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.
--
Julien ÉLIE
« -- Il t'arrive une tuile ?
-- Oui, je ne peux pas payer mon ardoise. »
Technical Details
Message-ID:
<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!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mailReferences:
<gh4oqc$8c4$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <gh7vdm$btt$1@news.trigofacile.com> Subject: Re: Thought about new control message type: pgpkey Date: Thu, 4 Dec 2008 08:04:15 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <gh4oqc$8c4$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!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 66 NNTP-Posting-Host: aaubervilliers-151-1-26-147.w83-112.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1228374262 12221 83.112.17.147 (4 Dec 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Thu, 4 Dec 2008 07:04:22 +0000 (UTC) In-Reply-To: <gh4oqc$8c4$1@snarked.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049