]> git.notmuchmail.org Git - notmuch/blobdiff - test/T350-crypto.sh
test: compute expected keyid from fingerprint
[notmuch] / 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,