🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91135

Re: Errors in perl-nocem

#91135
From: Julien ÉLIE
Date: Mon, 27 Nov 2023 20:03
32 lines
2414 bytes
Hi Richard,

>> There's no universal path to where binaries are installed, so it
>> cannot just be hard-coded.  When configuring the package, INN tries to
>> find the appropriate installed binary, if any.  Naturally, if you
>> install GnuPG after INN, it won't have set it up right.
> 
> I think it would be better if there was runtime configuration
> controlling the gpg command to use and any options required
> (e.g. --allow-weak-digest-algos), rather than trying to work it out in
> configure.

That's a good idea.  Do you mean flags to pass to perl-nocem?  For 
instance by setting up the channel feed this way:

nocem!\
     :!*,news.lists.filters\
     :Tc,Wf,Ap:/usr/lib/news/bin/perl-nocem -c "/usr/bin/gpg" -o 
"--verify --allow-weak-digest-algos" -k "/etc/news/pgp/ncmring.gpg" -l 
"/var/log/news/perl-nocem.log" -v

When the flags are not set, the current defaults would be used.

-c would also work with gpgv (naturally, "--verify 
--allow-weak-digest-algos" would then have to be removed from -o).
Using -l would enable logging to the given file, and at debug level if 
-v is also given.

-- 
Julien ÉLIE

« Ma devise : une bonne sieste et au lit. » (Jean-Jacques Peroni)
Technical Details
Message-ID: <uk2sn3$355iq$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-mail
References: <ujnidc$2jqe$27@gallifrey.nk.ca> <ujqk2n$205d$24@gallifrey.nk.ca> <ujqlim$d8m$1@nnrp.usenet.blueworldhosting.com> <ujqll3$gmu$1@nnrp.usenet.blueworldhosting.com> <ujqn26$2hv6$4@gallifrey.nk.ca> <ujs9sk$30ns7$1@news.trigofacile.com> <wwvsf4uut62.fsf@LkoBDZeT.terraraq.uk>

Show Full Headers
Complete Article Headers
Message-ID: <uk2sn3$355iq$1@news.trigofacile.com>
Subject: Re: Errors in perl-nocem
Date: Mon, 27 Nov 2023 21:03:47 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <ujnidc$2jqe$27@gallifrey.nk.ca> <ujqk2n$205d$24@gallifrey.nk.ca> <ujqlim$d8m$1@nnrp.usenet.blueworldhosting.com> <ujqll3$gmu$1@nnrp.usenet.blueworldhosting.com> <ujqn26$2hv6$4@gallifrey.nk.ca> <ujs9sk$30ns7$1@news.trigofacile.com> <wwvsf4uut62.fsf@LkoBDZeT.terraraq.uk>
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.admin.net-abuse.usenet,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: Mon, 27 Nov 2023 20:03:47 -0000 (UTC)
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8gJTL4T3Nlwamo1hlqATOxlSPUA= sha256:t1uZmQeqODnK/bgzkiceFouH4tqUfv9F694e1fsu4k4=
In-Reply-To: <wwvsf4uut62.fsf@LkoBDZeT.terraraq.uk>