-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed Credential type to VerifiedEMail
- Loading branch information
1 parent
60b89d0
commit d233c63
Showing
24 changed files
with
114 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
openid-credential-offer://credential_offer=%7B%22credential_issuer%22:%22https://credential-issuer.example.com%22,%22credentials%22:%5B%7B%22format%22:%22vc+sd-jwt%22,%22type%22:%22NextCloudLogin%22%7D%5D,%22grants%22:%7B%22urn:ietf:params:oauth:grant-type:pre-authorized_code%22:%7B%22pre-authorized_code%22:%22SplxlOBeZQQYbYS6WxSbIA%22,%22user_pin_required%22:true%7D%7D%7D | ||
openid-credential-offer://credential_offer=%7B%22credential_issuer%22:%22https://credential-issuer.example.com%22,%22credentials%22:%5B%7B%22format%22:%22vc+sd-jwt%22,%22type%22:%22VerifiedEMail%22%7D%5D,%22grants%22:%7B%22urn:ietf:params:oauth:grant-type:pre-authorized_code%22:%7B%22pre-authorized_code%22:%22SplxlOBeZQQYbYS6WxSbIA%22,%22user_pin_required%22:true%7D%7D%7D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
], | ||
"filter": { | ||
"type": "string", | ||
"const": "NextCloudLogin" | ||
"const": "VerifiedEMail" | ||
} | ||
}, | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
], | ||
"filter": { | ||
"type": "string", | ||
"const": "NextCloudLogin" | ||
"const": "VerifiedEMail" | ||
} | ||
}, | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
], | ||
"filter": { | ||
"type": "string", | ||
"const": "NextCloudLogin" | ||
"const": "VerifiedEMail" | ||
} | ||
}, | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
eyJhbGciOiAiRVMyNTYifQ.eyJpc3MiOiAiaHR0cHM6Ly9leGFtcGxlLmNvbS9pc3N1Z | ||
XIiLCAiaWF0IjogMTUxNjIzOTAyMiwgImV4cCI6IDE1MTYyNDcwMjIsICJ0eXBlIjogI | ||
lZlcmlmaWVkRU1haWwiLCAiY3JlZGVudGlhbFN1YmplY3QiOiB7Il9zZCI6IFsiOUpWS | ||
mlHRUZ5Q0J1RC1EZFpfZXZVc2R2d096UXRZUS1JV0VlQTZEX3BsZyIsICJMZEl2b1NoU | ||
W9hYUU3RHgtQ21fWVRETi1iR1JXU0YyWmM3dnFoQWRzNEhvIiwgImQyelBESGsybFB1Y | ||
mI2cm8zUmxvTWZvTHJHWkxmOU5mTmZhRHQ1OVZFQnMiXX0sICJfc2RfYWxnIjogInNoY | ||
S0yNTYiLCAiY25mIjogeyJqd2siOiB7Imt0eSI6ICJFQyIsICJjcnYiOiAiUC0yNTYiL | ||
CAieCI6ICJUQ0FFUjE5WnZ1M09IRjRqNFc0dmZTVm9ISVAxSUxpbERsczd2Q2VHZW1jI | ||
iwgInkiOiAiWnhqaVdXYlpNUUdIVldLVlE0aGJTSWlyc1ZmdWVjQ0U2dDRqVDlGMkhaU | ||
SJ9fX0.LG3h8huaqV8ynNyJnP2lTKeqKrArw0UyPzpbEjN6mMbpFJSmiameZuczNlX-R | ||
GWAdeOgveqQi1K9-72Rdva19g~WyIwNm5HT1otZzdnZ0hvOHNGMUJPN0RRIiwgImdpdm | ||
VuX25hbWUiLCAiRXJpa2EiXQ~WyJia1BvaURTczNTX0U4Tmk2cWpvM01RIiwgImZhbWl | ||
seV9uYW1lIiwgIk11c3Rlcm1hbm4iXQ~WyJnTUxqM0FHSlQ5Nko0aDhIUTF2S3dBIiwg | ||
ImVtYWlsIiwgInRlc3RAZXhhbXBsZS5jb20iXQ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
eyJhbGciOiAiRVMyNTYifQ.eyJpc3MiOiAiaHR0cHM6Ly9leGFtcGxlLmNvbS9pc3N1Z | ||
XIiLCAiaWF0IjogMTUxNjIzOTAyMiwgImV4cCI6IDE1MTYyNDcwMjIsICJ0eXBlIjogI | ||
lZlcmlmaWVkRU1haWwiLCAiY3JlZGVudGlhbFN1YmplY3QiOiB7Il9zZCI6IFsiOUpWS | ||
mlHRUZ5Q0J1RC1EZFpfZXZVc2R2d096UXRZUS1JV0VlQTZEX3BsZyIsICJMZEl2b1NoU | ||
W9hYUU3RHgtQ21fWVRETi1iR1JXU0YyWmM3dnFoQWRzNEhvIiwgImQyelBESGsybFB1Y | ||
mI2cm8zUmxvTWZvTHJHWkxmOU5mTmZhRHQ1OVZFQnMiXX0sICJfc2RfYWxnIjogInNoY | ||
S0yNTYiLCAiY25mIjogeyJqd2siOiB7Imt0eSI6ICJFQyIsICJjcnYiOiAiUC0yNTYiL | ||
CAieCI6ICJUQ0FFUjE5WnZ1M09IRjRqNFc0dmZTVm9ISVAxSUxpbERsczd2Q2VHZW1jI | ||
iwgInkiOiAiWnhqaVdXYlpNUUdIVldLVlE0aGJTSWlyc1ZmdWVjQ0U2dDRqVDlGMkhaU | ||
SJ9fX0.LG3h8huaqV8ynNyJnP2lTKeqKrArw0UyPzpbEjN6mMbpFJSmiameZuczNlX-R | ||
GWAdeOgveqQi1K9-72Rdva19g~WyJnTUxqM0FHSlQ5Nko0aDhIUTF2S3dBIiwgImVtYW | ||
lsIiwgInRlc3RAZXhhbXBsZS5jb20iXQ~eyJhbGciOiAiRVMyNTYifQ.eyJub25jZSI6 | ||
ICJYWk9VY28xdV9nRVBrbnhTNzhzV1dnIiwgImF1ZCI6ICJodHRwczovL2V4YW1wbGUu | ||
Y29tL3ZlcmlmaWVyIiwgImlhdCI6IDE2Nzc1NzY2MzF9.XJQKi5454nXYvJAooZvSBvz | ||
ZfhL_uoxzxOVeYZ1vG3Vjkelxto-C0FkU9D4gxwfRF0O0J4S00xlPNuggdfIuhg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
__Disclosure for `given_name`:__ | ||
|
||
``` | ||
WyIwNm5HT1otZzdnZ0hvOHNGMUJPN0RRIiwgImdpdmVuX25hbWUiLCAiRXJpa2EiXQ | ||
``` | ||
|
||
Contents: | ||
|
||
``` | ||
["06nGOZ-g7ggHo8sF1BO7DQ", "given_name", "Erika"] | ||
``` | ||
|
||
SHA-256 Hash: `9JVJiGEFyCBuD-DdZ_evUsdvwOzQtYQ-IWEeA6D_plg` | ||
|
||
__Disclosure for `family_name`:__ | ||
|
||
``` | ||
WyJia1BvaURTczNTX0U4Tmk2cWpvM01RIiwgImZhbWlseV9uYW1lIiwgIk11c3Rlcm1h | ||
bm4iXQ | ||
``` | ||
|
||
Contents: | ||
|
||
``` | ||
["bkPoiDSs3S_E8Ni6qjo3MQ", "family_name", "Mustermann"] | ||
``` | ||
|
||
SHA-256 Hash: `LdIvoShQoaaE7Dx-Cm_YTDN-bGRWSF2Zc7vqhAds4Ho` | ||
|
||
__Disclosure for `email`:__ | ||
|
||
``` | ||
WyJnTUxqM0FHSlQ5Nko0aDhIUTF2S3dBIiwgImVtYWlsIiwgInRlc3RAZXhhbXBsZS5j | ||
b20iXQ | ||
``` | ||
|
||
Contents: | ||
|
||
``` | ||
["gMLj3AGJT96J4h8HQ1vKwA", "email", "[email protected]"] | ||
``` | ||
|
||
SHA-256 Hash: `d2zPDHk2lPubb6ro3RloMfoLrGZLf9NfNfaDt59VEBs` |
2 changes: 1 addition & 1 deletion
2
...s/nextcloudcredential/hb_jwt_payload.json → examples/verifiedemail/hb_jwt_payload.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"nonce": "XZOUco1u_gEPknxS78sWWg", | ||
"aud": "https://example.com/verifier", | ||
"iat": 1677572525 | ||
"iat": 1677576631 | ||
} |
4 changes: 2 additions & 2 deletions
4
...nextcloudcredential/hb_jwt_serialized.txt → examples/verifiedemail/hb_jwt_serialized.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
eyJhbGciOiAiRVMyNTYifQ.eyJub25jZSI6ICJYWk9VY28xdV9nRVBrbnhTNzhzV1dnI | ||
iwgImF1ZCI6ICJodHRwczovL2V4YW1wbGUuY29tL3ZlcmlmaWVyIiwgImlhdCI6IDE2N | ||
zc1NzI1MjV9.AtgbvgsBiN1yRt2vf-kc11diSt3NVzXoxIrBih9WWgbVoZt121aMksMT | ||
k4yctcjwe8ExsQ9ecipAmkUrzys3Hw | ||
zc1NzY2MzF9.XJQKi5454nXYvJAooZvSBvzZfhL_uoxzxOVeYZ1vG3Vjkelxto-C0FkU | ||
9D4gxwfRF0O0J4S00xlPNuggdfIuhg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
eyJhbGciOiAiRVMyNTYifQ.eyJpc3MiOiAiaHR0cHM6Ly9leGFtcGxlLmNvbS9pc3N1Z | ||
XIiLCAiaWF0IjogMTUxNjIzOTAyMiwgImV4cCI6IDE1MTYyNDcwMjIsICJ0eXBlIjogI | ||
lZlcmlmaWVkRU1haWwiLCAiY3JlZGVudGlhbFN1YmplY3QiOiB7Il9zZCI6IFsiOUpWS | ||
mlHRUZ5Q0J1RC1EZFpfZXZVc2R2d096UXRZUS1JV0VlQTZEX3BsZyIsICJMZEl2b1NoU | ||
W9hYUU3RHgtQ21fWVRETi1iR1JXU0YyWmM3dnFoQWRzNEhvIiwgImQyelBESGsybFB1Y | ||
mI2cm8zUmxvTWZvTHJHWkxmOU5mTmZhRHQ1OVZFQnMiXX0sICJfc2RfYWxnIjogInNoY | ||
S0yNTYiLCAiY25mIjogeyJqd2siOiB7Imt0eSI6ICJFQyIsICJjcnYiOiAiUC0yNTYiL | ||
CAieCI6ICJUQ0FFUjE5WnZ1M09IRjRqNFc0dmZTVm9ISVAxSUxpbERsczd2Q2VHZW1jI | ||
iwgInkiOiAiWnhqaVdXYlpNUUdIVldLVlE0aGJTSWlyc1ZmdWVjQ0U2dDRqVDlGMkhaU | ||
SJ9fX0.LG3h8huaqV8ynNyJnP2lTKeqKrArw0UyPzpbEjN6mMbpFJSmiameZuczNlX-R | ||
GWAdeOgveqQi1K9-72Rdva19g |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"iss": "https://example.com/issuer", | ||
"iat": 1516239022, | ||
"exp": 1516247022, | ||
"type": "NextCloudLogin", | ||
"type": "VerifiedEMail", | ||
"credentialSubject": { | ||
"email": "[email protected]" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters