Browse Source

protonmail fix?

tags/v3.1
Luke Smith 5 years ago
parent
commit
c08b739a8a
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw View File

@@ -182,7 +182,7 @@ EOF


protonfinger() { printf "Getting Protonmail bridge fingerprint...\\n" protonfinger() { printf "Getting Protonmail bridge fingerprint...\\n"
fingerprint="$(msmtp --serverinfo --tls --tls-certcheck=off -a "$title")" || return 1 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 getpass() { while : ; do pass rm -f "mutt-wizard-$title" >/dev/null 2>&1


Loading…
Cancel
Save