X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-reply.c;h=d51fdfc360dd58edc1e5358433663273188aa8a9;hb=6a99505625785022d490207bdf6e3e29ed156c6a;hp=7c1c80959ed6cee221479353bbb84345a6875055;hpb=31a6333aa46fc8125d2fe1effd6fddf48e47c14e;p=notmuch diff --git a/notmuch-reply.c b/notmuch-reply.c index 7c1c8095..d51fdfc3 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -769,7 +769,8 @@ notmuch_reply_command (notmuch_config_t *config, int argc, char *argv[]) .part = -1, .crypto = { .verify = FALSE, - .decrypt = FALSE + .decrypt = FALSE, + .gpgpath = NULL } }; int format = FORMAT_DEFAULT; @@ -821,6 +822,8 @@ notmuch_reply_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;