dotfiles

<-- duh.
git clone https://hhvn.uk/dotfiles
git clone git://hhvn.uk/dotfiles
Log | Files | Refs | Submodules | LICENSE

gpg (2857B)


      1 # vim: set syntax=neomuttrc :
      2 
      3 # Common Crypto Options
      4 set crypt_autoencrypt           = no     # Automatically encrypt all mail
      5 set crypt_autopgp               = no     # Allow automatic pgp functions
      6 set crypt_autosign              = no     # Automatically sign all mail
      7 set crypt_autosmime             = no     # Allow automatic smime functions
      8 set crypt_confirmhook           = yes
      9 set crypt_opportunistic_encrypt = no
     10 set crypt_replyencrypt          = yes
     11 set crypt_replysign             = yes
     12 set crypt_replysignencrypted    = yes
     13 set crypt_timestamp             = yes
     14 set crypt_use_gpgme             = no
     15 set crypt_use_pka               = no
     16 set crypt_verify_sig            = yes
     17 
     18 # SSL Options
     19 set ssl_starttls     = yes
     20 set ssl_use_sslv3    = no
     21 set ssl_use_tlsv1    = yes
     22 set ssl_use_tlsv1_1  = yes
     23 set ssl_use_tlsv1_2  = yes
     24 set ssl_verify_dates = yes
     25 set ssl_verify_host  = yes
     26 
     27 # PGP Options
     28 set pgp_autoinline      = no
     29 set pgp_auto_decode     = yes
     30 set pgp_check_exit      = yes
     31 set pgp_entry_format    = "%4n %t%f %4l/0x%k %-4a %2c %u"
     32 set pgp_good_sign       = "Good signature from"
     33 set pgp_ignore_subkeys  = yes
     34 set pgp_long_ids        = no # mutt uses full fingerprint internally
     35 set pgp_mime_auto       = no
     36 set pgp_replyinline     = no
     37 set pgp_retainable_sigs = yes
     38 set pgp_show_unusable   = no
     39 set pgp_sign_as         = "ED59FC1A"
     40 set pgp_sort_keys       = address
     41 set pgp_strict_enc      = yes
     42 set pgp_timeout         = 0 # Remember PGP passphrase for 6 hours
     43 
     44 # PGP Commands
     45 set pgp_clearsign_command    = "passgpg --no-use-agent --output - --armor --textmode --clearsign %?a?-u %a? %f"
     46 set pgp_decode_command       = "passgpg --no-use-agent --status-fd=2 --quiet --output - %f"
     47 set pgp_decrypt_command      = "passgpg --no-use-agent --status-fd=2 --quiet --output - %f"
     48 set pgp_encrypt_only_command = "passgpg --no-use-agent --quiet --output - --encrypt --textmode --armor --always-trust -r %r -- %f"
     49 set pgp_encrypt_sign_command = "passgpg --no-use-agent --quiet --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -r %r -- %f"
     50 set pgp_export_command       = "gpg --no-use-agent --export --armor %r"
     51 set pgp_getkeys_command      = ""
     52 set pgp_import_command       = "gpg --no-use-agent --import -v %f"
     53 set pgp_list_pubring_command = "gpg --no-use-agent --with-colons --with-fingerprint --list-keys %r"
     54 set pgp_list_secring_command = "gpg --no-use-agent --with-colons --with-fingerprint --list-secret-keys %r"
     55 set pgp_sign_command         = "passgpg --no-use-agent --comment 'Key: gopher://hhvn.uk/0/keys' --output - --armor --detach-sign --textmode %?a?-u %a? %f"
     56 set pgp_verify_command       = "gpg --no-use-agent --status-fd=2 --quiet --batch --output - --verify %s %f"
     57 set pgp_verify_key_command   = "gpg --no-use-agent --verbose --batch --fingerprint --check-sigs %r"
     58 
     59 # SMIME sucks
     60 bind compose S pgp-menu