aboutsummaryrefslogtreecommitdiff
path: root/dot_config/isyncrc.tmpl
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2025-06-01 09:28:06 -0400
committerRyan Kavanagh <rak@rak.ac>2025-06-01 09:28:06 -0400
commitea5a29486f6ad68cc964ea73516bfa37af7fa468 (patch)
tree4ed84bcf14c69b0dc2bf5fd76c5f17e66008d604 /dot_config/isyncrc.tmpl
parentremove ssh-agent.service override (diff)
xoauth2 for cmuHEADmaster
Diffstat (limited to 'dot_config/isyncrc.tmpl')
-rw-r--r--dot_config/isyncrc.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/dot_config/isyncrc.tmpl b/dot_config/isyncrc.tmpl
index 0d4db33..39cce29 100644
--- a/dot_config/isyncrc.tmpl
+++ b/dot_config/isyncrc.tmpl
@@ -15,8 +15,8 @@ TLSType IMAPS
IMAPAccount CMU
Host imap.gmail.com
User rkavanag@alumni.cmu.edu
-Pass {{ .password.cmu }}
-AuthMechs PLAIN
+PassCmd "~/bin/mutt_oauth2.py --encryption-pipe=cat --decryption-pipe=cat $XDG_STATE_HOME/xoauth2-tokens/rkavanag.alumni.cmu.edu"
+AuthMechs XOAUTH2
TLSType IMAPS
IMAPAccount gmail