Skip to content
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

Unlock KPXC databases on login #1405

Closed
lofidevops opened this issue Jan 19, 2018 · 4 comments
Closed

Unlock KPXC databases on login #1405

lofidevops opened this issue Jan 19, 2018 · 4 comments

Comments

@lofidevops
Copy link

lofidevops commented Jan 19, 2018

User story: I have configured my GNU/Linux desktop to unlock my system keyring on login. I want to open KPXC files without being prompted for a passphrase, so I don't have to worry about passphrases unnecessarily.

This is a specific scenario to be tested after implementing #1404

Expected Behavior

Manually opening a file

Programmatic access

@lofidevops lofidevops changed the title Unlock KXPC databases on login Unlock KPXC databases on login Jan 20, 2018
@Generator
Copy link

That can be done with pw-stdin.
Example of database password stored on libsecret
secret-tool lookup name keepass | keepassxc --pw-stdin --keyfile /path/to/keyfile /path/to/database.kdbx
No passphrase or keyfile prompted.

@sojusnik
Copy link

@Generator A step-by-step approach is described here.

@droidmonkey
Copy link
Member

As mentioned this is already possible using existing features.

@gozzilli
Copy link

gozzilli commented Jan 4, 2024

If it's useful this seems to work for me on macos:
security find-generic-password -s pw-keepassxc -w | /Applications/KeePassXC.app/Contents/MacOS/KeePassXC --pw-stdin /Users/davide/Personal/SynologyDrive/DZHome2.kdbx
after having added a new password called pw-keepassxc to the login Keychain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants