Skip to content
Snippets Groups Projects
  1. Aug 30, 2021
    • Julian's avatar
      Restrict password alphabet to SASLprep-safe ASCII subset · cb2d7f35
      Julian authored
      Prior to this change user passwords were not validated on change aside from
      their length, but validated on login/bind by ldap3 with SASLprep. Instead of
      using SASLprep on password change, this change restricts passwords to 7-bit
      ASCII without control characters. Control characters are forbidden by
      SASLprep. Multi-byte characters are uncommon in password, especially in those
      generated by password managers. This ensures that passwords are always
      SASLprep-safe without implementing the rather complex SASLprep algorithm. It
      also allows us to fully describe the alphabet restrictions in the relevant
      forms.
      
      Fixes #100
      cb2d7f35
    • Julian's avatar
      Catch LDAPSASLPrepError on login · 3f6a67ea
      Julian authored
      Ldap3 raises LDAPSASLPrepError on bind if the password contains characters
      forbidden by SASLPrep (string preperation/normalization algorithm for user
      names and passwords). Examples are carriage return ("\r") or newline ("\n")
      characters. See #100.
      3f6a67ea
  2. Aug 14, 2021
  3. Jul 30, 2021
  4. Jul 29, 2021
  5. Jul 26, 2021
  6. Jul 23, 2021
  7. Jun 22, 2021
  8. Jun 17, 2021
  9. Jun 13, 2021
  10. Jun 12, 2021
  11. May 21, 2021
  12. May 15, 2021
  13. May 14, 2021
  14. May 11, 2021
  15. May 01, 2021
  16. Apr 05, 2021
  17. Mar 14, 2021
  18. Feb 27, 2021
  19. Feb 23, 2021
  20. Feb 19, 2021
  21. Feb 15, 2021
  22. Jan 29, 2021
  23. Nov 26, 2020
  24. Nov 04, 2020
  25. Nov 03, 2020
  26. Oct 26, 2020
Loading