Skip to content
Snippets Groups Projects
  1. Mar 16, 2022
  2. Jan 06, 2022
  3. Sep 07, 2021
  4. Jul 28, 2021
  5. Mar 12, 2021
    • Tim van Dijen's avatar
      Migrate utility-classes to non-static (#1373) · 0d61a9e5
      Tim van Dijen authored
      * Migrate array utils to non-static
      
      * Migrate attribute utils to non-static
      
      * Migrate auth utils to non-static
      
      * Migrate config utils to non-static
      
      * Migrate crypto utils to non-static
      
      * Raise coverage
      
      * Fix rebase issue
      0d61a9e5
  6. Jan 11, 2021
  7. Sep 10, 2020
  8. Jun 13, 2020
  9. Apr 29, 2020
  10. Feb 15, 2020
  11. Feb 14, 2020
  12. Dec 24, 2019
  13. Oct 07, 2019
  14. Oct 01, 2019
  15. Aug 12, 2019
  16. Jul 29, 2019
  17. Mar 23, 2019
    • Tim van Dijen's avatar
      Fix build (#1085) · 6eed6144
      Tim van Dijen authored
      * Update Psalm
      
      * Ignore DocblockTypeContradiction and RedundantConditionGivenDocblockType
      
      * Fix Psalm-errors
      
      * Raise minimum PHP-version to 5.6
      
      * Update lock-file accordingly
      
      * Fix phpunit
      
      * Suppress Psalm-issue
      6eed6144
  18. Nov 21, 2018
  19. Oct 20, 2018
  20. Oct 17, 2018
  21. Aug 22, 2018
  22. Aug 13, 2018
  23. May 31, 2018
  24. Jan 08, 2018
    • Jaime Pérez Crespo's avatar
      Revert "Fix psalm issues." · 0621db8a
      Jaime Pérez Crespo authored
      This reverts commit 9ad60fe1.
      0621db8a
    • Jaime Pérez Crespo's avatar
      Fix psalm issues. · 9ad60fe1
      Jaime Pérez Crespo authored
      Psalm is starting to get annoying. Both openssl_decrypt() and realpath() can return a string or false on error. Psalm seems to ignore the latter all of a sudden, so it assumes the returned variable will always be a string and then it fails when you check on errors. This fix explicitly declares the problematic variables with types string or false, so that psalm stops complaining.
      9ad60fe1
  25. Jan 06, 2018
  26. Dec 29, 2017
  27. Oct 25, 2017
  28. Oct 19, 2017
  29. Sep 01, 2017
  30. May 05, 2017
    • Matt Schwager's avatar
      Added tests for SimpleSAML\Utils\Crypto · 8e39cd49
      Matt Schwager authored
      This also required adding an additional argument to
      SimpleSAML\Utils\Crypto::loadPrivateKey to ease in testing. Without
      this additional argument, SimpleSAML_Configuration::getBaseDir eventually
      gets called to determine the private key location.  This doesn't work
      well with vfsstream. This argument shouldn't cause too much trouble, and
      seems cohesive enough with the function's purpose.
      8e39cd49
    • Jaime Pérez Crespo's avatar
      bugfix: SimpleSAML\Utils\Crypto returns true for different strings using PHP < 5.6. · 4bc62965
      Jaime Pérez Crespo authored
      The reason was the lack of conversion to integer for each character of the strings before applying the XOR operator to them. The operator returns always an empty string when applied to two characters, and applying a binary-wise OR between 0 and an empty string, yields 0. Therefore, $diff is always 0, and the function returns true for every two strings with same length, regardless of their contents.
      4bc62965
  31. Apr 26, 2017
Loading