geier / pycarddav

DEPRECATED - use vdirsyncer & khard -- easy to use CLI CardDAV client
http://lostpackets.de/pycarddav
MIT License
99 stars 35 forks source link

Password lookup via shell command output #114

Closed cburkert closed 9 years ago

cburkert commented 9 years ago

Recently, I started using pycarddav with mutt and since I'm happily using the password store pass to avoid writing plain passwords into config files (like muttrc), I wrote this patch to enable password lookups via shell command outputs.

This patch adds a new configuration variable called passwd_cmd that is simply a shell command. If the user sets this variable in her config file, the specified command is executed and the standard output of this command is used as password for authentication.

It seemed to me, that the develop branch is no longer in use (behind master) so I make this PR to master. Please correct me if I am wrong.

geier commented 9 years ago

Sorry for not getting back sooner.

You are correct, the develop branch is not currently used any more (nobody really read CONTRIBUTING.txt).

Thank you for the patch!