Skip to content

saml2 frontend not encrypting assertions #505

Description

@gabor-lbl

A request from an SP with an override to the default policy (eg. encrypt_assertion: false) will cause the override to be present in the default policy for later requests without an override. This is because the code updates a reference to the default policy dict here: https://github.com/IdentityPython/SATOSA/blob/master/src/satosa/frontends/saml2.py#L399

A possible fix would be to add .copy() on line 398: sp_policy = policies.get('default', {}).copy() so the default policy is not mutated later.

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