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

Question about entry history #34

Raggaer opened this Issue Feb 22, 2019 · 2 comments


None yet
2 participants
Copy link

Raggaer commented Feb 22, 2019

Hello, when I modify an entry (lets say I modify Title, UserName, Password and URL) I should create a history struct, append 4 entries (foreach value modified) and append that history into entry.Histories?



This comment has been minimized.

Copy link

tobischo commented Feb 24, 2019

Hi Raggaer,
entry.Histories are a list of what the entries used to be like.
Therefore it can actually show the change to multiple fields within one entry (as the original entry would be copied and added to the list)
As far as I know the original Keepass2 does not create a new entry for each individual field change but considers a change to an entry all fields changed at once.
Therefore it is up to you whether you want to add one entry or more.
Technically you do not even have to add these entries at all. Keepass2 and other programs supporting the file format just won't know about the previous states of an entry then.


This comment has been minimized.

Copy link

Raggaer commented Feb 24, 2019

Thanks for the answer

@Raggaer Raggaer closed this Feb 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.