Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Neustradamus opened this issue Nov 23, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Neustradamus
Copy link

Dear @atc0005,

Can you add supports of :

  • SCRAM-SHA-1
  • SCRAM-SHA-1-PLUS
  • SCRAM-SHA-256
  • SCRAM-SHA-256-PLUS
  • SCRAM-SHA-512
  • SCRAM-SHA-512-PLUS
  • SCRAM-SHA3-512
  • SCRAM-SHA3-512-PLUS

You can add too:

  • SCRAM-SHA-224
  • SCRAM-SHA-224-PLUS
  • SCRAM-SHA-384
  • SCRAM-SHA-384-PLUS

"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:

  • RFC5803: Lightweight Directory Access Protocol (LDAP) Schema for Storing Salted: Challenge Response Authentication Mechanism (SCRAM) Secrets: https://tools.ietf.org/html/rfc5803

HTTP:

2FA:

IANA:

Linked to:

@atc0005
Copy link
Owner

atc0005 commented Nov 24, 2024

@Neustradamus What is the context for this request?

Do you use the plugins from this project in your environment?

@Neustradamus
Copy link
Author

@atc0005: Several mailservers use SCRAM and it is secure.
Not like PLAIN/CRAM-MD5/DIGEST-MD5.

@atc0005
Copy link
Owner

atc0005 commented Nov 25, 2024

Thanks for the feedback.

At the moment my time on this project is mostly "maintenance mode": I'll work towards fixing reported bugs or updating dependencies as needed.

If you use the plugin from this project please feel free to open a discussion or file a bug report for issues that you encounter.

If you submit a PR to add support please tag me and I'll take a look.

@atc0005 atc0005 added the enhancement New feature or request label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants