w3c / vc-jose-cose

Verifiable Credentials Working Group — VC JSON Web Tokens specification
https://w3c.github.io/vc-jose-cose/
Other
30 stars 9 forks source link

Data format for COSE_Key expression in Controller Document is undefined #208

Closed msporny closed 6 months ago

msporny commented 7 months ago

In Section 5.3.1.1 Verification Material, it states that a COSE_Key property is allowed, but then doesn't specify the data format. Should this include something like CoseWebKey or publicKeyCwk? Or is something else expected to be defined here?

selfissued commented 7 months ago

There's no need to add COSE_Key representations to controller documents. JWK is equivalent and can be used instead. JWK, like controller documents, are JSON, whereas adding binary COSE_Key values to JSON would be awkward, at best.

msporny commented 7 months ago

There's no need to add COSE_Key representations to controller documents.

Then the specification shouldn't say that a "COSE_Key" property is allowed. Remove the text that suggests that there is a "COSE_Key" format.