TBD54566975 / web5-go

Apache License 2.0
10 stars 6 forks source link

Add Header.Type Parameter #26

Closed KendallWeihe closed 7 months ago

KendallWeihe commented 7 months ago

Originally motivated because typ is a required JOSE header parameter in OID4VCI

Also added links to relevant JWS spec doc

KendallWeihe commented 7 months ago

Turns out this wasn't quite enough b/c in the jws.Sign() flow we're hardcoding the header values in a few places... will need to think this through from the outside-in (from jwt package's dependency on jws.Sign())