X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-show.c;h=4e22424bb713cb03ae00f0710a3af838089b0e87;hp=c8f5a48f78312744505e4637683a1a5fdeab6377;hb=fccebbaeef1e4b6489425afb13f419543d53d285;hpb=29648a137c5807135ab168917b4a51d5e19e51c2 diff --git a/notmuch-show.c b/notmuch-show.c index c8f5a48f..4e22424b 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -1121,7 +1121,8 @@ notmuch_show_command (notmuch_config_t *config, int argc, char *argv[]) if (decrypt_set) { if (decrypt) { - params.crypto.decrypt = NOTMUCH_DECRYPT_TRUE; + /* we do not need or want to ask for session keys */ + params.crypto.decrypt = NOTMUCH_DECRYPT_NOSTASH; /* decryption implies verification */ params.crypto.verify = true; } else {