summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-03-06 16:06:44 -0700
committerGitHub <noreply@github.com>2018-03-06 16:06:44 -0700
commit7dacd6a99a24c638b0e11c326bc35bad9de0de68 (patch)
tree8e1fcdd1ce51fbe67ef509e33e57c82d22b85336
parent125e4399303a3c73d742ba0aece94472bbbb2d2c (diff)
parentf91aaf0cdb8ac975e0e8503cd68f63b56b931249 (diff)
Merge pull request #25 from praschdorff/master
added option to get rid of XOATH2 authentication failed warnings
-rw-r--r--autoconf/offlineimap_profile1
-rwxr-xr-xcredentials/getmuttpass2
2 files changed, 2 insertions, 1 deletions
diff --git a/autoconf/offlineimap_profile b/autoconf/offlineimap_profile
index 8468dbf..0711979 100644
--- a/autoconf/offlineimap_profile
+++ b/autoconf/offlineimap_profile
@@ -4,6 +4,7 @@ localrepository = $title-local
remoterepository = $title-remote
[Repository $title-remote]
+auth_mechanisms = LOGIN
type = $type
remoteuser = $login
sslcacerfile = /etc/ssl/cets/ca-certificates.crt
diff --git a/credentials/getmuttpass b/credentials/getmuttpass
index e01c5de..f94cb82 100755
--- a/credentials/getmuttpass
+++ b/credentials/getmuttpass
@@ -1,4 +1,4 @@
#!/bin/bash
-pass=$(gpg2 -d -q ~/.config/mutt/credentials/$1.gpg)
+pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg)
echo set smtp_pass=\"$pass\"
echo set imap_pass=\"$pass\"