1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Get password using script

This commit is contained in:
Ryan Kes 2019-09-27 18:39:49 +02:00
parent 93dd7f8293
commit 8060083f56
3 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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