-
**Link to problem area**:
[Signing JSON](https://spec.matrix.org/v1.12/appendices/#signing-json), from the v1.12 spec.
**Issue**
The spec says
> Events in room versions 1, 2, 3, 4, and 5 m…
-
The [canonicaljson spec](https://spec.matrix.org/v1.3/appendices/#canonical-json) says that json requests cannot contain:
* Integers outside the range `[-2 ^ 53 + 1, 2 ^ 53 - 1]`
* Floats
* Na…
-
Currently, we don't have any guarantees that our JSON responses will be bit-for-bit the same for the same request. This means that any time the response format changes, we'll have to generate addition…
-
As per spec:
>Numbers in the JSON must be integers in the range `[-(2**53)+1, (2**53)-1]`.
There isn't any code that checks for floats, either.
-
See:
https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-01
https://github.com/cyberphone/json-canonicalization
https://github.com/erdtman/canonicalize
-
Different implementations have different ideas on how to handle duplicate keys in JSON. They shouldn't appear in theory, but there's nothing to stop you from doing something like:
```
{
"one": 1,…
-
JSON encoding handles primative types, structs, arrays, and anything with a registered handler, but it does not support `maps`. Maybe this is a design decision?
https://github.com/tendermint/go-wire/…
-
Issues
[ ] magnet-uri going from 5.* to 7.* says "ESM only", wondering if this will break the build in dweb-archive-dist also if any changes from 5.* to
[ ] set of changes (see comment#1 that are …
-
** Context **
The current repo is used by dweb-mirror via Node, and dweb-archive via webpack.
Both of these are happy with "require"
However, Jason wants to use it with ES6 Modules, and that on…
-
Currently, ruma-signatures only supports canonical JSON which means v1 - v5 can't be properly supported. We should document this.