Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes: > +test_begin_subtest "show cryptographic envelope on signed mail" > +output=$(notmuch show --verify --format=json id:simple-signed-mail@crypto.notmuchmail.org) > +test_json_nodes <<<"$output" \ > + 'crypto:[0][0][0]["crypto"]={"signed": {"status": [{"created": 1525609971, "fingerprint": "5AEAB11F5E33DCE875DDB75B6D92612D94E46381", "status": "good"}]}}' > + > +test_begin_subtest "verify signed protected header" > +output=$(notmuch show --verify --format=json id:signed-protected-header@crypto.notmuchmail.org) > +test_json_nodes <<<"$output" \ > + 'crypto:[0][0][0]["crypto"]={"signed": {"status": [{"created": 1525350527, "fingerprint": "5AEAB11F5E33DCE875DDB75B6D92612D94E46381", "status": "good"}], "headers": ["Subject"]}}' > + If possible, it would be good to avoid hardcoding the fingerprint, to minimize the number of places we have to change when e.g. gpg starts reject our 1K test key. d _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch