Skip to content

Commit

Permalink
fix: mdoc fixes (#2071)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra authored Oct 29, 2024
1 parent 5695055 commit 5898754
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 98 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@peculiar/asn1-schema": "^2.3.8",
"@peculiar/asn1-x509": "^2.3.8",
"@peculiar/x509": "^1.11.0",
"@protokoll/mdoc-client": "0.2.33",
"@protokoll/mdoc-client": "0.2.35",
"@sd-jwt/core": "^0.7.0",
"@sd-jwt/decode": "^0.7.0",
"@sd-jwt/jwt-status-list": "^0.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ export class OpenId4VciHolderService {

// The cryptographic_binding_methods_supported describe the cryptographic key material that the issued Credential is bound to.
const supportsCoseKey = issuerSupportedBindingMethods?.includes('cose_key') ?? false
const supportsJwk = issuerSupportedBindingMethods?.includes('jwk') ?? supportsCoseKey ?? false
const supportsJwk = issuerSupportedBindingMethods?.includes('jwk') || supportsCoseKey

return {
signatureAlgorithm,
Expand Down
106 changes: 10 additions & 96 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5898754

Please sign in to comment.