- 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
-
- Apr 22, 2017
-
-
Jaime Pérez Crespo authored
This way we we allow those writing themes to use twig extensions, filters, or anything they may need.
-
- 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.
-
Jaime Pérez Crespo authored
This allows custom themes to inject data for all templates by simply adding a new hook.
-
Jaime Pérez Crespo authored
Add a check to the constructor of the new redis store to check if predis/predis is available, and throw a critical configuration error if not.
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
It actually needs a DOMNode, so it has been renamed to isDOMNodeOfType(). Additionally, some superfluous asserts() have been removed, and SimpleSAML\Utils\XML::getDOMChildren() has also changed its signature, as it should also receive a DOMNode, not a DOMElement.
-
Jaime Pérez Crespo authored
If something fails, an exception would be thrown, instead of “false” being returned. Also, at this point we are sure that the return value will be a string, because the call to fetch() does not set the third parameter ($getHeaders) to true.
-
Jaime Pérez Crespo authored
-
Matt Schwager authored
-
- Mar 28, 2017
-
-
Sergio Gómez authored
-
Sergio Gómez authored
-
Sergio Gómez authored
-
Sergio Gómez authored
-
Sergio Gómez authored
-
- Mar 27, 2017
-
-
Sergio Gomez authored
-
Sergio Gomez authored
-
- Mar 17, 2017
-
-
Jaime Pérez Crespo authored
Use it when constant-time comparisons are needed to avoid side-channel attacks.
-
- Feb 22, 2017
-
-
Jaime Pérez Crespo authored
To put it differently, to avoid OSX machines being identified as windows boxes, “darwin” should be evaluated *before* “win”.
-
- Feb 14, 2017
-
-
Jaime Pérez Crespo authored
Make the language parameter name available to the templates, and remove that parameter from the queryParams entry in the template data. This allows us to focus on the “real” parameters, ignoring language selection routines. It also allows us to build our own language bar the way we want it, not only with links.
-
- Feb 09, 2017
-
-
Jaime Pérez Crespo authored
This allows us to build the language switching links even when we have query parameters that would otherwise get lost.
-
- Jan 29, 2017
-
-
Tim van Dijen authored
The exception was never raised because $stats will be array(false) on failure instead of just false.
-
- Jan 20, 2017
-
-
Tyler Antonio authored
-
- Jan 16, 2017
-
-
Jaime Pérez Crespo authored
If a standard port is specified, then ignore it. Otherwise, include the port in the check so that non-standard ports must be whitelisted explicitly.
-
- Jan 12, 2017
-
-
Jaime Pérez Crespo authored
Formatting, namespaces, phpdoc.
-
- Jan 10, 2017
-
-
Jaime Pérez authored
This resolves #476.
-
Jaime Pérez authored
-
- Dec 22, 2016
-
-
Jaime Pérez authored
Minor format and exception message fixes, plus add information about the different communication channels we have today.
-
- Dec 21, 2016
-
-
Andreas Åkre Solberg authored
-
- Dec 15, 2016
-
-
Guy Halse authored
-
- Dec 12, 2016
-
-
Jaime Pérez authored
-