Repository navigation
test(idp-provider): SAML S1 §6 negative integration suite - #17245
Merged
developing-today-fleet[bot] merged 3 commits intoNov 30, 2026
Merged
Conversation
Add HTTP-boundary negative tests to tests/saml_sso.rs: unregistered SP denied + audited (sp_not_registered), wrong ACS denied + audited (acs_mismatch), stale AuthnRequest denied, replayed AuthnRequest denied, and a signature-wrapping injection rejected by the local samael SP. Refs #13793
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
Full-crate cargo test on main failed to compile two test targets: - lib test: src/saml/sso.rs test mod used RsaPrivateKey without importing it (E0433). - tests/passkeys.rs: E0716 temporary dropped while borrowed at the events assertion. Also silence the unused-jwk warnings in tests/saml_sso.rs. These block the #13793 acceptance line 'full crate test suite green'. Refs #13793
Same pre-existing temporary-lifetime break as passkeys.rs, in tests/passkey_surface.rs:297. Refs #13793
developing-today-fleet
Bot
deleted the
xaltha/13793-saml-negative-tests
branch
November 30, 2026 16:25
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #13793 — adds the §6 negative integration tests that remained after PR #16943 landed the happy path.
What
unregistered_sp_is_denied_and_audited— unknown Issuer → 403sp_not_registered+ audit denial entry.wrong_acs_is_denied_and_audited— unregistered ACS URL → 403acs_mismatch+ audit denial entry.stale_authn_request_is_denied— IssueInstant 600s old → 403.replayed_authn_request_is_denied— same AuthnRequest twice → first 200, second 403.wrapped_assertion_is_rejected_by_the_sp— full login, then an injected unsigned assertion in the signed response is refused by the local samael SP.Tests-only change; no production code touched.
Verification
Remote dispatch (fleet queue): run 46454748090 —
cargo test --locked --test saml_ssounder the repo nix shell. Result recorded on #13793 when the run concludes.Refs #13793
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-30T15:49:51Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.