Generate mutt crypt_auto* send-hooks from gpg pubring.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Eike Rathke 61e22033d4 Add autocrypt_reply=no 7 months ago Add description 7 months ago
UNLICENSE Rename LICENSE to UNLICENSE ... as it is ... 7 months ago
generate_crypt_auto Add autocrypt_reply=no 7 months ago


Generate mutt crypt_auto... send-hooks from gpg pubring.


A shell script using sed to parse the output of gpg --list-keys --with-colons ... and generate a list of Mutt

send-hook "!~l ~t mail@example\\.org" "set crypt_autoencrypt crypt_autosign"

commands for each UID, discarding disabled, expired and revoked keys.

The latest version of this script is also downloadable here as it was always since the year 2008 ...