The Mutt E-Mail Client : Reference : Configuration variables : smime_decrypt_command
Previous: smime_certificates
Next: smime_verify_command

## 6.3.171. smime_decrypt_command

Type: string
Default: ""

This format string specifies a command which is used to decrypt application/x-pkcs7-mime attachments.

The OpenSSL command formats have their own set of printf-like sequences similar to PGP's:

%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.

%k

  The key-pair specified with $smime_default_key

%c

  One or more certificate IDs.

%a

  The algorithm used for encryption.

%C

  CA location: Depending on whether $smime_ca_location points to a directory or file, this expands to "-CApath $smime_ca_location" or "-CAfile $smime_ca_location".

For examples on how to configure these formats, see the smime.rc in the share/examples/mutt subdirectory which has been installed on your system. (S/MIME only)

The Mutt E-Mail Client : Reference : Configuration variables : smime_decrypt_command
Previous: smime_certificates
Next: smime_verify_command