Skip to content

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

Open

Description

@Neustradamus

Dear @roundcube team, @owncloud team, @karlitschek, @alecpl, @thomascube, @vbenincasa,

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

A "big" list has been done in last link of this ticket.


SCRAM-SHA-1(-PLUS):

SCRAM-SHA-256(-PLUS):

SCRAM-SHA-512(-PLUS):

SCRAM-SHA3-512(-PLUS):

SCRAM BIS: Salted Challenge Response Authentication Mechanism (SCRAM) SASL and GSS-API Mechanisms:

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

JMAP:

2FA:

IANA:

Linked to:

Activity

  1. added this to the later milestone on Sep 8, 2019
  2. alecpl commented on Sep 8, 2019

    @alecpl
    Member

    Auth_SASL has some SCRAM support so it should be doable, but I will not give it a high prio. Any help appreciated.

  3. Neustradamus commented on Sep 8, 2019

    @Neustradamus
    Author

    It can be ok for 1.4?

  4. alecpl commented on Sep 9, 2019

    @alecpl
    Member

    There's only one difference between these two libs. They handle errors differently. SO, there's no reason to switch.

  5. Neustradamus commented on Sep 9, 2019

    @Neustradamus
    Author

    What is missing for SCRAM in 1.4 RC1 for 1.4 release?

    Note: SCRAM is for LDAP too.

  6. alecpl commented on Sep 9, 2019

    @alecpl
    Member
    1. Make sure pear/Auth_SASL has everything you need. It might not support *-PLUS variants, but I didn't look at this.
    2. Add SCRAM auth support to rcube_imap_generic.
    3. Add SCRAM auth support to pear/Net_Sieve.
    4. Add SCRAM auth support to pear/Net_SMTP.
    5. Add SCRAM auth support to kolab/Net_LDAP3.
  7. Neustradamus commented on Sep 9, 2019

    @Neustradamus
    Author

    Yes, I think it is not supported yet for -PLUS variants, but it is already good point :)

  8. Neustradamus commented on Nov 15, 2019

    @Neustradamus
    Author

    @alecpl: Any news?
    I have seen that Roundcube 1.4 is out!

  9. alecpl commented on Nov 16, 2019

    @alecpl
    Member

    I'm not working and not plan to work on this in foreseable future. It's not a prio for me. Pull requests appreciated.

  10. Neustradamus commented on Nov 17, 2019

    @Neustradamus
    Author

    @alecpl, @kanarip: Can you look for kolab/Net_LDAP3 and SCRAM?
    I have looked here: https://git.kolab.org/diffusion/PNL/history/master/

    @alecpl: Your are here too :)

    I have done a ticket for pear/Net_SMTP: pear/Net_SMTP#57

    For pear/Auth_SASL, all except -PLUS variants are good.

  11. changed the title [-]SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) supports[/-] [+]SCRAM-SHA-1-PLUS + SCRAM-SHA-256-PLUS + SCRAM-SHA-512-PLUS supports[/+] on Nov 1, 2020
  12. changed the title [-]SCRAM-SHA-1-PLUS + SCRAM-SHA-256-PLUS + SCRAM-SHA-512-PLUS supports[/-] [+]SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) supports[/+] on Nov 1, 2020
  13. Neustradamus commented on Nov 8, 2020

    @Neustradamus
    Author

    @alecpl: Can you add "Issues" section (or it must be owner of PEAR) in https://github.com/pear/Net_Sieve?

    Have you progressed on SCRAM?
    To have a best security?

    Note, after SCRAM-SHA-1(-PLUS):

  14. Neustradamus commented on Nov 17, 2020

    @Neustradamus
    Author

    @alecpl: SquirrelMail has SCRAM, it is possible to add in Roundcube?

  15. Neustradamus commented on Jul 18, 2021

    @Neustradamus
    Author

    @alecpl: Have you progressed on it?

  16. Neustradamus commented on Jan 7, 2022

    @Neustradamus
    Author

    Dear @roundcube team, @alecpl, @thomascube, @vbenincasa,

    Happy New Year 2022!

    Have you looked for SCRAM-SHA-* supports?
    The first step is without -PLUS variants.

    Thanks in advance.

    cc: @jparise

  17. Neustradamus commented on Jan 12, 2022

    @Neustradamus
    Author

    I have forgotten to inform you, SCRAM-SHA-256/SCRAM-SHA-256-PLUS are in the new IMAP, I have added the last RFC in the description: RFC9051: Internet Message Access Protocol (IMAP) - Version 4rev2:

    I wish you a good reading ^^

  18. pkolmann commented on Apr 27, 2023

    @pkolmann

    Please consider when implementing SCRAM-SHA-* that the whole SCRAM-algorithm should run on the Client, not the PHP on the server.

    UseCase: Company Firewall with deep packet inspection should not get the plaintext password in the HTTPS traffic...

  19. Neustradamus commented on Oct 28, 2023

    @Neustradamus
    Author

    @roundcube team, @alecpl: Net_SMTP (with Auth_SASL/Auth_SASL2) has now SCRAM-SHA-* features, old mechanisms have been deprecated.
    Not yet -PLUS variants but a big progress done by @schengawegga and you can use.

    Can you look for rcube_imap_generic, Net_Sieve, Net_LDAP3?

  20. Neustradamus commented on Dec 23, 2023

    @Neustradamus
    Author

    @alecpl: Can you look for rcube_imap_generic, Net_Sieve, Net_LDAP3?

    It is already in pear/Auth_SASL, pear/Net_SMTP:

    Thanks in advance.

    cc: @schengawegga.

  21. Neustradamus commented on Jan 26, 2024

    @Neustradamus
    Author

    Dear @karlitschek, @nextcloud team.

    I wish you a Happy New Year 2024!

    Can you add SCRAM supports in Roundcube and in Nextcloud?

  22. Neustradamus commented on Nov 21, 2024

    @Neustradamus
    Author

    @pabzm: Can you solve this issue for security?

    Thanks in advance.

  23. pabzm commented on Nov 21, 2024

    @pabzm
    Member

    As @alecpl said five years ago: Pull requests welcome. Roundcube is very much a community project. If you care for this feature:

    • find more people that want it. You're the only one since years who asks for it. Repeatedly tagging single people to push for it won't make it happen.
    • find someone who implements it. The dev team has limited time, too, we can't do all the work.
  24. Neustradamus commented on Nov 21, 2024

    @Neustradamus
    Author

    @schengawegga has done a lot of work in PEAR repositories but I do not know about Roundcube.
    Hope an answer.

  25. Neustradamus commented on Jul 23, 2025

    @Neustradamus
    Author

    @Danelif, @josaphatim: You have done a good part in Cypht, it is possible to look Roundcube?

  26. Neustradamus commented on Oct 2, 2026

    @Neustradamus
    Author

    Dear @roundcube team, @owncloud team, @alecpl, @pabzm, @karlitschek, and all others,

    It is in progress for Channel Binding in PHP, can you test it?

    Feedback is very important for the PHP PR author...

    cc: @Danelif, @josaphatim, @schengawegga.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions