jonhoo / rust-imap

IMAP client library for Rust
Apache License 2.0
484 stars 84 forks source link

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

Open Neustradamus opened 10 months ago

Neustradamus commented 10 months ago

Dear @jonhoo,

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:

jonhoo commented 9 months ago

This would be a substantial amount of work (see also https://github.com/jonhoo/rust-imap/issues/276#issuecomment-1875527791). As with #276, I think the path forward here would be to get https://github.com/jonhoo/rust-imap/pull/243 over the finish line and then to go from there.