-
Notifications
You must be signed in to change notification settings - Fork 37
add example of response encryption #536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…equest with jwks. Also update the default for no authorization_encrypted_response_enc to be more flexible.
Sakurann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CBC -> GCM
Sakurann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CBC -> GCM
selfissued
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please incorporate one of the two solutions to the inconsistency described #552 into the example (either restoring authorization_encrypted_response_alg or using authorization_encrypted_response_alg_values_supported and authorization_encrypted_response_enc_values_supported), depending upon which the working group prefers.
…ges to the main draft
…ple' into jwe-authz-resp-example
|
This has been updated to reconcile with changes in #555 |
selfissued
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing this from my phone on a plane, so I'm going to trust that the encrypted content is correct.
I did create and check the encrypted content but certainly having an independent check would be good too. |
Looks good to me - this is what I get when decoding and decrypting: Header: {
"alg": "ECDH-ES",
"enc": "A128GCM",
"kid": "ac",
"epk": {
"kty": "EC",
"x": "nnmVpm3V3jbhcafQaRBkSVNHlwZHwt-9rOpJufyYIuk",
"y": "r4fjDqwJys9qUOP-_b3mR5SZG--CwO2mic5VSNTYN9g",
"crv": "P-256"
}
}Payload: {
"vp_token": {
"example_credential_id": [
"eyJhb...YMetA"
]
}
} |
Add some examples showing an encrypted response and a corresponding request with jwks. For #520