Nov 22 01:00:03 gallifrey nocem[29276]: Article$gpg = '/usr/local/bin/gpg';
<ujkce3$ta8$1@rasp.pasdenom.info>: /usr/local/bin/gpg exited with status 2 >>
I wonder if Julien should adjust this accordingly.
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.
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.
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)
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
Is this available now?
There's no universal path to where binaries are installed, so itI think it would be better if there was runtime configuration
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.
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 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.
Hi The Doctor,
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
Is this available now?
Not yet. It was just a proposal.
I can implement these flags in December if they appear to be useful.
(I'll keep you informed.)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (3 / 13) |
Uptime: | 06:35:06 |
Calls: | 10,388 |
Calls today: | 3 |
Files: | 14,061 |
Messages: | 6,416,816 |
Posted today: | 1 |