You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Started as this issue aivanovski/keepassvault#240, there are links to other issues inside, but I'm not sure if they provide some clarity.
It looks like there is some incompatibility with pykeepass library and after any field was inserted into database created by kotpass, kotpass interprets that fields as EntryValue.Encrypted. Before modification only password field was EntryValue.Encrypted.
Here are steps to reproduce:
1 - Create new database with kotpass (KeePassDatabase.Ver4x.create all default parameters), check that target field is EntryValue.Plain (use field notes, url, username)
2 - Modify target field with pykeepass
3 - Open database with kotpass, check the type of target field Actuals result: target field is EntryValue.Encrypted Expected result: target field is EntryValue.Plain
Python code for step 2:
frompykeepassimportPyKeePasskp=PyKeePass('test.kdbx', password='abc123')
entry=kp.root_group.entries[0]
entry.notes="Notes from pykeepass"kp.save()
And database file, password is abc123: test.kdbx.zip
The text was updated successfully, but these errors were encountered:
Started as this issue aivanovski/keepassvault#240, there are links to other issues inside, but I'm not sure if they provide some clarity.
It looks like there is some incompatibility with pykeepass library and after any field was inserted into database created by kotpass, kotpass interprets that fields as
EntryValue.Encrypted
. Before modification only password field wasEntryValue.Encrypted
.Here are steps to reproduce:
1 - Create new database with kotpass (
KeePassDatabase.Ver4x.create
all default parameters), check that target field isEntryValue.Plain
(use field notes, url, username)2 - Modify target field with pykeepass
3 - Open database with kotpass, check the type of target field
Actuals result: target field is
EntryValue.Encrypted
Expected result: target field is
EntryValue.Plain
Python code for step 2:
And database file, password is
abc123
:test.kdbx.zip
The text was updated successfully, but these errors were encountered: