]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-show.c
NEWS: bump date
[notmuch] / notmuch-show.c
index d416fbd5ccb73593ec44fd976bd331de0bf13be6..43bf71c8c8924e80c28f08469d2615642cba44b4 100644 (file)
@@ -1082,7 +1082,8 @@ notmuch_show_command (notmuch_config_t *config, int argc, char *argv[])
        .output_body = TRUE,
        .crypto = {
            .verify = FALSE,
-           .decrypt = FALSE
+           .decrypt = FALSE,
+           .gpgpath = NULL
        },
        .include_html = FALSE
     };
@@ -1203,6 +1204,8 @@ notmuch_show_command (notmuch_config_t *config, int argc, char *argv[])
        return EXIT_FAILURE;
     }
 
+    params.crypto.gpgpath = notmuch_config_get_crypto_gpg_path (config);
+
     if (notmuch_database_open (notmuch_config_get_database_path (config),
                               NOTMUCH_DATABASE_MODE_READ_ONLY, &notmuch))
        return EXIT_FAILURE;