RSW-0003 vectors package - Identity and Signatures, revision 0.01 Really Small Web | developed by Pablo Murad | 2026-11-23 TEST ONLY - NOT FOR PRODUCTION - this public test key does not belong to Pablo Murad. What this is ------------ Eleven cartridges (three positive, eight negative), the reference bytes C and M, expected results, and two independent component tests, as listed in RSW-0003 appendix A and section 08. Provenance ---------- The package delivered with the first draft contained only the positive signed cartridge. This package was regenerated on 2026-11-23 from the specification text by rfc-preparation/vectors/build_vectors.py (pure Python, no dependencies, Ed25519 per RFC 8032 section 6, JCS per RFC 8785). Before writing anything the generator reproduces, byte for byte, the published RSW-0001, RSW-0002 and RSW-0003 examples. RSW-0003-exemplo.rsw.png is identical to the cartridge delivered originally (sha256 a5ff1a294b1c1a1b7dadc55acca226d164acbf74e4d5da9552635f17a7b47d26). Expected results are normative expectations for a future complete validator. The generator classifies every vector with its own small reader as a self-check; that reader is not the official RSW parser, which does not exist yet. Layout ------ cartridges/ p1 RSW-0003-exemplo, p2..p3 positive, n1..n8 negative reference/ C, M, public key, signature, test seed expected.json H_png, expected state and error category for each cartridge tests/ jcs-check.mjs (Node.js 18+, no packages) verify.go (Go 1.20+, standard library only) Running the tests ----------------- cd tests node jcs-check.mjs go run verify.go jcs-check.mjs re-canonicalizes the manifests of p1, p2, n6 and n8 with JavaScript's own UTF-16 key ordering and compares the bytes with C. verify.go checks the signatures with Go crypto/ed25519 and re-derives the example signature from the test seed. Library acceptance is not the strict profile: verify.go prints how the library treats n5 and n7 so the difference is visible. License: CC0 1.0.