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 4 weeks ago
README.md Add description 4 weeks ago
UNLICENSE Rename LICENSE to UNLICENSE ... as it is ... 4 weeks ago
generate_crypt_auto Add autocrypt_reply=no 4 weeks ago

README.md

mutt-gpg-crypt_auto

Generate mutt crypt_auto… send-hooks from gpg pubring.

generate_crypt_auto

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 …