A patch for mutt
Mutt's key selection menu is really annoying. It lists every uid of a
key as a separate entry. It offers to use DSA keys to encrypt stuff.
Yuck. This patch adds three options that change the behavior of the
key menu. By default mutt will behave exactly as it did before, you
have to set/unset the options as well as apply the patch for it to do
anything. Here are the options it adds:
- ask_about_extra_uids
If this is false then mutt will only list the primary uid of a key in
the key menu. It defaults to true.
- ask_about_keys_with_wrong_abilities
If this is false then mutt will not list DSA keys when you want to
encrypt something and ELG keys when you want to sign something. It
defaults to true.
- autoselect_key_if_only_one
If you get to the key menu and there's only one key, and this is set
then mutt will automaticly select that key. It's default value is
true.
To apply the patch, download it and run
this in the mutt source tree.
$ patch -p1 </path/to/the/patch
After that you can build it mutt just as you normally would.