Skip to content

SAML 1.1 - the moment variable "now" is mutated for AuthenticationInstant #32

Description

@georgibakken

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions