Article View: news.software.nntp
Article #91143Re: Errors in perl-nocem
From: Julien ÉLIE
Date: Wed, 29 Nov 2023 19:57
Date: Wed, 29 Nov 2023 19:57
57 lines
3703 bytes
3703 bytes
Hi Richard, >>> 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: > > I was thinking of pgpverify but it applies to anything in INN that uses > pgp. pgpverify is only used for control articles (it is called by controlchan); perl-nocem does the verification on its own. Looking again at this thread, I am unsure adding more runtime configuration would solve the problem. I would like to understand more the use cases behind that. Regarding the path to the GnuPG binaries, there's already the possibility to override them without touching shipped files. I remember having added a long time ago the possibility to modify the variables set by INN::Config. If an executable Perl script named innshellvars.pl.local is present in <pathetc>, it will be run. So one could force in <pathetc>/innshellvars.pl.local: $gpgv = '/usr/local/bin/gpgv2'; $gpg = '/usr/local/bin/gpg2'; and GnuPG 2 will be used. The Doctor, could you please try that and confirm NoCeM notices now work for you? Otherwise, something else should be fixed first. I really doubt the problem comes from the version of GnuPG as nono's notices from pasdenom.info are signed with a PGP key compatible with GnuPG 1. And regarding the possibility to control the options given to GnuPG, why an end user should change the defaults which are working? Do you have different options in mind that should be used? (One may break pgpverify if for instance he removes --status-fd=1 or --logger-fd=1 from the passed options.) Packaged versions of INN should already have the right options (tested by their maintainers, in coherence with the GnuPG version(s) in the distribution). Anyway, if a new version of GnuPG changes things, it could be a bug to fix in pgpverify or perl-nocem as for instance the GnuPG output may change and no longer be rightly parsable. This cannot be handled with options so the underlying problem will still be here and not solved... -- Julien ÉLIE « Le mariage et la mort sont tous les deux souhaitables : l'un promet le bonheur, l'autre le garantit. » (Mark Twain)
Technical Details
Message-ID:
<uk8537$39fmk$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:
<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> <uk2sn3$355iq$1@news.trigofacile.com> <wwvjzq1rl97.fsf@LkoBDZeT.terraraq.uk>Show Full Headers
Complete Article Headers
Message-ID: <uk8537$39fmk$1@news.trigofacile.com> Subject: Re: Errors in perl-nocem Date: Wed, 29 Nov 2023 20:57:27 +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> <uk2sn3$355iq$1@news.trigofacile.com> <wwvjzq1rl97.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: Wed, 29 Nov 2023 19:57:27 -0000 (UTC) User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:qsX345+qyxeBygE3OnlavtEgRdg= sha256:wDBgmcj2Hp1Lbihwaz/AbkzjODSmoRRsnzaTpbEj22k= In-Reply-To: <wwvjzq1rl97.fsf@LkoBDZeT.terraraq.uk>