Skip to content

Commit 5ad34d0

Browse files
committed
Merge remote-tracking branch 'origin/feature/DIIPv4' into feature/SSISDK-58_host-nonce-endpoint
2 parents 9299225 + 5a451f0 commit 5ad34d0

67 files changed

Lines changed: 2720 additions & 5797 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
[![CI](https://github.com/Sphereon-Opensource/OID4VC/actions/workflows/build-test-on-pr.yml/badge.svg)](https://github.com/Sphereon-Opensource/OID4VC/actions/workflows/build-test-on-pr.yml) [![codecov](https://codecov.io/gh/Sphereon-Opensource/OID4VC/branch/develop/graph/badge.svg)](https://codecov.io/gh/Sphereon-Opensource/OID4VC) [![NPM Version](https://img.shields.io/npm/v/@sphereon/oid4vci-client.svg)](https://npm.im/@sphereon/oid4vci-client)
99

10-
_IMPORTANT the packages are still in an early development stage, which means that breaking changes are to be expected_
10+
_IMPORTANT the packages are still in an early development stage, which means that breaking changes are to be expected The current branch only supports OID4VCI draft v15, for draft v13 and lower use branch archive/draft-v13-support_
1111

1212
# Background
1313

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"pnpm": ">=10"
2727
},
2828
"resolutions": {
29-
"@sphereon/ssi-types": "0.34.1-feat.SSISDK.35.61",
29+
"@sphereon/ssi-types": "0.34.1-feature.DIIPv4.164",
3030
"dcql": "1.0.1",
3131
"node-fetch": "2.6.12",
3232
"typescript": "5.8.3"

packages/callback-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@sphereon/oid4vci-client": "workspace:^",
3131
"@sphereon/oid4vci-common": "workspace:^",
3232
"@sphereon/oid4vci-issuer": "workspace:^",
33-
"@sphereon/ssi-types": "0.34.1-feat.SSISDK.35.61",
33+
"@sphereon/ssi-types": "0.34.1-feature.DIIPv4.164",
3434
"jose": "^4.10.0"
3535
},
3636
"devDependencies": {

packages/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"dependencies": {
3030
"@sphereon/oid4vc-common": "workspace:^",
3131
"@sphereon/oid4vci-common": "workspace:^",
32-
"@sphereon/ssi-types": "0.34.1-feat.SSISDK.35.61",
32+
"@sphereon/ssi-types": "0.34.1-feature.DIIPv4.164",
3333
"cross-fetch": "^4.1.0",
3434
"debug": "^4.4.0"
3535
},

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"test": "vitest run --config ../../vitest.config.ts --coverage"
2323
},
2424
"dependencies": {
25-
"@sphereon/ssi-types": "0.34.1-feat.SSISDK.35.61",
25+
"@sphereon/ssi-types": "0.34.1-feature.DIIPv4.164",
2626
"jwt-decode": "^4.0.0",
2727
"uint8arrays": "^3.1.1",
2828
"uuid": "^9.0.0"

packages/issuer-rest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@sphereon/oid4vci-common": "workspace:^",
2727
"@sphereon/oid4vci-issuer": "workspace:^",
2828
"@sphereon/ssi-express-support": "0.34.1-next.3",
29-
"@sphereon/ssi-types": "0.34.1-feat.SSISDK.35.61",
29+
"@sphereon/ssi-types": "0.34.1-feature.DIIPv4.164",
3030
"body-parser": "^1.20.2",
3131
"cookie-parser": "^1.4.6",
3232
"cors": "^2.8.5",

packages/issuer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@sphereon/oid4vc-common": "workspace:^",
2525
"@sphereon/oid4vci-common": "workspace:^",
2626
"@sphereon/ssi-express-support": "0.34.1-next.3",
27-
"@sphereon/ssi-types": "0.34.1-feat.SSISDK.35.61",
27+
"@sphereon/ssi-types": "0.34.1-feature.DIIPv4.164",
2828
"short-uuid": "^4.2.2",
2929
"uuid": "^9.0.0"
3030
},

packages/oid4vci-common/lib/types/Generic.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface ImageInfo {
2929
[key: string]: unknown
3030
}
3131

32-
export type OID4VCICredentialFormat = 'jwt_vc_json' | 'jwt_vc_json-ld' | 'ldp_vc' | 'dc+sd-jwt'| 'vc+sd-jwt' | 'jwt_vc' | 'mso_mdoc' // jwt_vc & vc+sd-jwt are added for backwards compat TODO SSISDK-36
32+
export type OID4VCICredentialFormat = 'jwt_vc_json' | 'jwt_vc_json-ld' | 'ldp_vc' | 'dc+sd-jwt'| /*'vc+sd-jwt' |*/ 'jwt_vc' | 'mso_mdoc' // jwt_vc & vc+sd-jwt are added for backwards compat TODO SSISDK-36
3333

3434
export const supportedOID4VCICredentialFormat: readonly (OID4VCICredentialFormat | string)[] = [
3535
'jwt_vc_json',

packages/oid4vci-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"dependencies": {
2424
"@sphereon/oid4vc-common": "workspace:^",
25-
"@sphereon/ssi-types": "0.34.1-feat.SSISDK.35.61",
25+
"@sphereon/ssi-types": "0.34.1-feature.DIIPv4.164",
2626
"cross-fetch": "^4.1.0",
2727
"debug": "^4.4.0",
2828
"jwt-decode": "^4.0.0",

packages/siop-oid4vp/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,12 @@ const rp = RP.builder()
323323
.withVerifyJwtCallback(verifyJwtCallback)
324324
.withRevocationVerification(RevocationVerification.NEVER)
325325
.withClientMetadata({
326-
idTokenSigningAlgValuesSupported: [SigningAlgo.EDDSA],
327-
requestObjectSigningAlgValuesSupported: [SigningAlgo.EDDSA, SigningAlgo.ES256],
328-
responseTypesSupported: [ResponseType.ID_TOKEN],
329-
vpFormatsSupported: { jwt_vc: { alg: [SigningAlgo.EDDSA] } },
330-
scopesSupported: [Scope.OPENID_DIDAUTHN, Scope.OPENID],
331-
subjectTypesSupported: [SubjectType.PAIRWISE],
326+
id_token_signing_alg_values_supported: [SigningAlgo.EDDSA],
327+
request_object_signing_alg_values_supported: [SigningAlgo.EDDSA, SigningAlgo.ES256],
328+
response_types_supported: [ResponseType.ID_TOKEN],
329+
vp_formats_supported: { jwt_vc: { alg: [SigningAlgo.EDDSA] } },
330+
scopes_supported: [Scope.OPENID_DIDAUTHN, Scope.OPENID],
331+
subject_types_supported: [SubjectType.PAIRWISE],
332332
subjectSyntaxTypesSupported: ['did', 'did:ethr'],
333333
passBY: PassBy.VALUE,
334334
})
@@ -363,13 +363,13 @@ const op = OP.builder()
363363
.withVerifyJwtCallback(verifyJwtCallback)
364364
.withClientMetadata({
365365
authorizationEndpoint: 'www.myauthorizationendpoint.com',
366-
idTokenSigningAlgValuesSupported: [SigningAlgo.EDDSA],
366+
id_token_signing_alg_values_supported: [SigningAlgo.EDDSA],
367367
issuer: ResponseIss.SELF_ISSUED_V2,
368-
requestObjectSigningAlgValuesSupported: [SigningAlgo.EDDSA, SigningAlgo.ES256],
369-
responseTypesSupported: [ResponseType.ID_TOKEN],
368+
request_object_signing_alg_values_supported: [SigningAlgo.EDDSA, SigningAlgo.ES256],
369+
response_types_supported: [ResponseType.ID_TOKEN],
370370
vpFormats: { jwt_vc: { alg: [SigningAlgo.EDDSA] } },
371-
scopesSupported: [Scope.OPENID_DIDAUTHN, Scope.OPENID],
372-
subjectTypesSupported: [SubjectType.PAIRWISE],
371+
scopes_supported: [Scope.OPENID_DIDAUTHN, Scope.OPENID],
372+
subject_types_supported: [SubjectType.PAIRWISE],
373373
subjectSyntaxTypesSupported: ['did:ethr'],
374374
passBy: PassBy.VALUE,
375375
})
@@ -736,7 +736,7 @@ const opts: AuthorizationRequestOpts = {
736736
scopesSupported: [Scope.OPENID_DIDAUTHN, Scope.OPENID],
737737
subjectSyntaxTypesSupported: ['did:ethr:', SubjectIdentifierType.DID],
738738
subjectTypesSupported: [SubjectType.PAIRWISE],
739-
vpFormatsSupported: {
739+
vp_formats_supported: {
740740
ldp_vc: {
741741
proof_type: [IProofType.EcdsaSecp256k1Signature2019, IProofType.EcdsaSecp256k1Signature2019],
742742
},

0 commit comments

Comments
 (0)