From 8060083f56fcfa9973af73118be4ed0a947af38e Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Fri, 27 Sep 2019 18:39:49 +0200 Subject: [PATCH] Get password using script --- mutt/.config/msmtp/config | 6 +++--- mutt/.mbsyncrc | 6 +++--- newsboat/.config/newsboat/config | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mutt/.config/msmtp/config b/mutt/.config/msmtp/config index 08212e8..077d25b 100644 --- a/mutt/.config/msmtp/config +++ b/mutt/.config/msmtp/config @@ -9,18 +9,18 @@ host smtp.mailbox.org port 587 from ryan@ryankes.eu user ryan@ryankes.eu -passwordeval "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine smtp.mailbox.org login ryan@ryankes.eu/ {print $NF}'" +passwordeval "getpassword ryankes" account gmail host smtp.gmail.com port 587 from alrayyes@gmail.com user alrayyes@gmail.com -passwordeval "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmail.com login alrayyes@gmail.com/ {print $NF}'" +passwordeval "getpassword gmail" account andthensome host smtp.gmail.com port 587 from ryan@andthensome.nl user ryan@andthensome.nl -passwordeval "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmail.com login ryan@andthensome.nl/ {print $NF}'" +passwordeval "getpassword andthensome" diff --git a/mutt/.mbsyncrc b/mutt/.mbsyncrc index 675edf9..b15e2f1 100644 --- a/mutt/.mbsyncrc +++ b/mutt/.mbsyncrc @@ -6,7 +6,7 @@ IMAPStore ryankes-remote Host imap.mailbox.org Port 993 User ryan@ryankes.eu -PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.mailbox.org login ryan@ryankes.eu/ {print $NF}'" +PassCmd "getpassword ryankes" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt @@ -29,7 +29,7 @@ IMAPStore gmail-remote Host imap.gmail.com Port 993 User alrayyes@gmail.com -PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmail.com login alrayyes@gmail.com/ {print $NF}'" +PassCmd "getpassword gmail" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt @@ -78,7 +78,7 @@ IMAPStore andthensome-remote Host imap.gmail.com Port 993 User ryan@andthensome.nl -PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmail.com login ryan@andthensome.nl/ {print $NF}'" +PassCmd "getpassword andthensome" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt diff --git a/newsboat/.config/newsboat/config b/newsboat/.config/newsboat/config index c4207ac..7872217 100644 --- a/newsboat/.config/newsboat/config +++ b/newsboat/.config/newsboat/config @@ -3,7 +3,7 @@ ttrss-url "https://rss.higherlearning.eu/ ttrss-flag-star "s" ttrss-flag-publish "p" ttrss-login "alrayyes" -ttrss-passwordeval "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine rss.higherlearning.eu login alrayyes/ {print $NF}'" +ttrss-passwordeval "getpassword rss" show-read-feeds no show-read-articles no