]> git.notmuchmail.org Git - notmuch/commitdiff
test: compute expected keyid from fingerprint
authorJustus Winter <justus@sequoia-pgp.org>
Fri, 9 Sep 2022 16:12:50 +0000 (18:12 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 20 Sep 2022 01:19:35 +0000 (22:19 -0300)
test/T350-crypto.sh

index 3c6626b41d3649f1c6ed56ebafb41665b24df5d1..721cbfdd60f24f425a69c2211336d3bc6fc0bd44 100755 (executable)
@@ -467,7 +467,7 @@ expected='[[[{"id": "XXXXX",
  "Date": "Sat, 01 Jan 2000 12:00:00 +0000"},
  "body": [{"id": 1,
  "sigstatus": [{"status": "error",
- "keyid": "6D92612D94E46381",
+ "keyid": "'$(echo $FINGERPRINT | cut -c 25-)'",
  "errors": {"key-revoked": true}}],
  "content-type": "multipart/signed",
  "content": [{"id": 2,