Skip to content

Provide stronger guidance on locating X.509 chain in COSE/JWS #4

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

Open
letmaik opened this issue Nov 18, 2022 · 1 comment
Open

Provide stronger guidance on locating X.509 chain in COSE/JWS #4

letmaik opened this issue Nov 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@letmaik
Copy link
Member

letmaik commented Nov 18, 2022

Even though it is not a direct concern of the DID method specification but rather of a signing envelope profile, it is beneficial to provide strong guidance since there is only one obvious place for the certificate chain to go, both in COSE and JWS.

For COSE, it would be the x5chain (label 33) header parameter, see https://www.iana.org/assignments/cose/cose.xhtml#header-parameters.

For JWS, it would be the x5c header parameter, see https://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-header-parameters.

This is in line with the DID resolution spec which defines a draft HTTP binding and uses standard HTTP headers where available for resolution options.

Ideally, in the future, there is a single JWS/COSE binding specification for DID-issued content, but that will take a while.

@letmaik letmaik added the enhancement New feature or request label Nov 18, 2022
@OR13
Copy link

OR13 commented Nov 18, 2022

Ideally, in the future, there is a single JWS/COSE binding specification for DID-issued content, but that will take a while.

I wonder if we might be able to define this as part of w3c/vc-data-model#971

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

No branches or pull requests

2 participants