Skip to content
Snippets Groups Projects
  1. Nov 16, 2023
  2. Dec 22, 2021
  3. Apr 12, 2021
  4. Sep 25, 2020
  5. Sep 17, 2020
  6. Aug 06, 2020
  7. Aug 04, 2020
  8. Apr 29, 2020
  9. Apr 20, 2020
  10. Apr 08, 2020
    • David Douard's avatar
      Enable black · bf3f1cec
      David Douard authored
      - blackify all the python files,
      - enable black in pre-commit,
      - add a black tox environment.
      bf3f1cec
  11. Oct 01, 2019
  12. Jun 18, 2019
  13. Jun 11, 2019
  14. Oct 08, 2018
  15. Oct 05, 2018
  16. Jun 21, 2018
    • Nicolas Dandrimont's avatar
      Update blake2 support to be less Debian-specific · 90f08eea
      Nicolas Dandrimont authored
      Summary:
      We used to depend on the 'blake2s256' and 'blake2b512' names to be available in
      hashlib.algorithms_available. It turns out that that's specific to OpenSSL 1.1.
      
      We now try, in order:
       - blake2s256/blake2b512 as shipped by libssl1.1 (Python 3.5+ on Debian stretch
       and up)
       - blake2s/blake2b as built into Python 3.6+
       - pyblake2 if all else fails
      
      While we're here, let's also avoid doing not-so-subtle hacks with hashlib
      builtins.
      
      Thanks to Alexios Zavras for the report.
      
      Test Plan:
      New unit tests added to check for behavior in all cases. Manually running the
      tests on Python 3.4 + pyblake2, Python 3.5 and Python 3.6 as shipped by Debian
      exercises all three cases.
      
      Reviewers: zack, #reviewers!
      
      Differential Revision: https://forge.softwareheritage.org/D347
      90f08eea
  17. Jun 16, 2018
  18. Oct 12, 2017
  19. Jul 12, 2017
  20. Jun 26, 2017
  21. Feb 09, 2017
  22. Dec 07, 2015
  23. Nov 23, 2015
Loading