libkeepass / pykeepass

Python library to interact with keepass databases (supports KDBX3 and KDBX4)
https://pypi.org/project/pykeepass/
GNU General Public License v3.0
403 stars 96 forks source link

It does not decodes entry.password for KeePass 2.53.1 64-bit #368

Closed ManuelLatzo closed 4 months ago

ManuelLatzo commented 6 months ago

entry.password types kind of "s7C94AlInrk= "

password 12345678 decodes as o4pnKoMpFRI=

ManuelLatzo commented 6 months ago

the same issue for KeePass 2.55

Faetu commented 6 months ago

Same issue here. Do you have a workaround?

ManuelLatzo commented 6 months ago

Same issue here. Do you have a workaround? I am using custom_property methods, see below

entry.set_custom_property("auth_password".encode('utf-8').decode('iso-8859-1','ignore'),value="password")
entry.save_history()
...
entry.get_custom_property('auth_password')
...
kp.save()
Evidlo commented 4 months ago

Can you give more detail on how to reproduce this or provide an example file? I created a brand-new database with Keepass2 2.55 and was able to read the passwords with PyKeePass fine.

ManuelLatzo commented 4 months ago

Thanks for an update, agree version starting from 2.55 work just fine.