- Oct 07, 2019
-
-
Tim van Dijen authored
-
- Oct 01, 2019
-
-
Tim van Dijen authored
PSR-12 compliancy
-
- Aug 12, 2019
-
-
Tim van Dijen authored
-
- Jul 29, 2019
-
-
Thijs Kinkhorst authored
-
- Mar 23, 2019
-
-
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
-
- Nov 21, 2018
-
-
Tim van Dijen authored
-
- Oct 20, 2018
-
-
Tim van Dijen authored
-
- Oct 17, 2018
-
-
Arno van der Vegt authored
-
- Aug 22, 2018
-
-
Tim van Dijen authored
-
- Aug 13, 2018
-
-
Tim van Dijen authored
-
- May 31, 2018
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Jan 08, 2018
-
-
Jaime Pérez Crespo authored
This reverts commit 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.
-
- Jan 06, 2018
-
-
Tim van Dijen authored
-
- Dec 29, 2017
-
-
Tim van Dijen authored
-
- Oct 25, 2017
-
-
Jaime Pérez Crespo authored
-
- Oct 19, 2017
-
-
fentie authored
-
- Sep 01, 2017
-
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
- May 05, 2017
-
-
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.
-
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.
-
- Apr 26, 2017
-
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
This reverts commit b1b0d0ef.
-
Jaime Pérez Crespo authored
This reverts commit c441f9c9.
-
Jaime Pérez Crespo authored
It looks like mb_substr() doesn’t cope well with NULL as the third parameter in PHP 5.3.
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
- Mar 30, 2017
-
-
Jaime Pérez Crespo authored
IVs must be random and one-time (never reused). Additionally, by deriving it from the key, the key length was effectively reduced to 128 bits.
-
- Mar 17, 2017
-
-
Jaime Pérez Crespo authored
Use it when constant-time comparisons are needed to avoid side-channel attacks.
-
- Jan 10, 2017
-
-
Jaime Pérez authored
This resolves #476.
-
Jaime Pérez authored
-
- Aug 05, 2016
-
-
Thijs Kinkhorst authored
Issue a notice when the option is used nonetheless. Closes: #432
-
- Jul 31, 2015
-
-
Jaime Perez Crespo authored
-
- Jul 20, 2015
-
-
Jaime Perez Crespo authored
Reimplement \SimpleSAML\Utils\Crypto::aesDecrypt() and \SimpleSAML\Utils\Crypto::aesEncrypt() to use openssl instead of mcrypt. This removes the direct dependency on mcrypt and closes #228.
-
- Jun 20, 2015
-
-
Jaime Perez Crespo authored
Move the aes[En|De]crypt() functionality in \SimpleSAML\Utils\Crypto to internal methods where the secret is passed as a parameter. Then we don't need a working configuration to test the functionality.
-
- Apr 23, 2015
-
-
Jaime Perez Crespo authored
Use InvalidArgumentException instead of SimpleSAML_Error_Exception when dealing with wrong input parameters.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::resolveCert() to SimpleSAML\Utils\Config::getCertPath() and deprecate the former.
-