ietf-wg-jose / json-web-proof

Specification work for JSON Web Proof
https://ietf-wg-jose.github.io/json-web-proof/
Other
98 stars 9 forks source link

Compact representation of a zero-length payload. #113

Closed dwaite closed 7 months ago

dwaite commented 7 months ago

Handle the special case of a zero-length payload in compact encoding, by using the invalid base64url encoded sequence "_".

Clarify that JSON encoding would use the more intuitive empty string rather than matching the compact representation.

There are currently no examples for this, as it is meant more to maintain consistency between the representations rather than to satisfy an identified use-case.

Fixes #101