-
Notifications
You must be signed in to change notification settings - Fork 56
Canonical JSON may not be valid JSON #92
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
Comments
There are several related issues and discussions on Canonical JSON, i.e. |
I recently learned of another attempt at a canonicalization scheme in the draft IETF spec rundgren-json-canonicalization-scheme. It doesn't have the same issue where strings may contain invalid JSON characters. It's probably a drop-in replacement for most TUF implementations, which I think don't actually allow for invalid JSON characters. |
FYI: This topic has been added to the agenda for the next TUF community meeting. (date TBD, invitations will go to [email protected]). |
Yes. Please also join us on the CNCF Slack
…On Mon, Mar 30, 2020 at 4:03 AM lukpueh ***@***.***> wrote:
FYI: This topic has been added to the agenda for the next TUF community
meeting. (date TBD, invitations will go to
***@***.***).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#92 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH4ZEEN4GGV644XD7FRUW6DRKBG4TANCNFSM4K4EITIA>
.
|
Canonical JSON may be invalid JSON: canonical json says that control characters must not be escaped:
Whereas JSON mandates that control characters are escaped.
I think this deserves a note in the specification, as normal json encoders and decoders cannot be used.
The text was updated successfully, but these errors were encountered: