Skip to content

test: review follow-up for upstream #808 - #8

Draft
dinakarjs wants to merge 1 commit into
review/source-808-20261025from
fix/review-808-20261025
Draft

dinakarjs wants to merge 1 commit into
review/source-808-20261025from
fix/review-808-20261025

Conversation

@dinakarjs

Copy link
Copy Markdown
Owner

The public-key alias fixture previously changed the signed JWK without refreshing its signature, so signature failure could mask the encoding check. Re-sign the altered claim and recompute the corresponding nonce thumbprint; assert the alias decodes to the same key bytes. This independently exercises signature-path and key-binding canonicality. Also correct the test import ordering.

Based exactly on agentrust-io#808 head 4d37e36. Please adopt this signed test-only commit into that PR.

Validation: final unit+conformance+integration+confinement suite 2654 passed/29 skipped. Ruff src/tests, strict mypy and Bandit pass. Disabling only signature-path key canonicality makes the signature assertion fail; separately disabling only key-binding canonicality makes the binding assertion fail, retaining all test names. Both guard removals are reverted.

Signed-off-by: Srinivasa Consultants <78673153+dinakarjs@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

🟡 Contributor Check: MEDIUM

Check Result
Profile MEDIUM
Credential LOW
Overall MEDIUM

Automated check by AgenTrust Contributor Check.

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

Labels

needs-review:MEDIUM Contributor check flagged MEDIUM risk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant