From f5896ccc12007abbb89688685fcd061c1d4b4bed Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 21 Oct 2021 23:45:24 -0700 Subject: [mbsync] Get the account credentials from the secret service Instead of using my custom Python script that looks them up, just use the command-line application included in the ‘libsecret’ package on Archlinux. Remove the custom helper script that I’d written for them. --- mbsync/.mbsyncrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbsync/.mbsyncrc') diff --git a/mbsync/.mbsyncrc b/mbsync/.mbsyncrc index c710405..1d9573b 100644 --- a/mbsync/.mbsyncrc +++ b/mbsync/.mbsyncrc @@ -2,7 +2,7 @@ IMAPAccount ryuslash Host imap-ryuslash.alwaysdata.net User tom@ryuslash.org -PassCmd "~/usr/bin/get-mail-password ryuslash" +PassCmd "secret-tool lookup application mbsync account ryuslash" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt @@ -26,7 +26,7 @@ SyncState * IMAPAccount gmail Host imap.gmail.com User ryuslash@gmail.com -PassCmd "~/usr/bin/get-mail-password gmail" +PassCmd "secret-tool lookup application mbsync account gmail" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt -- cgit v1.3-2-g0d8e