summaryrefslogtreecommitdiffstats
path: root/mutt/smime
diff options
context:
space:
mode:
Diffstat (limited to 'mutt/smime')
-rw-r--r--mutt/smime13
1 files changed, 13 insertions, 0 deletions
diff --git a/mutt/smime b/mutt/smime
new file mode 100644
index 0000000..5dfdd5b
--- /dev/null
+++ b/mutt/smime
@@ -0,0 +1,13 @@
+set smime_ca_location="~/.smime/ca-bundle.crt"
+set smime_certificates="~/.smime/certificates"
+set smime_keys="~/.smime/keys"
+set smime_pk7out_command="openssl smime -verify -in %f -noverify -pk7out"
+set smime_get_cert_command="openssl pkcs7 -print_certs -in %f"
+set smime_get_signer_cert_command="openssl smime -verify -in %f -noverify -signer %c -out /dev/null"
+set smime_get_cert_email_command="openssl x509 -in %f -noout -email"
+set smime_import_cert_command="smime_keys add_cert %f"
+set smime_encrypt_command="openssl smime -encrypt %a -outform DER -in %f %c"
+set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin -in %f -certfile %i -outform DER"
+set smime_decrypt_command="openssl smime -decrypt -passin stdin -inform DER -in %f -inkey %k -recip %c"
+set smime_verify_command="openssl smime -verify -inform DER -in %s %C -content %f"
+set smime_verify_opaque_command="openssl smime -verify -inform DER -in %s %C"