Skip to content
Snippets Groups Projects
  1. Jun 21, 2018
    • Antoine R. Dumont's avatar
      8a0cc22a
    • 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
  2. Jun 16, 2018
  3. Jun 15, 2018
  4. Jun 14, 2018
  5. Jun 13, 2018
  6. Jun 05, 2018
  7. May 18, 2018
  8. Mar 07, 2018
  9. Feb 09, 2018
  10. Jan 31, 2018
  11. Jan 23, 2018
  12. Jan 19, 2018
  13. Jan 17, 2018
  14. Jan 15, 2018
  15. Jan 14, 2018
  16. Dec 20, 2017
  17. Dec 13, 2017
  18. Dec 12, 2017
  19. Nov 02, 2017
  20. Oct 12, 2017
  21. Oct 05, 2017
  22. Oct 04, 2017
  23. Oct 03, 2017
  24. Sep 19, 2017
    • Stefano Zacchiroli's avatar
      docs/: add sub document data-model.rst · ac3df91a
      Stefano Zacchiroli authored
      Currently just a stub (but with a hereby fixed anchor) to allow linking to it
      from other part of the development documentation. Will be fillen later on with
      an abstract description of the Software Heritage data model.
      ac3df91a
Loading