aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.dot/firejail/mutt.profile.link1
-rw-r--r--muttrc.dot.link30
2 files changed, 25 insertions, 6 deletions
diff --git a/config.dot/firejail/mutt.profile.link b/config.dot/firejail/mutt.profile.link
index 30aebae..6fd7024 100644
--- a/config.dot/firejail/mutt.profile.link
+++ b/config.dot/firejail/mutt.profile.link
@@ -32,6 +32,7 @@ noblacklist ~/.config/msmtp/config
noblacklist ~/.procmailrc
noblacklist ~/.fetchmailrc
noblacklist ~/.getmail
+noblacklist ~/.smime
noblacklist ~/apps/utils-mail
noblacklist /usr/bin/fetchmail
noblacklist /usr/bin/getmail
diff --git a/muttrc.dot.link b/muttrc.dot.link
index 0375ff3..44a5eff 100644
--- a/muttrc.dot.link
+++ b/muttrc.dot.link
@@ -206,12 +206,6 @@ set pgp_getkeys_command="gpg --search-keys %r"
# See https://a3nm.net/blog/mutt_crypt_opportunistic_encrypt.html
set crypt_opportunistic_encrypt = yes
-# Mutt hangs on "Invoking S/MIME"
-# See https://github.com/neomutt/neomutt/issues/3438
-#
-# Unsetting this might break some things
-#unset crypt_use_gpgme
-
# -----------------------------
# OpenPGP with gpg-agent config
# -----------------------------
@@ -230,6 +224,30 @@ set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg -v --batch --output - -
#set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --digest-algo sha256 --textmode --clearsign %?a?-u %a? %f"set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
#set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg --passphrase-fd 0 -v --batch --output - --digest-algo sha256 --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
+# ------
+# S/MIME
+# ------
+#
+# Seems like S/MIME support on mutt is currently broken.
+#
+# Mutt hangs on "Invoking S/MIME"
+# See https://gitlab.com/muttmua/mutt/-/wikis/MuttGuide/UseSMIME
+# https://en.wikipedia.org/wiki/S/MIME
+# https://gitlab.com/muttmua/mutt/-/wikis/MuttGuide/UseSMIME
+# http://web.archive.org/web/20150919063418/https://kb.wisc.edu/middleware/page.php?id=4091
+# http://equiraptor.com/smime_mutt_how-to.html
+# https://superuser.com/questions/614985/in-mutt-how-to-extract-key-from-a-s-mime-signed-message-to-reply-encrypted
+# https://man.archlinux.org/man/extra/mutt/smime_keys.1.en
+# https://mutt-users.mutt.narkive.com/MyCrGRy1/s-mime-verification
+# https://github.com/neomutt/neomutt/issues/3438
+# https://github.com/neomutt/neomutt/issues/3567
+#
+# Unsetting this might break OpenPGP handling entirely.
+#unset crypt_use_gpgme
+#
+# CA location
+#set smime_ca_location = /etc/ssl/certs/ca-certificates.crt
+
# ---------
# Mailboxes
# ---------