The Mutt E-Mail Client : Reference : Configuration variables : pgp_decode_command
Previous: pgp_create_traditional
Next: pgp_getkeys_command

## 6.3.116. 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.

The Mutt E-Mail Client : Reference : Configuration variables : pgp_decode_command
Previous: pgp_create_traditional
Next: pgp_getkeys_command