Skip to content
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

Missing examples for JARM-encrypted response #68

Open
paulbastian opened this issue Nov 23, 2023 · 5 comments
Open

Missing examples for JARM-encrypted response #68

paulbastian opened this issue Nov 23, 2023 · 5 comments
Assignees
Milestone

Comments

@paulbastian
Copy link
Contributor

There is no fully fledged example containing a JARM-encrypted Authorization Response, which would be helpful to validate implementations. Right now we only have this

@awoie
Copy link
Contributor

awoie commented Nov 26, 2023

I agree, this would be helpful. Examples that I used for Annex B can be generated using this https://github.com/awoie/annex-b-examples but those are encrypted only, i.e., don't use JWS before encrypting.

@peppelinux
Copy link
Member

giving encrypted JWT examples may not give any concrete benefit to the readers, unless we provide the private key to decrypt them.

the only useful information that might be picked from an encrypted jwt is the header. Anyway, this alone is not so eloquent.

I agree that a representation of the encrypted response is required, while the encrypted payload may be truncated, for editorial and readability reasons, if the private key to decrypt it is not provided

@paulbastian
Copy link
Contributor Author

A specification should give a complete working example, if it's needed to provide a public key, that's fine for me.

We could have an encrypted auth response that matches to a previous example of auth request, thus we would only need to add the private key for the auth request example and link to it

@Sakurann
Copy link
Collaborator

@awoie to create a working example with mdocs.
also putting ephemeral pubkey that can be used to decrypt.

@Sakurann Sakurann added this to the 1.1 milestone Dec 5, 2024
@awoie
Copy link
Contributor

awoie commented Jan 10, 2025

I assume we should put any example, e.g., SD-JWT VC, that conforms to this new language: #380, right? I'll wait with this PR until #380 got merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants