Thread View: news.software.nntp
7 messages
7 total messages
Started by Gérald Niel
Tue, 30 Sep 2014 05:36
INN 2.5.4, pgpverify, GnuPG 2.0.26 : bad MD5
Author: Gérald Niel
Date: Tue, 30 Sep 2014 05:36
Date: Tue, 30 Sep 2014 05:36
86 lines
4273 bytes
4273 bytes
Hi,
sorry for my english… I'm french and I dont speak/write very well in
the Shakespeare's language.
On a fresh FreeBSD 10 install (into a jail) i've succefully installed
INN 2.5.4.
I've succefully imported the pgp keys from the ftp ISC site in the
keyring of news account (using --allow-non-selfsigned-uid, not working
instead).
But when I try to verify if it works fine, I've this issue with
pgpverify :
# sudo -u news /usr/local/news/bin/pgpverify -test < sample.control
-----MESSAGE-----
X-Signed-Headers: Subject,Control,Message-ID,Date,From,Sender
Subject: cmsg newgroup news.announce.newusers moderated
Control: newgroup news.announce.newusers moderated
Message-ID: <868485430.2655@isc.org>
Date: Wed, 09 Jul 1997 21:57:10 GMT
From: group-admin@isc.org (David C Lawrence)
Sender:
news.announce.newusers is a moderated newsgroup which has existed
since the mid-1980s.
Group submission address: netannounce@deshaw.com
Moderator contact address: netannounce@deshaw.com (Mark Moraes)
For your newsgroups file:
news.announce.newusers Explanatory postings for new users. (Moderated)
-----END MESSAGE-----
-----SIGNATURE-----
iQCVAwUBM8QJNsJdOtO4janBAQGkUAP6AlzO065jDQFrG20/b3/SaOm4WGQBly5D
pXlVJdYBqPAG3HvxVqAdKM7y6ixM7Mml4OdfK0JeVCH03nqeGuBc51sTDIZ6kyAx
+YHlNSnp/JJnpDuJCfXZjwNl4kWImucGgwI5BxrQco8re949Cg5m5TFXiwYMiR/+
AjKZCTtmV1Y=
=uSbd
-----SIGNATURE-----
gpgv: Signature made Wed Jul 9 23:57:10 1997 CEST using RSA key ID
B88DA9C1
gpgv: Note: signatures using the MD5 algorithm are rejected
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[GNUPG:] ERRSIG C25D3AD3B88DA9C1 1 1 01 868485430 5
gpgv: Can't check signature: Invalid digest algorithm
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
There is a workaround to make pgpverify working with this version of
GnuPG ?
# gpg2 --version
gpg (GnuPG) 2.0.26
libgcrypt 1.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
I've installed the 1.4.18 version of GnuPG, updated innshellvars for
pointing to gpgv binary instead of gpgv2. But I've probably forgoten
something else beacause I've the same message about MD5 algorithm.
Do I recompile GnuPG with MD5 support? Because I just see that it is
not present in the supported algorithms. Sorry for the noise if the
solution is here!
--
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi. -+- Hem Day -+-
Re: INN 2.5.4, pgpverify, GnuPG 2.0.26 : bad MD5
Author: Julien ÉLIE
Date: Tue, 30 Sep 2014 18:17
Date: Tue, 30 Sep 2014 18:17
32 lines
2221 bytes
2221 bytes
Hi Gérald,
> On a fresh FreeBSD 10 install (into a jail) i've succefully installed
> INN 2.5.4.
>
> # sudo -u news /usr/local/news/bin/pgpverify -test < sample.control
[...]
> gpgv: Note: signatures using the MD5 algorithm are rejected
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [GNUPG:] ERRSIG C25D3AD3B88DA9C1 1 1 01 868485430 5
> gpgv: Can't check signature: Invalid digest algorithm
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> There is a workaround to make pgpverify working with this version of
> GnuPG ?
I see in GnuPG changelog:
What's New in 2.0.23
====================
* gpg: Reject signatures made using the MD5 hash algorithm unless the
new option --allow-weak-digest-algos or --pgp2 are given.
Could you try that?
--
Julien ÉLIE
« Internet restera toujours un joujou pour les universitaires. »
(1991)
Re: INN 2.5.4, pgpverify, GnuPG 2.0.26 : bad MD5
Author: Russ Allbery
Date: Tue, 30 Sep 2014 18:46
Date: Tue, 30 Sep 2014 18:46
26 lines
2318 bytes
2318 bytes
Gérald Niel <gerald.niel+spam@gegeweb.invalid> writes:
> gpgv: Signature made Wed Jul 9 23:57:10 1997 CEST using RSA key ID
> B88DA9C1
> gpgv: Note: signatures using the MD5 algorithm are rejected
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [GNUPG:] ERRSIG C25D3AD3B88DA9C1 1 1 01 868485430 5
> gpgv: Can't check signature: Invalid digest algorithm
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> There is a workaround to make pgpverify working with this version of
> GnuPG ?
The actual news.announce.newgroups control messages were, very recently
(as in, in the past couple of months) switched from using an old copy of
PGP v2 to do signing to using GnuPG. (I had kept the old infrastructure
in an abundance of caution.) So I should probably regenerate the test
control message using the current signing procedure. Unfortunately, I've
been trying to find time to do some work on pgpcontrol for a while and
have not been successful, so I'm not sure when I'll get to this.
--
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: INN 2.5.4, pgpverify, GnuPG 2.0.26 : bad MD5
Author: Gérald Niel
Date: Tue, 30 Sep 2014 19:23
Date: Tue, 30 Sep 2014 19:23
23 lines
2014 bytes
2014 bytes
Le Mardi 30 septembre 2014 à 18:17 UTC, Julien ÉLIE écrivait sur news.software.nntp : > * gpg: Reject signatures made using the MD5 hash algorithm unless the > new option --allow-weak-digest-algos or --pgp2 are given. > > > Could you try that? These options aren't available with gpgv2. I've try : sudo -u news gpg2 --pgp2 --allow-non-selfsigned-uid --import PGPKEYS pgpverify fail when I use gpgv2 and works fine with gpgv (GnuPG 1.4.18). @+ -- On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le gouvernement ; c'est la paix sans la violence. C'est le contraire précisément de tout ce qu'on lui reproche, soit par ignorance, soit par mauvaise foi. -+- Hem Day -+-
Re: INN 2.5.4, pgpverify, GnuPG 2.0.26 : bad MD5
Author: Gérald Niel
Date: Sat, 04 Oct 2014 05:03
Date: Sat, 04 Oct 2014 05:03
25 lines
2376 bytes
2376 bytes
Hi, Le Mardi 30 septembre 2014 à 18:46 UTC, Russ Allbery écrivait sur news.software.nntp : > The actual news.announce.newgroups control messages were, very recently > (as in, in the past couple of months) switched from using an old copy of > PGP v2 to do signing to using GnuPG. (I had kept the old infrastructure > in an abundance of caution.) So I should probably regenerate the test > control message using the current signing procedure. Unfortunately, I've > been trying to find time to do some work on pgpcontrol for a while and > have not been successful, so I'm not sure when I'll get to this. Does it mean that Inn works fine with this version of GnuPG (2.0.26)? The problem is with the signed message? I unstalled GnuPG 1 and use it with Inn. It work with MD5 pgp signed messages. @+ -- On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le gouvernement ; c'est la paix sans la violence. C'est le contraire précisément de tout ce qu'on lui reproche, soit par ignorance, soit par mauvaise foi. -+- Hem Day -+-
Re: INN 2.5.4, pgpverify, GnuPG 2.0.26 : bad MD5
Author: Russ Allbery
Date: Sat, 04 Oct 2014 17:31
Date: Sat, 04 Oct 2014 17:31
36 lines
2995 bytes
2995 bytes
Gérald Niel <gerald.niel+spam@gegeweb.invalid> writes:
> Russ Allbery écrivait sur news.software.nntp :
>> The actual news.announce.newgroups control messages were, very recently
>> (as in, in the past couple of months) switched from using an old copy of
>> PGP v2 to do signing to using GnuPG. (I had kept the old infrastructure
>> in an abundance of caution.) So I should probably regenerate the test
>> control message using the current signing procedure. Unfortunately, I've
>> been trying to find time to do some work on pgpcontrol for a while and
>> have not been successful, so I'm not sure when I'll get to this.
> Does it mean that Inn works fine with this version of GnuPG (2.0.26)?
> The problem is with the signed message?
Yes. However, I suspect that use of MD5 for control message signing is
quite widespread, so I'm not sure that's much consolation. It will work
in the sense that signatures will be checked, but I would expect a lot of
signatures to fail validation.
That said, there probably isn't any solution to that other than have all
control message signers move to newer software, since anything that
verifies signatures is going to get increasingly unhappy (with some
justification) about MD5.
Of course, that's far from the only problem with old signing keys. The
news.announce.newgroups signing key is also pathetically small by modern
standards, and while I doubt anyone actually cares enough to brute-force
it, it's now getting within the realm of possibility to do so. And that's
a trickier problem to fix, and one for which I don't have enough time at
the moment.
--
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: INN 2.5.4, pgpverify, GnuPG 2.0.26 : bad MD5
Author: Julien ÉLIE
Date: Fri, 24 Oct 2014 12:32
Date: Fri, 24 Oct 2014 12:32
32 lines
2592 bytes
2592 bytes
Hi Russ,
> That said, there probably isn't any solution to that other than have all
> control message signers move to newer software, since anything that
> verifies signatures is going to get increasingly unhappy (with some
> justification) about MD5.
Speaking about that, I am currently looking at releasing a new version
of signcontrol.py.
I have in mind to add a parameter so that the user could choose if he
wants to generate:
- a control article signed with an algorithm compatible with MIT PGP 2.6.2;
- a control article signed with the current default algorithm;
- both of them.
This way, control message signers can send two messages. At least one
of them will be properly treated by news servers.
It could be interesting in a transitional phase.
I hope this feature looks fine. Do not hesitate to tell if you have
another idea to improve that.
I do not plan to add other options for compatibility with PGP6, PGP7,
PGP8...
--
Julien ÉLIE
« – Ils devraient pourtant savoir que le sanglier c'est sacré pour
nous.
– Et toi, tu as une sacrée façon de l'adorer. » (Astérix)
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