Skip to content

Commit c003b0b

Browse files
Corrected JWKs in examples (#711)
4 approvals. open for over a week. added a label to later add changelog
1 parent e138499 commit c003b0b

File tree

4 files changed

+48
-40
lines changed

4 files changed

+48
-40
lines changed

1.0/examples/credential_issuer_metadata_sd_jwt_long.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@
88
"deferred_credential_endpoint": "https://credential-issuer.example.com/deferred_credential",
99
"notification_endpoint": "https://credential-issuer.example.com/notification",
1010
"credential_request_encryption": {
11-
"jwks": [
12-
{
13-
"kty":"EC", "kid":"ac", "use":"enc", "crv":"P-256", "alg":"ECDH-ES",
14-
"x":"YO4epjifD-KWeq1sL2tNmm36BhXnkJ0He-WqMYrp9Fk",
15-
"y":"Hekpm0zfK7C-YccH5iBjcIXgf6YdUvNUac_0At55Okk"
16-
}
17-
],
11+
"jwks": {
12+
"keys": [
13+
{
14+
"kty":"EC", "kid":"ac", "use":"enc", "crv":"P-256", "alg":"ECDH-ES",
15+
"x":"YO4epjifD-KWeq1sL2tNmm36BhXnkJ0He-WqMYrp9Fk",
16+
"y":"Hekpm0zfK7C-YccH5iBjcIXgf6YdUvNUac_0At55Okk"
17+
}
18+
]
19+
},
1820
"enc_values_supported": ["A128GCM"],
1921
"zip_values_supported": ["DEF"],
2022
"encryption_required": true
@@ -130,4 +132,4 @@
130132
}
131133
}
132134
}
133-
}
135+
}

1.0/examples/issuer_jwks.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{
2-
"jwks": [
3-
{
4-
"kid": "urn:ietf:params:oauth:jwk-thumbprint:sha-256:mlUpog7vEewFBem6Ul09
5-
c2dtTwc8dFzVpIDX3sqGWW0",
6-
"kty": "EC",
7-
"crv": "P-256",
8-
"alg": "ES256",
9-
"x": "_LC1FTUl0MltKAOQzXNsofVMpWFV2obLGrNCat_CQ-g",
10-
"y": "kBjoyjNuMVAOq--qVUgylDoLKuMdk4imS-Kk5ahuYIU"
11-
}
12-
]
13-
}
2+
"jwks": {
3+
"keys": [
4+
{
5+
"kid": "urn:ietf:params:oauth:jwk-thumbprint:sha-256:mlUpog7vEewFBem6Ul09
6+
c2dtTwc8dFzVpIDX3sqGWW0",
7+
"kty": "EC",
8+
"crv": "P-256",
9+
"alg": "ES256",
10+
"x": "_LC1FTUl0MltKAOQzXNsofVMpWFV2obLGrNCat_CQ-g",
11+
"y": "kBjoyjNuMVAOq--qVUgylDoLKuMdk4imS-Kk5ahuYIU"
12+
}
13+
]
14+
}
15+
}

1.1/examples/credential_issuer_metadata_sd_jwt_long.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@
88
"deferred_credential_endpoint": "https://credential-issuer.example.com/deferred_credential",
99
"notification_endpoint": "https://credential-issuer.example.com/notification",
1010
"credential_request_encryption": {
11-
"jwks": [
12-
{
13-
"kty":"EC", "kid":"ac", "use":"enc", "crv":"P-256", "alg":"ECDH-ES",
14-
"x":"YO4epjifD-KWeq1sL2tNmm36BhXnkJ0He-WqMYrp9Fk",
15-
"y":"Hekpm0zfK7C-YccH5iBjcIXgf6YdUvNUac_0At55Okk"
16-
}
17-
],
11+
"jwks": {
12+
"keys": [
13+
{
14+
"kty":"EC", "kid":"ac", "use":"enc", "crv":"P-256", "alg":"ECDH-ES",
15+
"x":"YO4epjifD-KWeq1sL2tNmm36BhXnkJ0He-WqMYrp9Fk",
16+
"y":"Hekpm0zfK7C-YccH5iBjcIXgf6YdUvNUac_0At55Okk"
17+
}
18+
]
19+
},
1820
"enc_values_supported": ["A128GCM"],
1921
"zip_values_supported": ["DEF"],
2022
"encryption_required": true
@@ -130,4 +132,4 @@
130132
}
131133
}
132134
}
133-
}
135+
}

1.1/examples/issuer_jwks.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{
2-
"jwks": [
3-
{
4-
"kid": "urn:ietf:params:oauth:jwk-thumbprint:sha-256:mlUpog7vEewFBem6Ul09
5-
c2dtTwc8dFzVpIDX3sqGWW0",
6-
"kty": "EC",
7-
"crv": "P-256",
8-
"alg": "ES256",
9-
"x": "_LC1FTUl0MltKAOQzXNsofVMpWFV2obLGrNCat_CQ-g",
10-
"y": "kBjoyjNuMVAOq--qVUgylDoLKuMdk4imS-Kk5ahuYIU"
11-
}
12-
]
13-
}
2+
"jwks": {
3+
"keys": [
4+
{
5+
"kid": "urn:ietf:params:oauth:jwk-thumbprint:sha-256:mlUpog7vEewFBem6Ul09
6+
c2dtTwc8dFzVpIDX3sqGWW0",
7+
"kty": "EC",
8+
"crv": "P-256",
9+
"alg": "ES256",
10+
"x": "_LC1FTUl0MltKAOQzXNsofVMpWFV2obLGrNCat_CQ-g",
11+
"y": "kBjoyjNuMVAOq--qVUgylDoLKuMdk4imS-Kk5ahuYIU"
12+
}
13+
]
14+
}
15+
}

0 commit comments

Comments
 (0)