Hello,

I'd like to use encrypted authinfo.gpg containing multiple entries for
all my email accounts as PassCmd.

Found some config on the net having the following:

IMAPStore remote-domnain
Host imap.domain.tld
User u...@domain.tld
PassCmd "echo ${PASSWORD:-$(gpg --no-tty -qd ~/.authinfo.gpg | sed -n 
's,^machine imap.domainl.tld .*password \\([^ ]*\\).*,\\1,p')}"

and I've tried with my authinfo.gpg which has entries like:

machine user login u...@gmail.com password "somepassword" port imaps

and it does not work and I assume (due to rusty sed skills) that problem
is with 'port imaps' at the end of the authinfo lines?

Am I right and/or anyone has working PassCmd line for multiple
authinfo.gpg?

What do you think about Pwmd?


Sincerely,
Gour

-- 
It is far better to discharge one's prescribed duties, even though 
faultily, than another's duties perfectly.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to