- Feb 14, 2020
-
-
Tim van Dijen authored
* Migrate assertions to Webmozart
-
- Dec 24, 2019
-
-
Tim van Dijen authored
-
Pavel Břoušek authored
-
Tim van Dijen authored
* Raise minimum PHP version to 7.0 * Remove tests pre-PHP 7.2 * Upgrade dev dependencies * Ignore tests for deprecated class * Add typehints; not touching public API * Remove none-array replacements-param; old behaviour from pre-1.4 release * Psalm fixes * Add upgrade notes * PSR-12
-
- Oct 01, 2019
-
-
Tim van Dijen authored
PSR-12 compliancy
-
- Sep 24, 2019
-
-
Jaime Pérez Crespo authored
This is due to a recent change in master. We're no longer trying to fill the sessionID for transient sessions (doesn't even make any sense), so everywhere else where we were checking the session ID (e.g. to store the session) we need to check if it's transient instead, and give up in that case.
-
- Sep 16, 2019
-
-
Jaime Pérez Crespo authored
It just doesn't make any sense. If we managed to get it from an existing cookie, it serves no purpose, as at this point we couldn't load the session anyway, and what we use to track users is the track ID, not the session ID. Additionally, since this is a transient session, we're not going to push the cookie to the browser (we might not even can do that), so it's really pointless to set the session ID. This, additionally, was causing that the Session class would be unable to initialize and register a transient session if the issue that forced us to use a transient in the first place was an issue with the session handler (e.g. missing PHP extensions or dependencies, or connection failure to the backend, etc). Under such circumstances, the code removed here will not work either, since the session handler will continue to fail to initialize. This would cause the exception handler to jump in, completely losing control of the execution, and making it impossible to display the error to the user (since the transient session creation is never completed, it cannot be used later where it is needed in the SimpleSAML\Error\Error class). This resolves #914.
-
Jaime Pérez Crespo authored
This comment used to be true, but the behaviour was changed in 3c52b289 in order to purge old data more often.
-
- Sep 04, 2019
-
-
Jaime Pérez Crespo authored
The SimpleSAML\Session::expireData() method did not mark the session as dirty when there was expired data on it, so if nothing else changed, the data was never actually purged. It was done like this by design, but in practice, it seems like sessions aren't modified as often, meaning they end up growing a lot with each state array that's stored on them, and expired data is never removed. We now check for expired data in the save() method (which is run every time a session is destroyed, if not manually) and if there is any, we mark the session as dirty, so that it is actually updated in the backend. Most of the time this will be transparent and have no visible performance hit, as it'll be run after the response is sent, during shutdown. This closes #1053
-
- Aug 31, 2019
-
-
Tim van Dijen authored
-
- Jul 08, 2019
-
-
Tim van Dijen authored
-
- Jun 06, 2019
-
-
Tim van Dijen authored
-
- Feb 03, 2019
-
-
Tim van Dijen authored
-
Tim van Dijen authored
Fixes for the remainder of lib/SimpleSAML
-
- Jan 13, 2019
-
-
Tim van Dijen authored
-
- Nov 02, 2018
-
-
Tim van Dijen authored
-
- Oct 17, 2018
-
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
This way we can clear their state as well between tests, not only the configuration. This allows for richer functional testing.
-
Arno van der Vegt authored
-
- Sep 26, 2018
-
-
Tim van Dijen authored
-
- Aug 24, 2018
-
-
Tim van Dijen authored
-
- Aug 22, 2018
-
-
Tim van Dijen authored
-
- Aug 13, 2018
-
-
Tim van Dijen authored
-
- Aug 06, 2018
-
-
Tim van Dijen authored
-
- Aug 05, 2018
-
-
Tim van Dijen authored
-
- May 31, 2018
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Apr 13, 2018
-
-
Matt Schwager authored
-
- Feb 02, 2018
-
-
Jaime Pérez Crespo authored
-
Daniel Falkner Hansen authored
-
- Jan 26, 2018
-
-
Daniel Falkner Hansen authored
-
- Jan 04, 2018
-
-
Tim van Dijen authored
-
- Nov 29, 2017
-
-
Tim van Dijen authored
-
- Oct 19, 2017
-
-
fentie authored
-
- Jun 06, 2017
-
-
Jaime Pérez Crespo authored
When unserializing the session fails, the handler should return null instead of false. Additionally, SimpleSAML_Session::load() should make sure that it got an instance of SimpleSAML_Session, to avoid any misbehaving handlers to generate an issue. This resolves #616.
-
- Apr 01, 2017
-
-
Sergio Gómez authored
-
- Mar 17, 2017
-
-
Jaime Pérez Crespo authored
Use it when constant-time comparisons are needed to avoid side-channel attacks.
-
- Dec 05, 2016
-
-
Jaime Pérez authored
-