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

kid restrictions for JSON headers and new kyu #150

Open
dwaite opened this issue Nov 12, 2024 · 0 comments
Open

kid restrictions for JSON headers and new kyu #150

dwaite opened this issue Nov 12, 2024 · 0 comments

Comments

@dwaite
Copy link
Collaborator

dwaite commented Nov 12, 2024

The definition of kid is binary in CBOR and string in JSON, with no mapping between the two defined.

I propose JWP kid is restricted to be a binary value represented in BASE64URI encoding. This will limit the ability give keys friendly names or names which correspond to some other system, e.g. GUIDs.

I also propose a new header parameter, kyu, for key URL, to represent keys which are not identified by identifying labels but by location. An example of kid in JWS being used this way would be DIDs.

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

No branches or pull requests

1 participant