Fully support keepassxc-cli options #1047
Labels
No labels
blocked
breaking
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
borgmatic-collective/borgmatic#1047
Loadingโฆ
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'd like to do and why
TL;DR: Add support for
--key-fileand--yubikeywhile using keepassxc for credentialsI have my passwords stored in a keepassxc file and I want to use those directly with borgmatic. Unfortunately, I cannot retrieve them since I am using a key file on top of my master password.
I've ran the keepassxc-cli with the
--key-fileoption to validate that I can access my keepassxc file from the command line and it's working fine.I've ran my borgmatic script with the secret stored in my keepassxc file and it's working fine.
I've checked the keepassxc.py file and I could not find a way to add options while invoking the CLI program.
Is there something I am missing?
I also want to use a yubikey in the future. It would be nice if the
--yubikeyoption is also supported.Other notes / implementation ideas
No response
Thanks for filing this... These seem like reasonable additions to me! In the meantime, try something like this:
FYI it looks like your email provider is blocking emails from projects.torsion.org, so if you're not receiving ticket notifications, that's why.
I'll give it a try later. Thank you for considering that.
I've tried that and it does not work. The order of the argument is not render in a way that is understood by the cli tool.
I have something like the following
With this syntax, here is the error generated
Invalid command </path/to/key>I know, I've had hard time to validate my email when creating my account.
Ah that's unfortunate! I guess this ticket really needs to be implemented for this functionality to work.
I would like to work on this issue!!
Sounds good! It's hopefully pretty straightforward, but please let me know if you have any questions along the way.
This is now implemented in main by @gautamaggarwal2810 and will be part of the next release!
Great! Thank you for that.
Released in borgmatic 2.0.0!