T350 test failures with gnupg-2.1.16

Subject: T350 test failures with gnupg-2.1.16

Date: Tue, 22 Nov 2016 20:22:09 +0100

To: notmuch@notmuchmail.org

Cc:

From: Marius Bakke


Hello!

After updating to gnupg 2.1.16, T350-crypto.sh fails in some of the
signature verification steps with wrong content-length:

T350-crypto: Testing PGP/MIME signature verification and decryption
 PASS   emacs delivery of signed message
 FAIL   signature verification
        --- T350-crypto.2.expected      2016-11-22 18:59:48.341851653 +0000
        +++ T350-crypto.2.output        2016-11-22 18:59:48.341851653 +0000
        @@ -11,7 +11,7 @@
                                         "id": 2
                                     },
                                     {
        -                                "content-length": 280,
        +                                "content-length": 312,
                                         "content-type": "application/pgp-signature",
                                         "id": 3
                                     }
 FAIL   signature verification with full owner trust
        --- T350-crypto.3.expected      2016-11-22 18:59:48.393853469 +0000
        +++ T350-crypto.3.output        2016-11-22 18:59:48.393853469 +0000
        @@ -11,7 +11,7 @@
                                         "id": 2
                                     },
                                     {
        -                                "content-length": 280,
        +                                "content-length": 312,
                                         "content-type": "application/pgp-signature",
                                         "id": 3
                                     }
 FAIL   signature verification with signer key unavailable
        --- T350-crypto.4.expected      2016-11-22 18:59:48.445855285 +0000
        +++ T350-crypto.4.output        2016-11-22 18:59:48.445855285 +0000
        @@ -11,7 +11,7 @@
                                         "id": 2
                                     },
                                     {
        -                                "content-length": 280,
        +                                "content-length": 312,
                                         "content-type": "application/pgp-signature",
                                         "id": 3
                                     }
 PASS   emacs delivery of encrypted message with attachment
 PASS   decryption, --format=text
 PASS   decryption, --format=json
 PASS   decryption, --format=json, --part=4
 PASS   decrypt attachment (--part=5 --format=raw)
 PASS   decryption failure with missing key
 PASS   emacs delivery of encrypted + signed message
 PASS   decryption + signature verification
 PASS   reply to encrypted message
 PASS   Reply within emacs to an encrypted message
 FAIL   signature verification with revoked key
        --- T350-crypto.15.expected     2016-11-22 18:59:49.505892318 +0000
        +++ T350-crypto.15.output       2016-11-22 18:59:49.505892318 +0000
        @@ -11,7 +11,7 @@
                                         "id": 2
                                     },
                                     {
        -                                "content-length": 280,
        +                                "content-length": 312,
                                         "content-type": "application/pgp-signature",
                                         "id": 3
                                     }


Downgrading gpg to 2.1.15 makes the tests pass as expected.

Here is the NEWS for 2.1.16:

https://lists.gnu.org/archive/html/info-gnu/2016-11/msg00006.html

Let me know if I can provide any further information. Please CC me in
replies as I'm not subscribed to this list. Thanks!
signature.asc (application/pgp-signature)

Thread: