nodemailer / smtp-server

Create custom SMTP servers on the fly
Other
862 stars 146 forks source link

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

Closed Neustradamus closed 10 months ago

Neustradamus commented 10 months ago

Dear @nodemailer team,

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:

andris9 commented 10 months ago

Thank you. I have no plans to add SCRAM methods to the SMTP-server module. Honestly, I don't see any value in SCRAM in the context of TLS and as such, I do not have any time to spend on it. However, I am willing to accept pull requests if you would implement this functionality for the SMTP-server module yourself.

Neustradamus commented 10 months ago

@andris9: It is not only for SMTP, there are IMAP, POP3 too. It is in RFC and it is the best security solution.

You can see here a list of products:

You are in the NOTHING list.

Do not forget to remove all old and unsecure mechanisms for security of users...

andris9 commented 10 months ago

I'll gladly accept any pull requests that would add these mechanisms for SMTP, POP3 and IMAP.

Neustradamus commented 10 months ago

Badly, I will not do it, I have informed the @nodemailer team. But for people: ticket closed = it is solved. Currently nodemailer & co are not secure. Time to reopen it.

andris9 commented 10 months ago

The entire Nodemailer team is just me. This is why I don't have time to add all these additional features, and I'm expecting PRs from interested parties.

Neustradamus commented 10 months ago

@andris9: I see, I invite you to look to improve and secure the project...

Please to do not close an unsolved ticket.