X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT357-index-decryption.sh;h=b81bdfe192805f9d7a5ae2a1cd43af692405add8;hb=b4a4ed0df9cd2150e75853f5491cfa02fe72caf1;hp=1ac2836a6e31e9cab1b8c37444038fc6162bce29;hpb=1979145b91fa85d6952b94db561a46238265d910;p=notmuch diff --git a/test/T357-index-decryption.sh b/test/T357-index-decryption.sh index 1ac2836a..b81bdfe1 100755 --- a/test/T357-index-decryption.sh +++ b/test/T357-index-decryption.sh @@ -7,6 +7,7 @@ test_description='indexing decrypted mail' ################################################## +test_require_emacs add_gnupg_home # create a test encrypted message @@ -306,6 +307,9 @@ test_json_nodes <<<"$output" "$goodsig" test_begin_subtest "verify signature with stashed session key" output=$(notmuch show --format=json id:encrypted-signed@crypto.notmuchmail.org) +if [ $NOTMUCH_GMIME_VERIFY_WITH_SESSION_KEY -ne 1 ]; then + test_subtest_known_broken +fi test_json_nodes <<<"$output" "$goodsig" # TODO: test removal of a message from the message store between