Repository navigation
Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
⛔ Files ignored due to path filters: 1
📒 Files selected for processing: 18
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
- Broaden SdJwt dispatch to also handle vc+sd-jwt (cred +sd-jwt accepts either format; credo passes the format through as typ header). - Preserve original format in thrown error to avoid narrowing to never.
9fdda39 to
be361db
Compare
|
|
Duplicate of the fix already included in #451 . Closing. |



Summary
vc+sd-jwt(SdJwtVc) to the existing sd-jwt signing path (currently onlydc+sd-jwtis routed).OpenId4VcIssuerServicealready accepts either format in that path and passes the credential configuration format through as the SD-JWTtypheader, so the signing code remains format-agnostic.Root cause
getMixedCredentialRequestToCredentialMapper()only dispatchedmso_mdoc,dc+sd-jwt, and W3C formats;vc+sd-jwtfell through and threwInvalid request format vc+sd-jwt, even though it is advertised in the swagger enum and examples.Test coverage
dc+sd-jwtandvc+sd-jwt(14/14 passing). The stored credential's JWT headertypis asserted against the requested format, confirming the issued token's type matches the configuration.{"typ":"vc+sd-jwt","alg":"EdDSA",...}Verification
yarn buildpasses.dc+sd-jwtbehaviour unchanged.Notes
vc+sd-jwtgap.origin/main(clean), so it does not pull in PR Fix type issues #451's local uncommitted changes or the DidController debug leftovers.Summary by CodeRabbit