Skip to content

Support CRAM-MD5 or SCRAM-SHA-* for SMTP email submission #29333

Closed

Description

@jas4711

Nextcloud only supports LOGIN, PLAIN and NTLM for SMTP email sending server authentication -- see Settings -> General -> Email. Supporting CRAM-MD5 and/or the newer SCRAM-SHA-* would be great.

Activity

  1. joshtrichards commented on Jul 8, 2023

    @joshtrichards
    Member

    Done.

    CRAM-MD5 support added in #30349 and documented in nextcloud/documentation#10023. Released in NC26.

    https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html?highlight=crammd5#configuring-an-smtp-server

    Please close this Issue out.

    P.S. If you want support for any additional methods, you'll have to take that upstream since we rely Symfony Mailer. :-)

  2. Neustradamus commented on Aug 6, 2023

    @Neustradamus

    @nextcloud team, @joshtrichards: Sorry, but it is time to remove CRAM-MD5, it is old and unsecure (it is same for DIGEST-MD5, LOGIN):

    Can you add SCRAM-SHA-*(-PLUS)?

    SCRAM-SHA-1(-PLUS):

    SCRAM-SHA-256(-PLUS):

    SCRAM-SHA-512(-PLUS):

    SCRAM-SHA3-512(-PLUS):

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

    Thanks in advance.

  3. jas4711 commented on Aug 6, 2023

    @jas4711
    Author

    I don't think CRAM-MD5 should be removed -- the IETF never got around to deprecating it, IIRC. CRAM-MD5 is not insecure when used under TLS. While I agree with adding SCRAM, I think that should be filed as a separate bug (possibly in Symfomy as suggested). Since my original request has been fixed (adding CRAM-MD5 or SCRAM) I am closing this request. Thank you for adding CRAM-MD5!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions