Skip to content
Snippets Groups Projects
  1. Dec 29, 2017
  2. Oct 25, 2017
  3. Oct 19, 2017
  4. Sep 01, 2017
  5. 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
  6. Apr 26, 2017
  7. Mar 30, 2017
  8. Mar 17, 2017
  9. Jan 10, 2017
  10. Aug 05, 2016
  11. Jul 31, 2015
  12. Jul 20, 2015
  13. Jun 20, 2015
  14. Apr 23, 2015
  15. Apr 20, 2015
  16. Apr 16, 2015
  17. Jul 09, 2014
  18. Feb 09, 2014
  19. Nov 04, 2011
  20. Nov 03, 2011
  21. Oct 28, 2011
Loading