This PR removes some whitespace in the EBNF specification of the IC-CertificateExpression header. Our current implementation is whitespace agnostic, but the specification should be clear that there is no whitespace allowed in the value of this header. I've also added a note that implementers can also optionally allow for whitespace.
Some other minor changes are a result of Prettier formatting.
This change could actually break an implementation of this spec, if there was such an implementation out there that took the EBNF literally and did not account for any whitespace flexibility. We're not currently aware of any implementations aside from our own, which is agnostic of whitespace: https://github.com/dfinity/response-verification
This PR removes some whitespace in the EBNF specification of the IC-CertificateExpression header. Our current implementation is whitespace agnostic, but the specification should be clear that there is no whitespace allowed in the value of this header. I've also added a note that implementers can also optionally allow for whitespace.
Some other minor changes are a result of Prettier formatting.
Thanks @frederikrothenberger for bringing this up: https://dfinity.slack.com/archives/CN4SJRNG4/p1696930887498429
This change could actually break an implementation of this spec, if there was such an implementation out there that took the EBNF literally and did not account for any whitespace flexibility. We're not currently aware of any implementations aside from our own, which is agnostic of whitespace: https://github.com/dfinity/response-verification