# Command to decode
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"

# Command to verify
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"

# Command to decrypt
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"

# Command to sign
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"

# Command to clearsign
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"

# Command to encrypt only
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x912C9DCA -- -r %r -- %f"

# Command to encrypt and sign
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 0xC9C40C31 -- -r %r -- %f"

# Command to import
set pgp_import_command="gpg --no-verbose --import -v %f"

# Command to export
set pgp_export_command="gpg --no-verbose --export --armor %r"

# Command to verify
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"

# Command to list pubring
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" 

# Command to list secring
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" 

# Autosign all outgoing mails
set pgp_autosign=no

# Primary keyID
set pgp_sign_as=0x912C9DCA

# Autocrypt replies to crypted
set pgp_replyencrypt=yes

# Passphrase timeout
set pgp_timeout=2400

# Key sort order
set pgp_sort_keys=trust

# Don't display revoked keys
unset pgp_show_unusable

# Mark properly signed
set pgp_good_sign="^gpg: Good signature from"