You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 3, 2026. It is now read-only.
SAML 1.1 - the moment variable "now" is mutated for AuthenticationInstant #32
In line 69 the timestamp variable now has time added to it, which mutates the original time.
now is then re-used later when setting the AuthenticationInstant, however it is not the current time being set, but the mutated one. This leads to the AuthenticationInstant having the same time as the NotOnOrAfter attribute.
A possible fix is to re-initialise the now variable, after it's mutated.
Activity
hauntingEcho commentedon Oct 31, 2017
another possible fix would be to use
now.clone().addinstead ofnow.add, like 2.0 doesgeorgibakken commentedon Nov 1, 2017
Nice - thats a good fix. Thank you :)