Skip to content

Add Argon2id KDF#5726

Merged
phoerious merged 1 commit intodevelopfrom
feature/argon2id
Dec 3, 2020
Merged

Add Argon2id KDF#5726
phoerious merged 1 commit intodevelopfrom
feature/argon2id

Conversation

@phoerious
Copy link
Copy Markdown
Member

@phoerious phoerious commented Nov 20, 2020

After some discussion in #4317 as to which KDF may become the future default or at least a new option and @DReichl's eagerness to implement Argon2id right away, I have now added it to our code base as a selectable KDF.

If Argon2id lands in KeePass2 rather soon, we can backport this to 2.6, since the surface for potential breakage is very small. I did not touch any of the KDBX4 defaults, so that remains Argon2d for now.

The implementation uses libargon2 for the time begin, since that requires the least amount of code changes. In the future, we may switch to libsodium if we decide we no longer need Argon2d (or if some other miracle happens).

The new KDF UUID is 9e298b19-56db-4773-b23d-fc3ec6f0a1e6.

Testing strategy

I extended the KDBX4 KDF test matrix with the new option.

Type of change

  • ✅ New feature (change that adds functionality)

@phoerious phoerious added this to the v2.7.0 milestone Nov 20, 2020
@phoerious phoerious mentioned this pull request Nov 20, 2020
14 tasks
@phoerious phoerious force-pushed the feature/argon2id branch 2 times, most recently from eb127d4 to 8ff5261 Compare November 20, 2020 21:05
@phoerious
Copy link
Copy Markdown
Member Author

@droidmonkey Bump

phoerious added a commit that referenced this pull request Dec 3, 2020
@phoerious phoerious merged commit 9a96124 into develop Dec 3, 2020
@phoerious phoerious deleted the feature/argon2id branch December 3, 2020 19:07
phoerious added a commit that referenced this pull request Dec 3, 2020
phoerious added a commit that referenced this pull request Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants