🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87775

Re: pgpverify and GnuPG 2.1

#87775
From: Russ Allbery
Date: Tue, 09 Jan 2018 02:41
44 lines
3005 bytes
Thomas Hochstein <thh@inter.net> writes:

> 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.

Yeah, you need gpg1 --verify --allow-weak-digest-algos.  I haven't fixed
this in pgpverify yet; that needs to be done.  That seems to work so far,
but the right solution is probably to switch to new keys, with all that
entails.

>> 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. :)

It's still on my list.  The project keeps growing the more that I think
about it, since I kind of want to fix various other related problems at
the same time.  We'll see if I can start tackling all the pieces of it,
but I haven't started yet.

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

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

Technical Details
Message-ID: <87608bg3eq.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
References: <n62tgi$4co$1@csiph.com> <n76ull$314p$1@csiph.com> <87h9igao6g.fsf@hope.eyrie.org> <nsn.1801090225.103@meneldor.ancalagon.de>

Show Full Headers
Complete Article Headers
Message-ID: <87608bg3eq.fsf@hope.eyrie.org>
Subject: Re: pgpverify and GnuPG 2.1
Date: Mon, 08 Jan 2018 18:41:01 -0800
From: Russ Allbery <eagle@eyrie.org>
References: <n62tgi$4co$1@csiph.com> <n76ull$314p$1@csiph.com> <87h9igao6g.fsf@hope.eyrie.org> <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
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 42
NNTP-Posting-Host: hope.eyrie.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: usenet.stanford.edu 1515465661 32006 166.84.7.155 (9 Jan 2018 02:41:01 GMT)
X-Complaints-To: action@cs.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Cancel-Lock: sha1:cumIbeNikM/yUyobouEw212oFXs=
X-Received-Bytes: 2916
X-Received-Body-CRC: 4031013836