Differences between version 5 and previous revision of .muttrc.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Wednesday, September 3, 2003 12:27:05 pm | by JohnMcPherson | Revert |
Older page: | version 3 | Last edited on Friday, March 14, 2003 9:30:59 am | by AristotlePagaltzis | Revert |
@@ -55,20 +55,44 @@
###color error brightred white
#### GPG SETTINGS ####
+ # %p Expands to PGPPASSFD=0 when a pass phrase is needed, to an empty
+ # string otherwise. Note: This may be used with a %? construct.
+ # %f Expands to the name of a file containing a message.
+ # %s Expands to the name of a file containing the signature part
+ # of a multipart/signed attachment when verifying it.
+ # %a The value of $pgp_sign_as.
+ # %r One or more key IDs.
+
+ # automatically sign all outgoing messages
+ set pgp_autosign=yes
+
+ # which key to use
+ set pgp_sign_as="0x1EAA5AC1"
- # doesn't seem to work... hmm...
- #set pgp_good_sign="(Good signature)"
- #
# automatically check messages
set pgp_verify_sig=yes
+
+ # for checking pgp/mime signatures
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
+
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - --decrypt %f"
+
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - --decrypt %f"
-
set pgp_encrypt_only_command="gpg -v --batch -o - --encrypt --textmode --armor --always-trust -r %r %f"
+
+ # for creating detached pgp sig (mime/pgp)
+ set pgp_sign_command="gpg --passphrase-fd 0 -o - --detach-sign --textmode --armor --always-trust %f"
+
+ # for signing and encrypting
+ set pgp_encrypt_sign_command="[pgpewrap] gpg --passphrase-fd 0 --batch -o - --sign %?a?-u %a? --encrypt --textmode --armor --always-trust -- -r %r -- %f"
+
+
+
set pgp_encrypt_only_command="[pgpewrap]
gpg -v --batch -o - --encrypt --textmode --armor --always-trust --
-r %r --
%f"
+
# doesn't work - mutt turns %r into email address instead of key...
#set pgp_getkeys_command="gpg --keyserver the.earth.li --recv-key %r"
+
# read in the public key ring
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
# export a key from the public key ring
set pgp_export_command="gpg --no-verbose --export --armor %r"