djc / tokio-imap

Tokio-based IMAP implementation
Apache License 2.0
123 stars 42 forks source link

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

Open Neustradamus opened 10 months ago

Neustradamus commented 10 months ago

Dear @djc,

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:

djc commented 10 months ago

Hi, I mostly passively maintain this library, reviewing and merging pull requests from contributors. I don't have much time to write code for it myself. So if you want to contribute code I'm happy to review it, please have a look at the source code and see if you can make sense of it -- if not, I'm happy to answer some questions.