Skip to content

Instantly share code, notes, and snippets.

@ferd
Created September 17, 2014 22:35
Show Gist options
  • Save ferd/de506a8ccae7394825b5 to your computer and use it in GitHub Desktop.
Save ferd/de506a8ccae7394825b5 to your computer and use it in GitHub Desktop.
# Mutt PGP config
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x8680CF48 -- -r %r -- %f" ## REPLACE WITH YOUR OWN KEY THINGY
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x8680CF48 -- -r %r -- %f" ## REPLACE WITH YOUR OWN KEY THINGY
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
set pgp_sign_as=8680CF48 ## SET YOUR OWN KEY THINGY
set pgp_timeout=1800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment