🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87774

Re: pgpverify and GnuPG 2.1

#87774
From: Thomas Hochstein
Date: Tue, 09 Jan 2018 01:25
51 lines
3107 bytes
Russ Allbery wrote on 2016-01-14:

> Kevin Bowling <kevin.bowling@kev009.com> writes:
>> Does anyone have thoughts on this?  The ability to do control messages
>> is going to wither away as people upgrade their systems.
>
> Basically, you're right, and many of the people issuing control messages
> is going to have to generate a new key because the crypto that most
> hierarchies are using is completely obsolete.

At least it did work - up to and including Debian Jessie (old-stable)
with gpg 1.4.18.

Debian Stretch (stable) has switched to gpg2 (2.4.18) by default; the
gpg1 and gpgv1 packages have gpg 1.4.21 - whose gpgv, so it seems,
doesn't accept old (v3) keys any more.

ggp1, though, still does verify signatures made by an old key:
| thh@thangorodrim:~$ gpg1 --keyring ~/.gnupg/pubring.gpg --verify testfile.asc testfile
| gpg: Signature made Tue 09 Jan 2018 12:12:37 AM CET
| gpg:                using RSA key 0x7536EAB5D3033C99
| gpg: Good signature from "<moderator@dana.de>" [unknown]
| gpg:                 aka "de.admin.news.announce" [unknown]
| gpg: WARNING: This key is not certified with a trusted signature!
| gpg:          There is no indication that the signature belongs to the owner.
| Primary key fingerprint: 5B B0 52 88 BF 55 19 4F  66 7D C2 AE 16 26 28 25

gpgv1 barfs with the same input:
| thh@thangorodrim:~$ gpgv1 --keyring ~/.gnupg/pubring.gpg testfile.asc testfile
| gpgv: Signature made Tue 09 Jan 2018 12:12:37 AM CET using RSA key ID D3033C99
| gpgv: Note: signatures using the MD5 algorithm are rejected
| gpgv: Can't check signature: bad public key

That will break validation of control messages for the de.* hierarchy
key, I fear.

> I've been kind of pondering doing that for the Big Eight key, but haven't
> actually found the time to do anything concrete yet.

I'd be very much interested in your thoughts on that matter, if you
find the time. :)

All the best,
-thh
-- 
 /'\   ---  JOIN NOW!  --- 
 \ /  ASCII ribbon campaign
  X       against HTML     
 / \    in mail and news   

Technical Details
Message-ID: <nsn.1801090225.103@meneldor.ancalagon.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <n62tgi$4co$1@csiph.com> <n76ull$314p$1@csiph.com> <87h9igao6g.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <nsn.1801090225.103@meneldor.ancalagon.de>
Subject: Re: pgpverify and GnuPG 2.1
Date: Tue, 09 Jan 2018 02:25:22 +0100
From: Thomas Hochstein <thh@inter.net>
References: <n62tgi$4co$1@csiph.com> <n76ull$314p$1@csiph.com> <87h9igao6g.fsf@hope.eyrie.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.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: thangorodrim.ancalagon.de; posting-host="meneldor-wifi.ancalagon.de:10.0.1.108";
 logging-data="5207"; mail-complaints-to="abuse@th-h.de"
User-Agent: ForteAgent/8.00.32.1272 Hamster/2.1.0.1539
Cancel-Lock: sha1:4VpRZiMsIa85/0j4JcC+8cDxriE=
X-Clacks-Overhead: GNU Terry Pratchett
X-NNTP-Posting-Date: Tue, 09 Jan 2018 02:25:28 +0100
X-Received-Body-CRC: 2844550630