X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-show.c;h=43bf71c8c8924e80c28f08469d2615642cba44b4;hb=6518f0d2bc40957802904c6236b04510b9bfb9f6;hp=d292f29fe0591ee74fb60ae4a94e1b46d098793a;hpb=21ecd7369aa2aa24d26775c3fe5edcb437914774;p=notmuch diff --git a/notmuch-show.c b/notmuch-show.c index d292f29f..43bf71c8 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -1204,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, ¬much)) return EXIT_FAILURE;