kp hangs on opening my Keepass2 database and takes 100% of ressources on one CPU core.
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 ?
Seems like python-keepassx does not support KeePass 2.x (.kdbx) files: #1
Any news on kdx file support ?
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.
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.