aboutsummaryrefslogtreecommitdiffstats
path: root/src/identity.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 17:19:28 +0000
committertv <tv@krebsco.de>2026-11-16 18:30:09 +0100
commitf74a2226065639b384314a1962e8177146244861 (patch)
tree10c6a6ecd8ff944069d8239e175551072b05f805 /src/identity.rs
parent627795d72fedf19725c0d521788260dc63c137eb (diff)
federation-tests: vectors for JCS's order of names, and for the sizes
JCS sorts an object's names by their UTF-16 units, not by their bytes or code points; the two differ for a name from U+E000 to U+FFFF beside one beyond U+FFFF. Names in events and versions are ASCII, but a value is any JSON: a vector with two such names catches a builder sorting strings as Rust does. And vectors at federation 1's sizes and just past them.
Diffstat (limited to 'src/identity.rs')
0 files changed, 0 insertions, 0 deletions