Skip to content

test(idp-provider): fix saml_rollover flip oracle (Refs #13796) - #17558

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/13796-saml-rollover-testfix
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/13796-saml-rollover-testfix

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Fix-forward for the verification of PR #17357 (merged as fde2822).

Fleet dispatch run 46497110135 ran the full pkgs/idp-provider suite at the merge commit: all test binaries green (78 tests) except one assertion in tests/saml_rollover.rs::flip_signs_metadata_and_responses_with_the_new_key, which required the signed response XML to embed the new certificate's base64 DER. samael's Crypto::sign_xml keys the response KeyInfo by the signing key itself — certificates are published in metadata, which the same test asserts. The response-side flip oracle is therefore cryptographic: the response verifies under the new certificate and fails under the old one. That is what the test now asserts; no production code changes.

Verification: fleet dispatch of the full crate suite at this branch (v14-form environment: openssl/libxml2/libxslt/xmlsec dev paths + libtool.lib for -lltdl), counts read firsthand from the run log.

{
  "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-30T19:50:10Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch/workspace/github-work/code-13796-fix",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch/workspace/github-work/code-13796-fix",
      "repo": "developing-today/code",
      "branch": "xaltha/13796-saml-rollover-testfix",
      "sha": "8d619c7d90ed84aa96c02a1dd1352242846f3e14"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…he active key cryptographically

Run 46497110135 (fleet dispatch, merge commit fde2822) ran the full
pkgs/idp-provider suite: every binary green except one assertion in
flip_signs_metadata_and_responses_with_the_new_key, which required the
signed response XML to embed the new certificate's base64 DER.
samael's Crypto::sign_xml keys the response KeyInfo by the signing key
itself; certificates are published in metadata (asserted above in the
same test). The flip oracle is verification: the response verifies
under the new certificate and fails under the old one.

Refs #13796
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fcec6137-f95b-4271-91fd-f4a9d1eb082b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet
developing-today-fleet Bot merged commit af878fd into main Nov 30, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/13796-saml-rollover-testfix branch November 30, 2026 20:06
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.

1 participant