json-canonicalization
json-canonicalization copied to clipboard
JSON Canonicalization Scheme (JCS)
https://github.com/cyberphone/json-canonicalization/blob/dc406ceaf94b5fa554fcabb92c091089c2357e83/go/src/webpki.org/jsoncanonicalizer/jsoncanonicalizer.go#L237 This method does not work for uint64 because float64 precision is insufficient. Suggested fix, insert before line 236: ```go // Is it an integer? if _, err := strconv.ParseUint(value,...
Hello, I've created a port of the canonicalization code to TypeScript based on the code and tests found here and in [https://github.com/erdtman/canonicalize](https://github.com/erdtman/canonicalize). The port runs in Node.js, Deno, and the...
Because I'm dumb and didn't look at the repo folders, I assumed just .js here, and spent 40m looking for Go and Python implementations of JCS. Doh! I suggest considering...
is there any chance you'd provide one? using a package feels like a more correct way than copying files around
- Included fuzz tests. - It will help to integrate with https://github.com/google/oss-fuzz Signed-off-by: naveensrinivasan