summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-05-04 09:50:22 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-05-04 09:50:22 -0400
commitc08b739a8ab8bc95cd15e680d52444426c833a68 (patch)
tree8d4e932ebf93f152f65c84888b810da2feeaf404
parentd33c89355584643a25a2823b61d585f6d3a3e971 (diff)
protonmail fix?
-rwxr-xr-xbin/mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index d6e46f3..d7e06ac 100755
--- a/bin/mw
+++ b/bin/mw
@@ -182,7 +182,7 @@ EOF
protonfinger() { printf "Getting Protonmail bridge fingerprint...\\n"
fingerprint="$(msmtp --serverinfo --tls --tls-certcheck=off -a "$title")" || return 1
- sed -ibu "s/account $title/&\ntls_fingerprint $fingerprint/" "$msmtprc" ; rm -f "$msmtprc"bu
+ sed -ibu "s/account $title/&\ntls_trust_file\ntls_fingerprint $fingerprint/" "$msmtprc" ; rm -f "$msmtprc"bu
}
getpass() { while : ; do pass rm -f "mutt-wizard-$title" >/dev/null 2>&1