keepassc icon indicating copy to clipboard operation
keepassc copied to clipboard

Support the KeePass 2.x (.kdbx) password database format

Open dave1010 opened this issue 11 years ago • 14 comments

Not sure how simple this would be, but it'd be a great feature.

http://keepass.info/compare.html

dave1010 avatar Sep 19 '12 08:09 dave1010

I was like minded, and much annoyed that none of the CLI programs offered support for KeePassV2.

But I then found out about a neat little feature in KeePassV2 and since then joined the dark side: http://keepass.info/help/kb/trigger_examples.html

It allows you to automagically export your V2 database to V1 format whenever you save your changes, and with a simple sync (e.g. dropbox) you can then use it whenever, wherever.

Cheers.

DevonVille avatar Sep 20 '12 09:09 DevonVille

KeePass 2.x support is planned but actually I don't know anything about this database version. I'll figure this out when I've the time for this.

raymontag avatar Sep 20 '12 11:09 raymontag

Nice trick iwfmp. Wish keepassc supported 2.x though.

rafi avatar Sep 30 '13 21:09 rafi

Glad there's a workaround. Haven't made the move into KeePass yet, but this utility adds weight to the intent :)

@raymontag have you looked more at this? It seems a major undertaking, as the db is a complete swap in formats (and XML parsing is...unfun) Are you still on KeePass 1.x for your use, or are you employing this workaround?

MeanderingCode avatar Oct 09 '13 17:10 MeanderingCode

Honestly I've not found the time , yet, to look at the KeePass 2-code. But I will updare you if I havr an idea in which direction this project will go. All I can say that there will not be big changes in the next time but maybe some new, smaller features.

raymontag avatar Oct 13 '13 12:10 raymontag

If it's of any help, this library is able to read kdbx files

goncalopp avatar Oct 22 '13 22:10 goncalopp

Would be great to have this. In the mean time there's http://kpcli.sourceforge.net/

chrisberkhout avatar Jun 10 '14 05:06 chrisberkhout

Any chance there will ever be v2 support?

gardar avatar Nov 22 '17 01:11 gardar

Not in the python version but it's planned for the rewrite in Rust.

raymontag avatar Dec 14 '17 14:12 raymontag

@raymontag, where can I find the Rust rewrite?

cloudlena avatar Aug 14 '19 12:08 cloudlena

Mini feature request: It would be great to have advice on startup that this doesn't recognise KeePass 2 databases (or even better, when you browse a directory containing a kdbx file).

dcorking avatar Feb 16 '21 14:02 dcorking

@mastertinner raymontag wrote this: https://github.com/raymontag/rust-keepass and there are other Rust projects here https://crates.io/search?page=1&per_page=10&q=keepass (I haven't tried any of them)

dcorking avatar Feb 16 '21 14:02 dcorking

@dcorking Hey, thanks for your interest in this old piece of code :) Unfortunately, I have not the time nor interest to improve the project at the moment. The Rust rewrite is dead as well.

Feel free to fork.

raymontag avatar Feb 16 '21 14:02 raymontag

It is still the only formula returned by brew search keepass so some people must find it useful. I am afraid I switched to kpcli (whose UI is more crude) but thanks for your code and for your speedy reply.

dcorking avatar Feb 16 '21 14:02 dcorking