Skip to content

remove dead eb.encrypted_assertions_require_outer_signature feature flag#2004

Open
kayjoosten wants to merge 1 commit into
mainfrom
feature/issue-2002-remove-outer-signature-flag
Open

remove dead eb.encrypted_assertions_require_outer_signature feature flag#2004
kayjoosten wants to merge 1 commit into
mainfrom
feature/issue-2002-remove-outer-signature-flag

Conversation

@kayjoosten
Copy link
Copy Markdown
Contributor

The flag has been inoperative since 2018: Bindings.php unconditionally rejects encrypted assertions without an outer signature regardless of the flag value. Wiring it up is not viable because the SAML2 library checks wasSignedAtConstruction() on the original EncryptedAssertion objects (before decryption), which always returns false, so the library itself would reject such responses too.

Removes the flag from engineblock_features.yaml, parameters.yml.dist, TestFeatureConfiguration, and cleans up the Behat scenarios that referenced it (removing the @Skip scenario that tested the broken path).

Closes #2002

The flag has been inoperative since 2018: Bindings.php unconditionally
rejects encrypted assertions without an outer signature regardless of
the flag value. Wiring it up is not viable because the SAML2 library
checks wasSignedAtConstruction() on the original EncryptedAssertion
objects (before decryption), which always returns false, so the library
itself would reject such responses too.

Removes the flag from engineblock_features.yaml, parameters.yml.dist,
TestFeatureConfiguration, and cleans up the Behat scenarios that
referenced it (removing the @Skip scenario that tested the broken path).

Closes #2002
@kayjoosten kayjoosten requested a review from johanib May 19, 2026 13:30
@johanib
Copy link
Copy Markdown
Contributor

johanib commented May 21, 2026

Don't merge before Bas has approved its removal.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix or remove encrypted_assertions_require_outer_signature

2 participants