You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this is allowed in modern JavaScript, it is disallowed in JSON, which predates the JavaScript spec, and is rejected by most parsers.
The text was updated successfully, but these errors were encountered:
turt2live
added
meta
Something that is not a spec change/request and is not related to the build tools
spec-bug
Something which is in the spec, but is wrong
labels
May 28, 2019
Fixes#2023
The content hashes appear correct, however applying the algorithm defined in the spec never resulted in the signatures previously demonstrated.
The
content
section of the second test case in Appendix 7.3 contains a trailing comma, both before and after signing:https://github.com/matrix-org/matrix-doc/blob/c1b630e975f2cde0b0101a46b11751dee204c666/specification/appendices/test_vectors.rst#L131-L133
https://github.com/matrix-org/matrix-doc/blob/c1b630e975f2cde0b0101a46b11751dee204c666/specification/appendices/test_vectors.rst#L151-L153
While this is allowed in modern JavaScript, it is disallowed in JSON, which predates the JavaScript spec, and is rejected by most parsers.
The text was updated successfully, but these errors were encountered: