xdg-go / scram

Go implementation of RFC-5802 Salted Challenge Response Authentication Mechanism (SCRAM)
Apache License 2.0
47 stars 16 forks source link

SCRAM-SHA-1-PLUS + SCRAM-SHA-256-PLUS + SCRAM-SHA-512-PLUS + SCRAM-SHA3-512(-PLUS) supports #2

Open Neustradamus opened 4 years ago

Neustradamus commented 4 years ago

After:

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:

LDAP:

HTTP:

2FA:

IANA:

Linked to:

Neustradamus commented 2 years ago

@ianwormsbecker-ssimwave: Thanks for your "Add SHA512 HashGeneratorFcn" commit: https://github.com/xdg-go/scram/commit/06066932acdc486a05005a259e9d63a60eeabedd

@xdg for "Add SHA-512 test vector": https://github.com/xdg-go/scram/commit/5295052dde461c380e36de8c923fc303e4f921a7

SCRAM-SHA-512 has been added in 1.1.0 version.

Neustradamus commented 2 years ago

It is official, it is here: RFC 9266: Channel Bindings for TLS 1.3: