🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89367

Re: INN 2.7.0 rc1 - pgpverify issue - CentOS 7

#89367
From: Russ Allbery
Date: Wed, 25 May 2022 19:48
40 lines
2430 bytes
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:

> I'm having some minor issues with pgpverify.  The primary issue is that
> the gpg command executed is failing:

> ./bin/pgpverify -test < control.test
> <SNIP>
> gpg: invalid option "--allow-weak-digest-algos"

> The --allow-weak-digest-algos option is not available in my version of
> GnuPG.  Apparently it was introduced in GnuPG 2.0.23, but CentOS/RHEL 7 
> installs 2.0.22.

The right fix here is probably to make sure you have gpg1 installed (I'm
think any vintage of Linux distro that has gpg v2 also has a gpg1
package), and then set GPG=/usr/bin/gpg1 (I think that will do it,
although not completely sure).  You can also use an older version of
pgpverify, but using gpg1 is probably simplest.

In general, right now you want to use gpg1 instead of gpg v2 to verify
control messages since some control message issuers haven't updated their
keys and produce signatures that the current versions of gpg v2 can't
verify at all.

> When I remove --allow-weak-digest-algos from pgpverify it executes, but
> I'm wondering whether this portion of the output is expected:

> [GNUPG:] TRUST_UNDEFINED
> gpg: WARNING: This key is not certified with a trusted signature!
> gpg:          There is no indication that the signature belongs to the
> owner.

This is fine, INN doesn't use the trust database.  Instead, all keys in
the keyring are considered trusted.

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

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87zgj5xukm.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!not-for-mail
References: <t6jf6o$1i26$1@bwh01.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <87zgj5xukm.fsf@hope.eyrie.org>
Subject: Re: INN 2.7.0 rc1 - pgpverify issue - CentOS 7
Date: Wed, 25 May 2022 12:48:09 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <t6jf6o$1i26$1@bwh01.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="10998"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:NP9BxAf8R5xqfWJbMiqs56p8W+M=