IGA-4417: support JWE-encrypted credential issuance - #48
santhosh-c1 wants to merge 3 commits into
Conversation
Connector PR Review: IGA-4417: advertise vault-inbox delivery for issued credentialsBlocking Issues: 1 | Suggestions: 1 | Threads Resolved: 0 Review SummaryI scanned the full PR diff for security and correctness, including go.mod/go.sum and the vendored baton-sdk changes. The connector change itself is small and correct: both issuance descriptors advertise the X-Wing vault-inbox suite, and both issuance paths return exactly one plaintext, which the SDK's new cardinality check requires. The blocking issue is the SDK pin. It is a pseudo-version built on v0.32.0, so it silently removes features that shipped in v0.32.1. Security IssuesNone found. Correctness Issues
Suggestions
Prompt for AI agents |
Pins baton-sdk #1152, which adds the baton/jwe/v1 provider and advertises CAPABILITY_CREDENTIAL_ENCRYPTION_JWE for credential issuers. Both issuance kinds already return exactly one plaintext, as that provider requires. Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
54f243b to
4a007ea
Compare
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
The JWE capability is now CAPABILITY_CREDENTIAL_ENCRYPTION_JWE_XWING_V1 (same value, 16); capabilities regenerated. Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Superseded — see the current review report for commit
|
Connector PR Review: IGA-4417: support JWE-encrypted credential issuanceBlocking Issues: 0 | Suggestions: 0 | Threads Resolved: 0 Review SummaryThe new commit moves baton-sdk from the I scanned the full PR diff for security and correctness, including the four vendored paths left out of the incremental artifact ( I applied the repo-local criteria: dependency checks, breaking-change gate BP1–BP5, and doc staleness D1–D4. The docs line added in Coverage note: the vendored SDK's Security IssuesNone found. Correctness IssuesNone found. SuggestionsNone. Resolved prior findings
Reviewed commit: |
There was a problem hiding this comment.
No blocking issues found — see the full review report
Summary
v0.33.0, which ships baton-sdk #1152 (generic JWE providerbaton/jwe/v1).CAPABILITY_CREDENTIAL_ENCRYPTION_JWE_XWING_V1for any credential issuer. The connector needs no advertisement of its own, so the earlier vault-inbox profile is gone.JWKPublicKeyConfigplusadditional_authenticated_data. The SDK validates it before issuing and requires exactly one plaintext.baton_capabilities.jsonand added one line todocs/connector.mdx.Testing
go build ./...go test ./...verify-versions-matchpasses once baton-admin bumps.versions.yamlon main to v0.33.0.🤖 Generated with Claude Code