-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use keepassxc-cli to fetch emails for mbsync email client #2275
Comments
I think this is related to #1873 (i.e. To let it work I had to protect the database with a dummy password. Only then I am able to access it with a variant of the following command:
The |
Sure lets close this. I'll monitor #831. But for the record, I want a password protecting my keepass database. I'm not sure I see the use case for a keepass db w/o a password, and therefore I don't see the connection to this and #1873 or a I just want the password prompt accessible from when I call the program via mbsync from inside Emacs. There should be an option for a GUI popup or perhaps "the invoking pty" (not sure what that means) as mentioned in #831, if that solved this use case. |
I can report that the above issue has been solved and that the following
|
This isn't a bug but I don't see a users help mailing list so I hope it is OK to ask this question here.
I'm trying to use keepassxc-cli to fetch passwords for my email accounts with mbsync. Previously on OS X I used the "Security" command to get system-level passwords, using this line in
~/.mbsyncrc
:PassCmd "security find-generic-password -s mbsync-email-password -w" # OSX
Most linux documentation suggests using gpg:
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.emacs.d/.mbsyncpass.gpg"
But why can't I use keepassxc-cli? When I try with:
PassCmd +"/usr/bin/keepassxc-cli show /path/to/keepass.kbdx email_passwd -a Password"
Nothing happens when I run mbsync. If I enter this at the CLI, it does work.
It seems that keepassxc-cli would be easier to use in many ways than gpg. Support for this use case would be nice. Please let me know if I'm doing something wrong by trying to do this.
Debug Info
KeePassXC - Version 2.3.1
Revision: 2fcaeea
Libraries:
Operating system: Ubuntu 18.04.1 LTS
CPU architecture: x86_64
Kernel: linux 4.15.0-33-generic
Enabled extensions:
The text was updated successfully, but these errors were encountered: