🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30331

Re: Problem with pgpverify and fr.* control messages

#30331
From: Andrew Gierth
Date: Fri, 07 Aug 1998 00:00
57 lines
2965 bytes
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes:

 Russ> [ Posted to news.software.nntp and news.admin.hierarchies and
 Russ> mailed to Control <control@usenet-fr.news.eu.org>.]

 Russ> Hey folks,

 Russ> The current way in which fr.* newgroup/rmgroup messages are
 Russ> signed will not work correctly with the version of pgpverify
 Russ> that I have.

The problem is not so much with the way the messages are signed, but
with the distributed public key.

 Russ> My recommendation would be to just start signing the messages
 Russ> with the key ID "fr.usenet.forums.annonces" which is already on
 Russ> the same public key and won't have this problem.

You misunderstand the way that PGP works. Messages are not signed with
a specific user ID, they're signed with a specific *key ID*. The user
ID returned when a signature is verified is taken from the public key
held on the *verifier's* keyring, and is awkwardly order-dependent if
multiple user IDs exist on the key.

Recent fr.* control messages verify successfully if the following steps
are taken. No change to the way that messages are signed is required:

1. delete the "Control <control@usenet-fr.news.eu.org>" user-id from
your copy of the public key:

  $ pgp -kr control@usenet-fr
  Pretty Good Privacy(tm) 2.6.3i - Public-key encryption for the masses.
  (c) 1990-96 Philip Zimmermann, Phil's Pretty Good Software. 1996-01-18
  International version - not for use in the USA. Does not use RSAREF.
  Current time: 1998/08/07 02:34 GMT

  Removing from key ring: '/usr/news/.pgp/pubring.pgp', userid "control@usenet-fr".

  Key for user ID: Control <control@usenet-fr.news.eu.org>
  1024-bit key, key ID B5EB07BD, created 1998/07/10
  Also known as: fr.usenet.forums.annonces

  Key has more than one user ID.
  Do you want to remove the whole key (y/N)? n
  Remove "Control <control@usenet-fr.news.eu.org>" (y/N)? y

  Can't open secret key ring file '/usr/news/.pgp/secring.pgp'

  User ID removed from key ring.

2. In control.ctl, use verify-fr.usenet.forums.annonces in the fr.*
entries.

-- 
Andrew.

Technical Details
Message-ID: <871zqt4ig9.fsf@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.hierarchies.mbox.zip!not-for-mail
References: <m3vho5hft0.fsf@windlord.Stanford.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <871zqt4ig9.fsf@erlenstar.demon.co.uk>
Subject: Re: Problem with pgpverify and fr.* control messages
Date: Fri, 07 Aug 1998 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <m3vho5hft0.fsf@windlord.Stanford.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.hierarchies.mbox.zip!not-for-mail
X-Deja-AN: 378717851
X-Mayan-Date: Long count = 12.19.5.7.8; tzolkin = 4 Lamat; haab = 1 Yaxkin
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp,news.admin.hierarchies