🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
19 messages
19 total messages Started by Kevin Bowling Thu, 31 Dec 2015 09:45
pgpverify and GnuPG 2.1
#87297
Author: Kevin Bowling
Date: Thu, 31 Dec 2015 09:45
43 lines
2809 bytes
Hi,

I'm curious how other admins are setting things up with newer releases
of GnuPG (I'm using 2.1.8) or if this has been experienced yet.  It
ignores at least PGP2 keys and MD5 keys.  It seems like some of the
NoCeM keys as well as most of the keys from
http://archives.eyrie.org/software/pgpcontrol/PGPKEYS are no longer
importable.

kev-ws-aurora% gpg --import --homedir=. PGPKEYS
gpg: WARNING: unsafe permissions on homedir '.'
gpg: Warning: using insecure memory!
gpg: keybox './pubring.kbx' created
gpg: ./trustdb.gpg: trustdb created
gpg: key 2322A7F8: public key "usenet@aioe.org (Aioe.org Steering Group)
<usenet@aioe.org>" imported
gpg: key 7DC1A266: public key "bofh-control@lists.killfile.org" imported
gpg: key 91EDC5F2: public key "news@dictatorshandbook.net" imported
gpg: key C86CC6E1: public key "News Subsystem <news@ns.grisbi.org>" imported
gpg: key F1420E8E: public key "news@zhaum.xs4all.nl" imported
gpg: key ED63AD9A: public key "newsmaster@carnet.hr" imported
gpg: key 624FADC4: public key "control@usenet.ie" imported
gpg: key DC7DB7A7: public key "mensa.config" imported
gpg: key E60E2FAA: public key "control-microsoft@trigofacile.com" imported
gpg: key 9574C26C: public key "pbinfo-news-admin
<news@uni-paderborn.de>" imported
gpg: key 8B2ACFBB: public key "newsadmin@perl.org" imported
gpg: key 161BD1B7: public key "news@postgresql.org" imported
gpg: key 6933A636: public key "sfnet@cs.tut.fi" imported
gpg: key 85854234: public key "Hirtenrat (Maintainer szaf.*)
<hirtenrat@szaf.org>" imported
gpg: key B73CAF1B: public key "us-control@lists.killfile.org" imported
gpg: Total number processed: 104
gpg:     skipped PGP-2 keys: 89
gpg:               imported: 15

I tried adding --allow-weak-digest-algos --allow-non-selfsigned-uid but
the result is the same.

Regards,
Kevin

Re: pgpverify and GnuPG 2.1
#87319
Author: Kevin Bowling
Date: Thu, 14 Jan 2016 01:46
48 lines
3106 bytes
On 12/31/15 02:45 AM, Kevin Bowling wrote:
> Hi,
> 
> I'm curious how other admins are setting things up with newer releases
> of GnuPG (I'm using 2.1.8) or if this has been experienced yet.  It
> ignores at least PGP2 keys and MD5 keys.  It seems like some of the
> NoCeM keys as well as most of the keys from
> http://archives.eyrie.org/software/pgpcontrol/PGPKEYS are no longer
> importable.
> 
> kev-ws-aurora% gpg --import --homedir=. PGPKEYS
> gpg: WARNING: unsafe permissions on homedir '.'
> gpg: Warning: using insecure memory!
> gpg: keybox './pubring.kbx' created
> gpg: ./trustdb.gpg: trustdb created
> gpg: key 2322A7F8: public key "usenet@aioe.org (Aioe.org Steering Group)
> <usenet@aioe.org>" imported
> gpg: key 7DC1A266: public key "bofh-control@lists.killfile.org" imported
> gpg: key 91EDC5F2: public key "news@dictatorshandbook.net" imported
> gpg: key C86CC6E1: public key "News Subsystem <news@ns.grisbi.org>" imported
> gpg: key F1420E8E: public key "news@zhaum.xs4all.nl" imported
> gpg: key ED63AD9A: public key "newsmaster@carnet.hr" imported
> gpg: key 624FADC4: public key "control@usenet.ie" imported
> gpg: key DC7DB7A7: public key "mensa.config" imported
> gpg: key E60E2FAA: public key "control-microsoft@trigofacile.com" imported
> gpg: key 9574C26C: public key "pbinfo-news-admin
> <news@uni-paderborn.de>" imported
> gpg: key 8B2ACFBB: public key "newsadmin@perl.org" imported
> gpg: key 161BD1B7: public key "news@postgresql.org" imported
> gpg: key 6933A636: public key "sfnet@cs.tut.fi" imported
> gpg: key 85854234: public key "Hirtenrat (Maintainer szaf.*)
> <hirtenrat@szaf.org>" imported
> gpg: key B73CAF1B: public key "us-control@lists.killfile.org" imported
> gpg: Total number processed: 104
> gpg:     skipped PGP-2 keys: 89
> gpg:               imported: 15
> 
> I tried adding --allow-weak-digest-algos --allow-non-selfsigned-uid but
> the result is the same.
> 
> Regards,
> Kevin
> 

Does anyone have thoughts on this?  The ability to do control messages
is going to wither away as people upgrade their systems.

Re: pgpverify and GnuPG 2.1
#87318
Author: Russ Allbery
Date: Thu, 14 Jan 2016 02:29
19 lines
1637 bytes
Kevin Bowling <kevin.bowling@kev009.com> writes:

> Does anyone have thoughts on this?  The ability to do control messages
> is going to wither away as people upgrade their systems.

Basically, you're right, and many of the people issuing control messages
is going to have to generate a new key because the crypto that most
hierarchies are using is completely obsolete.

I've been kind of pondering doing that for the Big Eight key, but haven't
actually found the time to do anything concrete yet.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Re: pgpverify and GnuPG 2.1
#87320
Author: Avon Kerr
Date: Thu, 14 Jan 2016 05:11
27 lines
1986 bytes
On Wed, 13 Jan 2016 18:46:29 -0700, Kevin Bowling wrote:

> On 12/31/15 02:45 AM, Kevin Bowling wrote:
>> Hi,
>> 
>> I'm curious how other admins are setting things up with newer releases
>> of GnuPG (I'm using 2.1.8) or if this has been experienced yet.  It
>> ignores at least PGP2 keys and MD5 keys.  It seems like some of the
>> NoCeM keys as well as most of the keys from
>> http://archives.eyrie.org/software/pgpcontrol/PGPKEYS are no longer
>> importable.
>> 
> Does anyone have thoughts on this?  The ability to do control messages
> is going to wither away as people upgrade their systems.

This is an area I need to learn, understand more and implement current 
best practice. It's been a few months since I followed the INN set up 
instructions for control messages but I recall a number of keys failed 
when I ran the import process also. I'll have to make some time to go back 
and look at what happened.

Best, Paul.

-- 
Agency News | news.bbs.geek.nz

Re: pgpverify and GnuPG 2.1
#87322
Author: Kevin Bowling
Date: Thu, 14 Jan 2016 07:24
37 lines
2466 bytes
On 01/13/16 10:11 PM, Avon Kerr wrote:
> On Wed, 13 Jan 2016 18:46:29 -0700, Kevin Bowling wrote:
> 
>> On 12/31/15 02:45 AM, Kevin Bowling wrote:
>>> Hi,
>>>
>>> I'm curious how other admins are setting things up with newer releases
>>> of GnuPG (I'm using 2.1.8) or if this has been experienced yet.  It
>>> ignores at least PGP2 keys and MD5 keys.  It seems like some of the
>>> NoCeM keys as well as most of the keys from
>>> http://archives.eyrie.org/software/pgpcontrol/PGPKEYS are no longer
>>> importable.
>>>
>> Does anyone have thoughts on this?  The ability to do control messages
>> is going to wither away as people upgrade their systems.
> 
> This is an area I need to learn, understand more and implement current 
> best practice. It's been a few months since I followed the INN set up 
> instructions for control messages but I recall a number of keys failed 
> when I ran the import process also. I'll have to make some time to go back 
> and look at what happened.
> 
> Best, Paul.
> 

In general I think control messages are kind of a pain, I keep my groups
in sync with actsync instead:

Run /usr/local/news/bin/actsyncd /usr/local/news/etc/actsync.cfg in a
cron once per day.  Relevant config:
https://github.com/kev009/salt-innd/blob/master/files/etc/actsync.cfg
https://github.com/kev009/salt-innd/blob/master/files/etc/actsync.ign

Regards,
Kevin

Re: pgpverify and GnuPG 2.1
#87323
Author: Russ Allbery
Date: Thu, 14 Jan 2016 17:02
21 lines
1828 bytes
Kevin Bowling <kevin.bowling@kev009.com> writes:

> In general I think control messages are kind of a pain, I keep my groups
> in sync with actsync instead:

> Run /usr/local/news/bin/actsyncd /usr/local/news/etc/actsync.cfg in a
> cron once per day.  Relevant config:
> https://github.com/kev009/salt-innd/blob/master/files/etc/actsync.cfg
> https://github.com/kev009/salt-innd/blob/master/files/etc/actsync.ign

Of course, while that helps with individual servers, the data that you're
pulling with actsync is still managed with control messages.  So that
moves the problem around, but we're still going to have a problem.  :(

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Re: pgpverify and GnuPG 2.1
#87324
Author: Julien ÉLIE
Date: Thu, 14 Jan 2016 19:43
45 lines
3021 bytes
Hi Kevin,

> gpg:     skipped PGP-2 keys: 89
>
> I tried adding --allow-weak-digest-algos --allow-non-selfsigned-uid but
> the result is the same.

I once used --pgp2 but according to the documentation of GnuPG...

"--pgp2 Set up all options to be as PGP 2.x compliant as possible [...]
This option is deprecated, and will be removed in GnuPG 2.1. The reason 
for dropping PGP-2 support is that the PGP 2 format is not anymore 
considered safe (for example due to the use of the broken MD5 
algorithm).  Note that the decryption of PGP-2 created messages will 
continue to work."


https://www.gnupg.org/faq/whats-new-in-2.1.html#nopgp2

"Some algorithms and parts of the protocols as used by the 20 years old 
PGP-2 software are meanwhile considered unsafe. In particular the baked 
in use of the MD5 hash algorithm limits the security of PGP-2 keys to 
non-acceptable rate. Technically those PGP-2 keys are called version 3 
keys (v3) and are easily identified by a shorter fingerprint which is 
commonly presented as 16 separate double hex digits.

With GnuPG 2.1 all support for those keys has gone. If they are in an 
existing keyring they will eventually be removed. If GnuPG encounters 
such a key on import it will not be imported due to the not anymore 
implemented v3 key format. Removing the v3 key support also reduces 
complexity of the code and is thus better than to keep on handling them 
with a specific error message.

There is one use case where PGP-2 keys may still be required: For 
existing encrypted data. We suggest to keep a version of GnuPG 1.4 
around which still has support for these keys (it might be required to 
use the --allow-weak-digest-algos option). A better solution is to 
re-encrypt the data using a modern key."

-- 
Julien ÉLIE

« Veni, uidi, et je n'en crois pas mes yeux ! » (César)

Re: pgpverify and GnuPG 2.1
#87774
Author: Thomas Hochstein
Date: Tue, 09 Jan 2018 01:25
51 lines
3107 bytes
Russ Allbery wrote on 2016-01-14:

> Kevin Bowling <kevin.bowling@kev009.com> writes:
>> Does anyone have thoughts on this?  The ability to do control messages
>> is going to wither away as people upgrade their systems.
>
> Basically, you're right, and many of the people issuing control messages
> is going to have to generate a new key because the crypto that most
> hierarchies are using is completely obsolete.

At least it did work - up to and including Debian Jessie (old-stable)
with gpg 1.4.18.

Debian Stretch (stable) has switched to gpg2 (2.4.18) by default; the
gpg1 and gpgv1 packages have gpg 1.4.21 - whose gpgv, so it seems,
doesn't accept old (v3) keys any more.

ggp1, though, still does verify signatures made by an old key:
| thh@thangorodrim:~$ gpg1 --keyring ~/.gnupg/pubring.gpg --verify testfile.asc testfile
| gpg: Signature made Tue 09 Jan 2018 12:12:37 AM CET
| gpg:                using RSA key 0x7536EAB5D3033C99
| gpg: Good signature from "<moderator@dana.de>" [unknown]
| gpg:                 aka "de.admin.news.announce" [unknown]
| gpg: WARNING: This key is not certified with a trusted signature!
| gpg:          There is no indication that the signature belongs to the owner.
| Primary key fingerprint: 5B B0 52 88 BF 55 19 4F  66 7D C2 AE 16 26 28 25

gpgv1 barfs with the same input:
| thh@thangorodrim:~$ gpgv1 --keyring ~/.gnupg/pubring.gpg testfile.asc testfile
| gpgv: Signature made Tue 09 Jan 2018 12:12:37 AM CET using RSA key ID D3033C99
| gpgv: Note: signatures using the MD5 algorithm are rejected
| gpgv: Can't check signature: bad public key

That will break validation of control messages for the de.* hierarchy
key, I fear.

> I've been kind of pondering doing that for the Big Eight key, but haven't
> actually found the time to do anything concrete yet.

I'd be very much interested in your thoughts on that matter, if you
find the time. :)

All the best,
-thh
-- 
 /'\   ---  JOIN NOW!  --- 
 \ /  ASCII ribbon campaign
  X       against HTML     
 / \    in mail and news   

Re: pgpverify and GnuPG 2.1
#87775
Author: Russ Allbery
Date: Tue, 09 Jan 2018 02:41
44 lines
3005 bytes
Thomas Hochstein <thh@inter.net> writes:

> ggp1, though, still does verify signatures made by an old key:
> | thh@thangorodrim:~$ gpg1 --keyring ~/.gnupg/pubring.gpg --verify testfile.asc testfile
> | gpg: Signature made Tue 09 Jan 2018 12:12:37 AM CET
> | gpg:                using RSA key 0x7536EAB5D3033C99
> | gpg: Good signature from "<moderator@dana.de>" [unknown]
> | gpg:                 aka "de.admin.news.announce" [unknown]
> | gpg: WARNING: This key is not certified with a trusted signature!
> | gpg:          There is no indication that the signature belongs to the owner.
> | Primary key fingerprint: 5B B0 52 88 BF 55 19 4F  66 7D C2 AE 16 26 28 25

> gpgv1 barfs with the same input:
> | thh@thangorodrim:~$ gpgv1 --keyring ~/.gnupg/pubring.gpg testfile.asc testfile
> | gpgv: Signature made Tue 09 Jan 2018 12:12:37 AM CET using RSA key ID D3033C99
> | gpgv: Note: signatures using the MD5 algorithm are rejected
> | gpgv: Can't check signature: bad public key

> That will break validation of control messages for the de.* hierarchy
> key, I fear.

Yeah, you need gpg1 --verify --allow-weak-digest-algos.  I haven't fixed
this in pgpverify yet; that needs to be done.  That seems to work so far,
but the right solution is probably to switch to new keys, with all that
entails.

>> I've been kind of pondering doing that for the Big Eight key, but
>> haven't actually found the time to do anything concrete yet.

> I'd be very much interested in your thoughts on that matter, if you
> find the time. :)

It's still on my list.  The project keeps growing the more that I think
about it, since I kind of want to fix various other related problems at
the same time.  We'll see if I can start tackling all the pieces of it,
but I haven't started yet.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Re: pgpverify and GnuPG 2.1
#87777
Author: Thomas Hochstein
Date: Sun, 04 Feb 2018 13:08
20 lines
1774 bytes
Russ Allbery wrote:

> Yeah, you need gpg1 --verify --allow-weak-digest-algos.  I haven't fixed
> this in pgpverify yet; that needs to be done.  

I've done (tried to do :)) that, and it works for me (and some other
people) - the last checkgroups for de.* was verified correctly.

A (git format-pach formatted) patch against pgpverify 1.29 is at
<http://winterlamm.szaf.org/~thh/inn/Add-support-for-gpg-in-addition-to-gpgv.patch>,
and a drop-in replacement for the /usr/lib/news/bin/pgpverify from
Debian Stretch (current stable) is at
<http://winterlamm.szaf.org/~thh/inn/pgpverify>.

(Those are temporary URLs.)

Regards,
-thh

Re: pgpverify and GnuPG 2.1
#87779
Author: Julien ÉLIE
Date: Sun, 04 Feb 2018 19:35
123 lines
5751 bytes
Hi Thomas,

>> Yeah, you need gpg1 --verify --allow-weak-digest-algos.  I haven't fixed
>> this in pgpverify yet; that needs to be done.
> 
> I've done (tried to do :)) that, and it works for me (and some other
> people) - the last checkgroups for de.* was verified correctly.
> 
> A (git format-pach formatted) patch against pgpverify 1.29 is at
> <http://winterlamm.szaf.org/~thh/inn/Add-support-for-gpg-in-addition-to-gpgv.patch>,
> and a drop-in replacement for the /usr/lib/news/bin/pgpverify from
> Debian Stretch (current stable) is at
> <http://winterlamm.szaf.org/~thh/inn/pgpverify>.

Oh, interesting.  We may ship it with forthcoming INN 2.6.2 release.

I bet the following patch against INN would please you, so that to have support for $INN::Config::gpg :)
This way, pgpverify will work again for weak digest algorithms without any manual changes, once INN 2.6.2 is installed.

Maybe the order of checks "gpgv2 gpgv" and "gpg2 gpg" should be changed to "gpgv gpgv2" and "gpg gpg2" so that to take GnuPG 1.x preferably.

Do you know whether perl-nocem should also be updated to use gpg instead of gpgv?  (I am under the impression md5 is not used, but better be sure.)



Index: configure.ac
===================================================================
--- configure.ac	(révision 10237)
+++ configure.ac	(copie de travail)
@@ -315,10 +315,12 @@
 dnl GnuPG (which we prefer).
 DO_PGPVERIFY=true
 AC_ARG_VAR([GPGV], [Location of GnuPG gpgv program])
+AC_ARG_VAR([GPG], [Location of GnuPG gpg program])
 AC_ARG_VAR([PGP], [Location of PGP verification program])
 AC_PATH_PROGS([GPGV], [gpgv2 gpgv])
+AC_PATH_PROGS([GPG], [gpg2 gpg])
 AC_PATH_PROGS([PGP], [pgpv pgp pgpgpg])
-if test -z "$PGP" && test -z "$GPGV" ; then
+if test -z "$PGP" && test -z "$GPGV" && test -z "$GPG" ; then
     DO_PGPVERIFY=false
 fi
 AC_SUBST([DO_PGPVERIFY])
Index: doc/pod/inn.conf.pod
===================================================================
--- doc/pod/inn.conf.pod	(révision 10237)
+++ doc/pod/inn.conf.pod	(copie de travail)
@@ -289,9 +289,9 @@
 
 Whether to enable PGP verification of control messages other than cancel.
 This is a boolean value and the default in the F<inn.conf> sample file
-is based on whether configure found pgp, pgpv, pgpgpg, gpgv or gpgv2.
-Note that if the parameter is not present in the configuration file,
-it defaults to false.
+is based on whether configure found pgp, pgpv, pgpgpg, gpgv, gpgv2, gpg
+or gpg2.  Note that if the parameter is not present in the configuration
+file, it defaults to false.
 
 =item I<port>
 
Index: perl/INN/Config.pm.in
===================================================================
--- perl/INN/Config.pm.in	(révision 10237)
+++ perl/INN/Config.pm.in	(copie de travail)
@@ -115,11 +115,12 @@
 
 
 ##  Paths of external used programs.
-my @EXTPROGVAR = qw($awk $egrep $gpgv $perl $pgp $sed
+my @EXTPROGVAR = qw($awk $egrep $gpgv $gpg $perl $pgp $sed
 $sort $getftp $uustat $uux);
 our $awk = '@AWK@';
 our $egrep = '@EGREP@';
 our $gpgv = '@GPGV@';
+our $gpg = '@GPG@';
 our $perl = '@PERL@';
 our $pgp = '@PGP@';
 our $sed = '@SED@';
Index: scripts/innshellvars.in
===================================================================
--- scripts/innshellvars.in	(révision 10237)
+++ scripts/innshellvars.in	(copie de travail)
@@ -79,6 +79,7 @@
 EGREP='@EGREP@'
 PERL='@PERL@'
 GPGV='@GPGV@'
+GPG='@GPG@'
 PGP='@PGP@'
 SORT='@SORT@'
 GETFTP="@PATH_GETFTP@"
Index: scripts/innshellvars.pl.in
===================================================================
--- scripts/innshellvars.pl.in	(révision 10237)
+++ scripts/innshellvars.pl.in	(copie de travail)
@@ -91,6 +91,7 @@
 $egrep = '@EGREP@' ;
 $perl = '@PERL@' ;
 $gpgv = '@GPGV@' ;
+$gpg = '@GPG@' ;
 $pgp = '@PGP@' ;
 $sort = '@SORT@' ;
 $getftp = "@PATH_GETFTP@" ;
Index: scripts/innshellvars.tcl.in
===================================================================
--- scripts/innshellvars.tcl.in	(révision 10237)
+++ scripts/innshellvars.tcl.in	(copie de travail)
@@ -86,6 +86,7 @@
 set inn_egrep "@EGREP@"
 set inn_perl "@PERL@"
 set inn_gpgv "@GPGV@"
+set inn_gpg "@GPG@"
 set inn_pgp "@PGP@"
 set inn_sort "@SORT@"
 set inn_getftp "@PATH_GETFTP@"



-- 
Julien ÉLIE

« Ce qui est fait n'est plus à faire. »

Re: pgpverify and GnuPG 2.1
#87781
Author: Thomas Hochstein
Date: Sun, 04 Feb 2018 20:26
42 lines
2886 bytes
Julien ÉLIE wrote:

>> A (git format-pach formatted) patch against pgpverify 1.29 is at
>> <http://winterlamm.szaf.org/~thh/inn/Add-support-for-gpg-in-addition-to-gpgv.patch>,
>> and a drop-in replacement for the /usr/lib/news/bin/pgpverify from
>> Debian Stretch (current stable) is at
>> <http://winterlamm.szaf.org/~thh/inn/pgpverify>.
>
> Oh, interesting.  We may ship it with forthcoming INN 2.6.2 release.

That would be fine. :)

> I bet the following patch against INN would please you, so that to have support for $INN::Config::gpg :)
> This way, pgpverify will work again for weak digest algorithms without any manual changes, once INN 2.6.2 is installed.

Very nice!

> Maybe the order of checks "gpgv2 gpgv" and "gpg2 gpg" should be changed to "gpgv gpgv2" and "gpg gpg2" so that to take GnuPG 1.x preferably.

At least the Debian folk will have to change that anyway, I think, as
"gpg" is gpg2 and gpg1 has to be called explicitly.

> Do you know whether perl-nocem should also be updated to use gpg instead of gpgv?  (I am under the impression md5 is not used, but better be sure.)

I really don't know - the only nocem messages I see are from
bleachbot, and that key is generated by gpg v.1.4.6

Most links to keys on the "NoCeM registry" at
<https://rosalind.home.xs4all.nl/nocemreg/nocemreg.html> seem to be
dead, some other have keys generated by pgp 2.6.3ia, but I don't think
those keys are still used. (It may not hurt to update the script, but
I don't think it's currently necessary.)

Regards,
-thh
-- 
 /'\   ---  JOIN NOW!  --- 
 \ /  ASCII ribbon campaign
  X       against HTML     
 / \    in mail and news   

Re: pgpverify and GnuPG 2.1
#87782
Author: Emil Schuster
Date: Tue, 06 Feb 2018 08:18
21 lines
2143 bytes
Thomas Hochstein wrote:
> Julien ÉLIE wrote:
> 
> > Do you know whether perl-nocem should also be updated to use gpg instead of gpgv?  (I am under the impression md5 is not used, but better be sure.)
> 
> I really don't know - the only nocem messages I see are from
> bleachbot, and that key is generated by gpg v.1.4.6
> 
> Most links to keys on the "NoCeM registry" at
> <https://rosalind.home.xs4all.nl/nocemreg/nocemreg.html> seem to be
> dead, some other have keys generated by pgp 2.6.3ia, but I don't think
> those keys are still used. (It may not hurt to update the script, but
> I don't think it's currently necessary.)
> 
I see a few nocem messages from Adri Verhoef (nl-cancel at a3.xs4all)

gpgv: Signature made Sat 27 Jan 2018 05:20:01 AM CET using RSA key ID 2D15FE29
gpgv: Note: signatures using the MD5 algorithm are rejected
gpgv: Can't check signature: bad public key

Re: pgpverify and GnuPG 2.1
#87786
Author: Thomas Hochstein
Date: Fri, 09 Feb 2018 10:04
11 lines
1632 bytes
Emil Schuster schrieb:

> I see a few nocem messages from Adri Verhoef (nl-cancel at a3.xs4all)
>
> gpgv: Signature made Sat 27 Jan 2018 05:20:01 AM CET using RSA key ID 2D15FE29
> gpgv: Note: signatures using the MD5 algorithm are rejected
> gpgv: Can't check signature: bad public key

Ah, then we should update perl-nocem, too.

Re: pgpverify and GnuPG 2.1
#87788
Author: Julien ÉLIE
Date: Sun, 11 Feb 2018 14:51
40 lines
2755 bytes
Hi Thomas,

>>> A (git format-pach formatted) patch against pgpverify 1.29 is at
>>> <http://winterlamm.szaf.org/~thh/inn/Add-support-for-gpg-in-addition-to-gpgv.patch>,
>>> and a drop-in replacement for the /usr/lib/news/bin/pgpverify from
>>> Debian Stretch (current stable) is at
>>> <http://winterlamm.szaf.org/~thh/inn/pgpverify>.
>>
>> Oh, interesting.  We may ship it with forthcoming INN 2.6.2 release.
> 
> That would be fine. :)

Now committed to trunk.  Will soon be for the INN 2.6.2 release.
   https://inn.eyrie.org/trac/changeset/10242/

Thanks again for your patch.



>> Maybe the order of checks "gpgv2 gpgv" and "gpg2 gpg" should be
>> changed to "gpgv gpgv2" and "gpg gpg2" so that to take GnuPG 1.x
>> preferably.
> 
> At least the Debian folk will have to change that anyway, I think,
> as "gpg" is gpg2 and gpg1 has to be called explicitly.

I've changed the order of checks in configure.ac:
- AC_PATH_PROGS([GPGV], [gpgv2 gpgv])
+ AC_PATH_PROGS([GPGV], [gpgv1 gpgv gpgv2])

Hopefully it will detect the right program for GPG and also GPGV
.... though I see in debian/rules that INN is configured with the 
following option passed:  ac_cv_path_GPGV=/usr/bin/gpgv

-- 
Julien ÉLIE

« Ce qui est fait n'est plus à faire. »

Re: pgpverify and GnuPG 2.1
#87789
Author: Julien ÉLIE
Date: Sun, 11 Feb 2018 14:53
27 lines
2448 bytes
Hi Thomas and Emil,

>> I see a few nocem messages from Adri Verhoef (nl-cancel at a3.xs4all)
>>
>> gpgv: Signature made Sat 27 Jan 2018 05:20:01 AM CET using RSA key ID 2D15FE29
>> gpgv: Note: signatures using the MD5 algorithm are rejected
>> gpgv: Can't check signature: bad public key
> 
> Ah, then we should update perl-nocem, too.

Also done.

If one could test it against theses messages from Adri Verhoef, that 
would be great.  New perl-nocem version is here:
   https://inn.eyrie.org/trac/export/10242/trunk/control/perl-nocem.in
(just adapt the second line to what your system has)

-- 
Julien ÉLIE

« – Rendre compte ? Mais nous n'y sommes pas allés et nous n'avons
     rien vu ! Et puis Jules César a dit…
   – Je ne sais pas ce que Jules César a dit, mais ne pas y aller et
     ne pas voir, c'est le meilleur moyen de ne pas être vaincus ! »
     (Olibrius)

Re: pgpverify and GnuPG 2.1
#87790
Author: Emil Schuster
Date: Sun, 11 Feb 2018 17:33
20 lines
1956 bytes
Julien ÉLIE wrote:
> > 
> > Ah, then we should update perl-nocem, too.
> 
> Also done.
> 
> If one could test it against theses messages from Adri Verhoef, that 
> would be great.  New perl-nocem version is here:
>   https://inn.eyrie.org/trac/export/10242/trunk/control/perl-nocem.in
> (just adapt the second line to what your system has)
> 

Feb 11 18:09:15 wieslauf nocem: processed notice a3-ncm-spam-509235-509235 by Adri Verhoef <nl-cancel@a3.xs4all.nl> (1 ids, 0.01000 s, 100.0/s)

It works fine for me, thanks!

-- 
Emil

Re: pgpverify and GnuPG 2.1
#87791
Author: Julien ÉLIE
Date: Sun, 11 Feb 2018 21:35
19 lines
2075 bytes
Hi Emil,

>> If one could test it against theses messages from Adri Verhoef, that
>> would be great.
> 
> Feb 11 18:09:15 wieslauf nocem: processed notice a3-ncm-spam-509235-509235 by Adri Verhoef <nl-cancel@a3.xs4all.nl> (1 ids, 0.01000 s, 100.0/s)
> 
> It works fine for me, thanks!

Wonderful!
Thanks,

-- 
Julien ÉLIE

« – Maintenant les Romains sont alertés.
   – En tout cas, ceux-là ne sont plus très alertes ! » (Astérix)

Re: pgpverify and GnuPG 2.1
#87792
Author: Thomas Hochstein
Date: Tue, 13 Feb 2018 21:08
30 lines
2179 bytes
Julien ÉLIE wrote:

> Now committed to trunk.  Will soon be for the INN 2.6.2 release.
>    https://inn.eyrie.org/trac/changeset/10242/
>
> Thanks again for your patch.

Thanks for committing!

> I've changed the order of checks in configure.ac:
> - AC_PATH_PROGS([GPGV], [gpgv2 gpgv])
> + AC_PATH_PROGS([GPGV], [gpgv1 gpgv gpgv2])

Looks good to me.

> Hopefully it will detect the right program for GPG and also GPGV
> ... though I see in debian/rules that INN is configured with the 
> following option passed:  ac_cv_path_GPGV=/usr/bin/gpgv

That didn't matter up to Debian Jessie, as gpgv was gpgv1 (and that
version was still working). Starting with Debian Stretch, gpgv will be
gpgv2, *and* gpgv1 won't work with old keys anyway, so one has to fall
back to gpg1.

I'll try to remember to submit a wishlist bug when 2.6.2 has been
uploaded to Debian.

-thh

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads