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

kp hangs on opening my Keepass2 database and takes 100% of ressources on one CPU core. #11

Open
sebma opened this issue Apr 13, 2016 · 4 comments

Comments

@sebma
Copy link

sebma commented Apr 13, 2016

Hi,

kp hangs on opening my Keepass2 database and takes 100% of ressources on one CPU core:

$ kp --version
kp version 0.1.0
$ time kp -d ~/keepass2_Seb.kdbx -k ~/keepass2_Seb.key list
Password: 
^C

real    10m54.082s
user    10m42.775s
sys 0m1.216s

Can you help ?

@sebma sebma changed the title kp hangs on opening my Keepass2 database. kp hangs on opening my Keepass2 database and takes 100% of ressources on one CPU core. Apr 13, 2016
@reinefjord
Copy link

Seems like python-keepassx does not support KeePass 2.x (.kdbx) files: #1

@braoru
Copy link

braoru commented Jul 26, 2016

Any news on kdx file support ?

@vfabrizi-tw
Copy link

vfabrizi-tw commented Sep 20, 2019

So,
these are the metadata:
{'contents_hash': b'ZK\xd3\xdf\DOCTOREDx85\x8e\x8d\xdb\x9aJ\x98\x11' b'\xfe\x05 \x00\xba\x84\x97\x9c\xb8P\xe5\x1e*\x15z\t', 'encryption_iv': b'\x04\x00\DOCTORED\x00\x00\x04 \x00\xe8\xb1\xfa\xa7\xd6\xdfx', 'flags': 196609, 'key_encryption_rounds': 3380019216, 'master_seed': b'\xc1\xf2\xe6\DOCTORED\x05!j\xfcZ\xff\x03', 'master_seed2': b'\x84/q\xa1u\DOCTORED\x08\xbfE{\xab\x9e\x18T\xa3\x16\xa0R' b'\x06\x08\x00\xa0\x86\x01\x00\x00\x00\x00\x00\x07', 'num_entries': 90647772, 'num_groups': 3885559681, 'signature1': 2594363651, 'signature2': 3041655655, 'version': 822087682}

and the kp hangs because of key_encryption_rounds being that large.

Vi.

@albinscode
Copy link

albinscode commented Apr 9, 2020

Same problem on my side, using kdbx generated by keepass2.

Instead, I'm using kpcli on my ubuntu 19.10. I was interested into copying/pasting from command line a given entry and that does the job.

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