mutt patch: confirm-crypt-hook

confirm-crypt-hook controls the "Use keyID" prompt

This patch adds the variable crypt_confirmhook (default yes), to allow you to skip the "Use keyID" prompt, which is frustrating for so many people. Typical (for me) use of crypt-hook implies selection of a known key (assuming no typos), so crypt_confirmhook can be unset if you know your crypt-hooks are valid; you won't be prompted for confirmation anymore. You should verify all your crypt-hooks are correct before unsetting this variable.

NOTE: If you plan on using the multiple-crypt-hook patch, then you should apply it first, then apply this one and include the -l option to patch (to ignore whitespace). Alternatively, you can grab my patch (for versions 1.5.6, 1.5.5, and 1.5.4) which replaces both.


This patch is available for these mutt versions:
1.5.6; 1.5.5; 1.5.4; 1.5.3


2004-02-02: Patch updated for 1.5.6.

2003-11-27: Patch updated for 1.5.5.

2003-03-20: Patch updated for 1.5.4.

2003-03-15: Mads Laursen pointed out that the confirm-crypt-hook patch and the multiple-crypt-hook patches cannot both be applied in any order without patch reporting a rejection in pgp.c.
Use this patch (for 1.5.4) instead of either of those; it's just a proper bundling of both patches.

2003-01-17: Patch created for 1.5.3.
Patch split from the pgp-hook patch for easier maintenance.