]> git.notmuchmail.org Git - notmuch/commit
tests: account for varying-size cryptographic signatures
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 23 Nov 2016 17:57:22 +0000 (12:57 -0500)
committerDavid Bremner <david@tethera.net>
Fri, 25 Nov 2016 00:22:12 +0000 (20:22 -0400)
commitd31161c212368a592c5d92e3d181a986d49fcc20
tree88870df144a1bcd3156c3e09361bb7fbca05be9e
parentc9ec90ae7f22d817aa0ddb5e1a0ae80715071b5e
tests: account for varying-size cryptographic signatures

GnuPG 2.1.16 is now injecting the full issuer fingerprint in its
signatures, which makes them about 32 octets larger when
ascii-armored.

This change in size means that the size of the MIME parts will vary
depending on the version of gpg that the user has installed.  at any
rate, the signature part should be non-zero (this is true for
basically any MIME part), so we just test for that instead of an exact
size.
test/T350-crypto.sh
test/T355-smime.sh
test/test-lib.sh