protonmail fix?

This commit is contained in:
Luke Smith 2019-05-04 09:50:22 -04:00
parent d33c893555
commit c08b739a8a
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

2
bin/mw
View File

@ -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