sbrl / simple-md5-digest

A simple pure-js implementation of DIGEST-MD5. Written for XMPP, but can be used elsewhere.
Mozilla Public License 2.0
2 stars 0 forks source link

SCRAM-SHA-*(-PLUS) request #1

Open Neustradamus opened 2 years ago

Neustradamus commented 2 years ago

Dear @sbrl,

In first, I wish you a Happy New Year!

Maybe you can do it in a new repository to replace unsecure DIGEST-MD5:

Can you add supports of :

You can add too:

"When using the SASL SCRAM mechanism, the SCRAM-SHA-256-PLUS variant SHOULD be preferred over the SCRAM-SHA-256 variant, and SHA-256 variants [RFC7677] SHOULD be preferred over SHA-1 variants [RFC5802]".

https://xmpp.org/extensions/inbox/hash-recommendations.html

-PLUS variants:

IMAP:

LDAP:

HTTP:

2FA:

IANA:

Linked to:

sbrl commented 2 years ago

Woah, it's been ages since I touched this project. This is a lot to take in here - you've made quite the enormous request here. Given that this package is called simple-md5-digest, I would suggest that while an implementation of the above SCRAM protocols would be valuable, they would perhaps be best placed for a new package with a more generic name.