Article View: news.software.nntp
Article #89375Re: INN 2.7.0 rc1 - pgpverify issue - CentOS 7
From: Julien ÉLIE
Date: Thu, 26 May 2022 09:35
Date: Thu, 26 May 2022 09:35
28 lines
2402 bytes
2402 bytes
Hi Russ,
>> Correct, if I don't remove that flag from pgpverify no matter what I try I
>> end with:
>
>> gpg: invalid option "--allow-weak-digest-algos"
>
> The thing to try would be to set $gpg to '' in INN::Config and make sure
> $gpgv points to the gpgv binary on your system. I bet that will work, but
> making it work automatically is harder. We'd have to somehow probe for
> whether gpg supported the option.
gpg seems to check its arguments in order, and it exits with status 2 if
an argument is not supported.
Why not just run:
gpg --allow-weak-digest-algos --version
If the option is supported, gpg displays several lines and exits
gracefully. Otherwise, it raises an error:
gpg: Invalid option "--allow-weak-digest-algos"
zsh: exit 2 gpg --allow-weak-digest-algos --version
--
Julien ÉLIE
« It's documented in The Book, somewhere… » (Larry Wall)
Technical Details
Message-ID:
<t6nhlc$1fm8c$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<t6jf6o$1i26$1@bwh01.blueworldhosting.com> <87zgj5xukm.fsf@hope.eyrie.org> <t6mj2a$coi$1@bwh01.blueworldhosting.com> <87ee0hxg87.fsf@hope.eyrie.org> <87a6b5xfv7.fsf@hope.eyrie.org> <t6mkfu$fsu$1@bwh01.blueworldhosting.com> <875yltxexv.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <t6nhlc$1fm8c$1@news.trigofacile.com> Subject: Re: INN 2.7.0 rc1 - pgpverify issue - CentOS 7 Date: Thu, 26 May 2022 11:35:40 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <t6jf6o$1i26$1@bwh01.blueworldhosting.com> <87zgj5xukm.fsf@hope.eyrie.org> <t6mj2a$coi$1@bwh01.blueworldhosting.com> <87ee0hxg87.fsf@hope.eyrie.org> <87a6b5xfv7.fsf@hope.eyrie.org> <t6mkfu$fsu$1@bwh01.blueworldhosting.com> <875yltxexv.fsf@hope.eyrie.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 26 May 2022 09:35:40 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="1562892"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Cancel-Lock: sha1:wTzBwwpt5Q3hFtR5t6csrFuofkk= sha256:YBYeKWM/zMuvJw5YVga3OTTtC8nTjqen1jPyJEcY6yU= sha1:JNLr/jHfNrt9ATweCN5vuzWcbH0= sha256:IPQDezaQpcxViRVlB+7PPi/+PPkoN9AaEg7Im+f7Lyg= In-Reply-To: <875yltxexv.fsf@hope.eyrie.org>