Skip to content
Snippets Groups Projects
  1. Sep 17, 2018
  2. Sep 14, 2018
  3. Sep 13, 2018
  4. 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
  5. Jan 14, 2018
  6. Dec 20, 2017
  7. Dec 12, 2017
  8. Sep 15, 2017
  9. Jul 12, 2017
  10. Mar 24, 2017
  11. Mar 21, 2017
  12. Mar 17, 2017
  13. Mar 15, 2017
  14. Apr 02, 2016
  15. Dec 16, 2015
  16. Nov 23, 2015
Loading