antelle / argon2-browser

Argon2 library compiled for browser runtime
https://antelle.net/argon2-browser
MIT License
367 stars 79 forks source link

Argon2di support #4

Closed tmolitor-stud-tu closed 6 years ago

tmolitor-stud-tu commented 6 years ago

Is the "new" argon2di mode supported, too?

antelle commented 6 years ago

What is it? I can’t find it on the format description page.

tmolitor-stud-tu commented 6 years ago

Sorry, had a typo. The name is Argon2id. See here: https://en.wikipedia.org/wiki/Argon2

Argon2id is a hybrid version. It follows the Argon2i approach for the first pass over memory and the Argon2d approach for subsequent passes. The Internet-Draft[4] recommends using Argon2id except when there are reasons to prefer one of the other two modes.

And here: https://www.cryptolux.org/images/0/0d/Argon2.pdf (page 5):

Type y of Argon2: 0 for Argon2d, 1 for Argon2i, 2 for Argon2id.

In the ietf draft (https://datatracker.ietf.org/doc/draft-irtf-cfrg-argon2/?include_text=1)

Argon2 has one primary variant: Argon2id, and two supplementary variants: Argon2d and Argon2i.

antelle commented 6 years ago

No, only argon2d is supported, as described in KDBX4 spec. If you have further comments regarding the format, it's for KeePass forums.

inkeliz commented 6 years ago

I think will be nice to have the Argon2id support. The LibSodium chooses the Argon2id by default in the last version. :\

Extarys commented 6 years ago

I agree

aerth commented 6 years ago

Argon2id is missing: http://antelle.net/argon2-browser/

antelle commented 6 years ago

Sorry, there's no point to report that another Argon implementation in missing. We won't support it unless it's supported in KeePass.