mail: Enable direct pgp decryption
When called over systemd, pass will not display a pin-entry field to decrypt the necessary passwords for email synching. This prepares automatic background synching.
This commit is contained in:
parent
407ad0473f
commit
c5cd2b6a8d
3 changed files with 10 additions and 10 deletions
|
|
@ -3,8 +3,8 @@
|
|||
IMAPAccount gmail
|
||||
# Address to connect to
|
||||
Host imap.gmail.com
|
||||
UserCmd "pass show misc/aerc-gmail-app-password | grep username | cut -d: -f2"
|
||||
PassCmd "pass show misc/aerc-gmail-app-password | head -n1"
|
||||
UserCmd "gpg2 --decrypt --no-tty --quiet --no-verbose --for-your-eyes-only --pinentry-mode ask ~/.local/share/pass/misc/aerc-gmail-app-password.gpg | grep username | cut -d: -f2"
|
||||
PassCmd "gpg2 --decrypt --no-tty --quiet --no-verbose --for-your-eyes-only --pinentry-mode ask ~/.local/share/pass/misc/aerc-gmail-app-password.gpg | head -n1"
|
||||
# To store the password in an encrypted file use PassCmd instead of Pass
|
||||
# PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg"
|
||||
#
|
||||
|
|
@ -25,7 +25,7 @@ Inbox ~/documents/mail/Inbox
|
|||
# define generous maximum size to store locally
|
||||
MaxSize 50M
|
||||
|
||||
Channel gmail-general
|
||||
Channel gmail
|
||||
Far :gmail-remote:
|
||||
Near :mail-local:
|
||||
# Exclude everything under the internal [Gmail] folder, except the interesting folders
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue