- SpecVersion is 0.10: the version command, the catalogue test and the
spec field of every test data file name spec v0.10. The regenerated
test data change in that field only.
- All lists ERR_HEAD_INVALID, last, as section 69 of the spec does.
- The tests of the path rules and of format 3 held literal invisible
and combining characters (ZWJ, VS16, U+202E, soft hyphen, the Kelvin
sign and others), which an editor could normalize or hide; they are
Go escapes now, with the same values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"layout: a first start that is not 0":{head(t,map[uint64]any{5:[]any{file("a",1,1,2)}}),datekeys.ErrHeadInvalid},
"layout: end minus start is not size":{head(t,map[uint64]any{5:[]any{file("a",2,0,1)}}),datekeys.ErrHeadInvalid},
"layout: a gap":{head(t,map[uint64]any{5:[]any{file("a",1,0,1),file("b",1,2,3)}}),datekeys.ErrHeadInvalid},
"R7: A.txt and a.txt":{head(t,map[uint64]any{5:[]any{file("A.txt",0,0,0),file("a.txt",0,0,0)}}),datekeys.ErrHeadInvalid},
"a comment and a path that break":{head(t,map[uint64]any{3:"a",5:[]any{file("..",0,0,0)}}),datekeys.ErrHeadInvalid},
"a comment and a path that break":{head(t,map[uint64]any{3:"a\u202e",5:[]any{file("..",0,0,0)}}),datekeys.ErrHeadInvalid},
"a path that breaks, then an unknown critical extension":{head(t,map[uint64]any{5:[]any{file("..",0,0,0)},6:[]any{map[uint64]any{0:"x.example",1:uint64(1)}}}),datekeys.ErrHeadInvalid},
"description":"portable X25519 .dkk of time_and_key_portable.dkc with a noncritical extension: the credential of time_and_key_portable.dkk re-issued with org.example.delivery",
"description":"CBOR profile of spec §58 and the schemas of spec/datekeys.cddl, generated by the reference implementation. accept and reject are walked as one data item of the profile with the limits of walk; schemas are decoded with the decoder of their schema. See testdata/README.md.",
"description":"Differential corpus of the pre-unlock checks (spec §63 steps 1 to 8): deterministic mutations of the official .dkc fixtures with the verdict of the reference implementation. See testdata/README.md.",
"format":"Each mutation is bases[base].file (in testdata/fixtures) with its edits applied. An edit is [at, delete, insert]: the delete bytes at offset at of the base are replaced by the bytes of the hex string insert. The edits of one mutation refer to offsets of the unmodified base, are sorted by offset and do not overlap. result is the verdict of steps 1 to 8 of spec §63 (capsule.Inspect, the Quicknet profile pinned, no extension known, no network, no secret): ok, or the normative error code, with step the step that failed. kind names the generator of the mutation and is informative.",
"description":"Mutation corpus of spec §64 and further cases of capsule.TestMutationCorpus, generated by the reference implementation: each case is a .dkc and what the reader is given, with the normative error and the step of spec §63 at which capsule.Open fails. See testdata/README.md.",
"description":"Padding rules of the payload of a format 2 capsule (spec §29.1): for each content length L, P with code 1 (bloque256) and code 2 (reforzado), and the length of PAYLOAD_AGE for each. e, s and last_bits are informative. Generated by the reference implementation. See testdata/README.md.",
"description":"H2 of the IBE-CCA of tlock (spec §63 step 11): SHA-256 of \"IBE-H2\" and the 576 bytes of an element of GT, c1 before c0 at every level of the tower and each coordinate of Fp in 48 bytes big-endian (the order of kilic/bls12-381), truncated to 16 bytes. Generated by the reference implementation with drand/kyber-bls12381, the pairing of tlock.",