{"action":"opened","issue":{"url":"https://api.github.com/repos/libkeepass/libkeepass/issues/24","repository_url":"https://api.github.com/repos/libkeepass/libkeepass","labels_url":"https://api.github.com/repos/libkeepass/libkeepass/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/libkeepass/libkeepass/issues/24/comments","events_url":"https://api.github.com/repos/libkeepass/libkeepass/issues/24/events","html_url":"https://github.com/libkeepass/libkeepass/issues/24","id":323875260,"number":24,"title":"v3 vs v4 naming issue and kdbx v4 support","user":{"login":"Evidlo","id":5455841,"avatar_url":"https://avatars1.githubusercontent.com/u/5455841?v=4","gravatar_id":"","url":"https://api.github.com/users/Evidlo","html_url":"https://github.com/Evidlo","followers_url":"https://api.github.com/users/Evidlo/followers","following_url":"https://api.github.com/users/Evidlo/following{/other_user}","gists_url":"https://api.github.com/users/Evidlo/gists{/gist_id}","starred_url":"https://api.github.com/users/Evidlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evidlo/subscriptions","organizations_url":"https://api.github.com/users/Evidlo/orgs","repos_url":"https://api.github.com/users/Evidlo/repos","events_url":"https://api.github.com/users/Evidlo/events{/privacy}","received_events_url":"https://api.github.com/users/Evidlo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-17T05:17:43Z","updated_at":"2018-05-17T05:17:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"It seems like there is some confusion in the codebase over v3 vs v4 databases.  From what I can tell, libkeepass supports KeePass 1.x databases (.kdb) and a subset of KeePass 2.x datbases (.kdbx v3.x only).\r\n\r\nThe newer kdbx v4 databases have a number of significant changes in supported algorithms and structure of binary data.  Here is a summary of the important changes in the [spec](https://keepass.info/help/kb/kdbx_4.html):\r\n\r\n- support for argon2 key derivation\r\n  kdbx v3.x supports AES-KDF only.  v4 supports both and defaults to argon2\r\n- key derivation information has been moved\r\n  - `transform seed` and `transform rounds` header items have been deprecated\r\n  - a new dynamically sized header item with id 11 has been defined\r\n- stream information for salsa20/chacha20 has been moved\r\n  - `inner stream key` and `inner stream id` header items have been deprecated\r\n  - a new dynamically sized binary \"inner header\" has been defined, immediately preceeding the XML data"}}
{"actor":{"display_login":"Evidlo"}}