On Feb 15, Dave Smith [[EMAIL PROTECTED]] wrote: > Is anyone willing/able to send me a .muttrc which works with GnuPG and a > recent version of mutt?
# Name: forward_decrypt # Type: boolean # Default: yes # Controls the handling of encrypted messages when forwarding a message. When # set, the outer layer of encryption is stripped off. This variable is only # used if ``$mime_forward'' is set and ``$mime_forward_decode'' is unset. set forward_decrypt=yes
# Name: pgp_autosign # Type: boolean # Default: no # Setting this variable will cause Mutt to always attempt to PGP/MIME sign # outgoing messages. This can be overridden by use of the pgp-menu, when # signing is not required or encryption is requested as well. set pgp_autosign=yes # Name: pgp_autoencrypt # Type: boolean # Default: no # Setting this variable will cause Mutt to always attempt to PGP/MIME encrypt # outgoing messages. This is probably only useful in connection to the # send-hook command. It can be overridden by use of the pgp-menu, when # encryption is not required or signing is requested as well. send-hook . "set pgp_autoencrypt=no" send-hook mark(|-.*)@(firinn|cymry).org "set pgp_autoencrypt=yes" #... # Name: pgp_ignore_subkeys # Type: boolean # Default: yes # Setting this variable will cause Mutt to ignore OpenPGP subkeys. Instead, the # principal key will inherit the subkeys' capabilities. Unset this if you want # to play interesting key selection games. set pgp_ignore_subkeys=yes # Name: pgp_entry_format # Type: string # Default: "%4n %t%f %4l/0x%k %-4a %2c %u" # This variable allows you to customize the PGP key selection menu to your # personal taste. This string is similar to ``$index_format'', but has its own # set of printf()-like sequences: # %n number # %k key id # %u user id # %a algorithm # %l key length # %f flags # %c capabilities # %t trust/validity of the key-uid association # %[<s>] date of the key where <s> is an strftime(3) expression set pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u" # Name: pgp_good_sign # Type: regular expression # Default: "" # If you assign a text to this variable, then a PGP signature is only # considered verified if the output from $pgp_verify_command contains the text. # Use this variable if the exit code from the command is 0 even for bad # signatures. set pgp_good_sign="^gpg: Good signature from" # Name: pgp_long_ids # Type: boolean # Default: no # If set, use 64 bit PGP key IDs. Unset uses the normal 32 bit Key IDs. set pgp_long_ids=no # Name: pgp_replyencrypt # Type: boolean # Default: yes # If set, automatically PGP encrypt replies to messages which are encrypted. set pgp_replyencrypt=yes # Name: pgp_replysign # Type: boolean # Default: no # If set, automatically PGP sign replies to messages which are signed. # Note: this does not work on messages that are encrypted and signed! set pgp_replysign=yes # Name: pgp_replysignencrypted # Type: boolean # Default: no # If set, automatically PGP sign replies to messages which are encrypted. This # makes sense in combination with ``$pgp_replyencrypt'', because it allows you # to sign all messages which are automatically encrypted. This works around # the problem noted in ``$pgp_replysign'', that mutt is not able to find out # whether an encrypted message is also signed. set pgp_replysignencrypted=yes # Name: pgp_retainable_sigs # Type: boolean # Default: no # If set, signed and encrypted messages will consist of nested multipart/signed # and multipart/encrypted body parts. # This is useful for applications like encrypted and signed mailing lists, # where the outer layer (multipart/encrypted) can be easily removed, while the # inner multipart/signed part is retained. set pgp_retainable_sigs=no # Name: pgp_show_unusable # Type: boolean # Default: yes # If set, mutt will display non-usable keys on the PGP key selection menu. # This includes keys which have been revoked, have expired, or have been marked # as ``disabled'' by the user. set pgp_show_unusable=no # Name: pgp_sign_as # Type: string # Default: "" # If you have more than one key pair, this option allows you to specify which # of your private keys to use. It is recommended that you use the keyid form # to specify your key (e.g., ``0x00112233''). set pgp_sign_as="0xF009764F" # Name: pgp_strict_enc # Type: boolean # Default: yes # If set, Mutt will automatically encode PGP/MIME signed messages as # quoted-printable. Please note that unsetting this variable may lead to # problems with non-verifyable PGP signatures, so only change this if you know # what you are doing. set pgp_strict_enc=yes # Name: pgp_timeout # Type: number # Default: 300 # The number of seconds after which a cached passphrase will expire if not # used. set pgp_timeout=0 # Name: pgp_verify_sig # Type: quadoption # Default: yes # If ``yes'', always attempt to verify PGP/MIME signatures. If ``ask-yes'' or # ``ask-no'', ask whether or not to verify the signature. If ``no'', never # attempt to verify PGP/MIME signatures. set pgp_verify_sig=no macro index \Cv "<enter-command>unhook message-hook<enter><enter-command>set pgp_verify_sig=yes<enter><display-message><enter-command>set pgp_verify_sig=no<enter><enter-command>source ~/.mutt/message-hooks<enter>" "verify message signature" macro pager \Cv "<enter-command>unhook message-hook<enter><enter-command>set pgp_verify_sig=yes<enter><exit><display-message><enter-command>set pgp_verify_sig=no<enter><enter-command>source ~/.mutt/message-hooks<enter>" "verify message signature" # Name: pgp_sort_keys # Type: sort order # Default: address # Specifies how the entries in the `pgp keys' menu are sorted. The following # are legal values: # address sort alphabetically by user id # keyid sort alphabetically by key id # date sort by key creation date # trust sort by the trust of the key # If you prefer reverse order of the above values, prefix it with `reverse-'. set pgp_sort_keys=address # Name: pgp_create_traditional # Type: quadoption # Default: no # This option controls whether Mutt generates old-style PGP encrypted or signed # messages under certain circumstances. # Note that PGP/MIME will be used automatically for messages which have a # character set different from us-ascii, or which consist of more than a single # MIME part. # Also note that using the old-style PGP message format is strongly deprecated. set pgp_create_traditional=no # Name: pgp_decode_command # Type: string # Default: "" # This format strings specifies a command which is used to decode # application/pgp attachments. # The PGP command formats have their own set of printf-like sequences: # %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. # For examples on how to configure these formats for the various versions of # PGP which are floating around, see the pgp*.rc and gpg.rc files in the # samples/ subdirectory which has been installed on your system alongside the # documentation. set pgp_decode_command="/usr/bin/gpg %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" # Name: pgp_getkeys_command # Type: string # Default: "" # This command is invoked whenever mutt will need public key information. %r # is the only printf-like sequence used with this format. #set pgp_getkeys_command="pkspxycwrap %r" # Name: pgp_verify_command # Type: string # Default: "" # This command is used to verify PGP/MIME signatures. set pgp_verify_command="/usr/bin/gpg --no-verbose --quiet --batch --output - --verify %s %f" # Name: pgp_decrypt_command # Type: string # Default: "" # This command is used to decrypt a PGP/MIME encrypted message. set pgp_decrypt_command="/usr/bin/gpg --passphrase-fd 0 --no-verbose --quiet --batch --output - %f" # Name: pgp_clearsign_command # Type: string # Default: "" # This format is used to create a "clearsigned" old-style PGP attachment. Note # that the use of this format is strongly deprecated. set pgp_clearsign_command="/usr/bin/gpg --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" # Name: pgp_sign_command # Type: string # Default: "" # This command is used to create the detached PGP signature for a # multipart/signed PGP/MIME body part. set pgp_sign_command="/usr/bin/gpg --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" # Name: pgp_encrypt_sign_command # Type: string # Default: "" # This command is used to combinedly sign/encrypt a body part. set pgp_encrypt_sign_command="pgpewrap /usr/bin/gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" # Name: pgp_encrypt_only_command # Type: string # Default: "" # This command is used to encrypt a body part without signing it. set pgp_encrypt_only_command="pgpewrap /usr/bin/gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" # Name: pgp_import_command # Type: string # Default: "" # This command is used to import a key from a message into the user's public # key ring. set pgp_import_command="/usr/bin/gpg --no-verbose --import -v %f" # Name: pgp_export_command # Type: string # Default: "" # This command is used to export a public key from the user's key ring. set pgp_export_command="/usr/bin/gpg --no-verbose --export --armor %r" # Name: pgp_verify_key_command # Type: string # Default: "" # This command is used to verify key information from the key selection menu. set pgp_verify_key_command="/usr/bin/gpg --verbose --batch --fingerprint --check-sigs %r" # Name: pgp_list_secring_command # Type: string # Default: "" # This command is used to list the secret key ring's contents. The output # format must be analogous to the one used by gpg --list-keys --with-colons. # This format is also generated by the pgpring utility which comes with mutt. set pgp_list_secring_command="/usr/bin/gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r" # Name: pgp_list_pubring_command # Type: string # Default: "" # This command is used to list the public key ring's contents. The output # format must be analogous to the one used by gpg --list-keys --with-colons. # This format is also generated by the pgpring utility which comes with mutt. set pgp_list_pubring_command="/usr/bin/gpg --no-verbose --batch --quiet --with-colons --list-keys %r" ### Personalized headers. my_hdr X-GPG-Key: GPG key available at http://jblosser.firinn.org/gpg.key my_hdr X-GPG-Fingerprint: 0xF009764F: 867DC26921C27643E9E3 6478285DBEC5F009764F ### Colors color body red default "^gpg: BAD signature from.*" color body blue default "^gpg: Good signature from.*" color body brightblue default "^gpg: encrypted with.*"
msg24524/pgp00000.pgp
Description: PGP signature
