commit 56ec668c3f78025369f3a9ee77094e220bf1979b
parent 075cdebe3fabad91b17f3aef3c8c31f9eaf9274d
Author: Chris Bracken <chris@bracken.jp>
Date: Wed, 15 Sep 2021 10:38:28 -0700
Use pass instead of manual gpg invocation
Turns out that pass does exactly what I'd been doing for well over a
decade, except with a nice user interface.
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.config/msmtp/config b/.config/msmtp/config
@@ -9,7 +9,7 @@ host smtp.gmail.com
port 587
from chris.bracken@gmail.com
user chris.bracken@gmail.com
-passwordeval gpg --batch -d ~/src/cfg/keyring/msmtp.gmail.gpg
+passwordeval pass show Email/msmtp-gmail.com
# chris@bracken.jp
account bracken_jp
@@ -17,6 +17,6 @@ host smtp.gmail.com
port 587
from chris@bracken.jp
user chris@bracken.jp
-passwordeval gpg --batch -d ~/src/cfg/keyring/msmtp.bracken_jp.gpg
+passwordeval pass show Email/msmtp-bracken.jp
account default : bracken_jp
diff --git a/.mbsyncrc b/.mbsyncrc
@@ -21,7 +21,7 @@ IMAPAccount gmail
Host imap.gmail.com
Port 993
User chris.bracken@gmail.com
-PassCmd "gpg -q --batch -d ~/src/cfg/keyring/mbsync.gmail.gpg"
+PassCmd "pass show Email/mbsync-gmail.com"
AuthMechs LOGIN
SSLType IMAPS
PipelineDepth 50