The verifier in this directory uses the Go standard library only and has no dependencies.

    CGO_ENABLED=0 go build -trimpath -o adrverify .

With go1.24.7 on linux/amd64 this gives a program with SHA-256
9ddcea5b1e5d24694906d3888fe37d3764c6ae579c5ed5b790171fd835fadff6, and with -ldflags=-buildid= in addition
4ff8363f26b2af8c57025d31dc28ffe993598f352f204425a9e64e59beaea197. Both values were measured on the files of the
finished archive: extracted into an empty directory and built there twice, with the same bytes both times. Other Go
versions and platforms give other bytes.

The recorded outputs of the nine vectors added after the second reading (J1, J2, CS1 to CS4, C2-iss-8192,
C2-s1-iss-8193 and E21) and of C2-iss-4097e, added after the third reading, were measured with the
program of this package before the StringOrURI check of Appendix B.3,
SHA-256 255fc752ac351bc6e7e87c1611ea883267fd9adcd6e0b59ffbf577977ee67bc0.
The recorded outputs of the vectors added in the merge for -10
and after it, and of SA1 to SA16 signed anew, were measured with the program of the previous version of this package,
SHA-256 8dbdfad3d845fd3c1cf4009f69ff65b4978505df6524c5fa29eeaab6fea4ddfd. This program gives them as well, and also the
recorded outputs of every other vector of expected.json, expected-08/ and expected-10/, which were measured with the
program of -08, SHA-256 c6f5be8bd64a2191133ebf80457bd8f99fb0440700ca2e6ff64be2442e3ba858.

For the neutral receipt types of -11 the constants decisionType and outcomeType in main.go changed. Every envelope of
the test package whose payload names a receipt type carries the new type, F12 and F55 with the version v0.2 that they
test. Read with whitespace and padding ignored, the payload of every envelope names one, among them those of F78, F79
and F95, which fail at step 2 of Section 3.2. Each signature of the DSSE envelopes of the receipts that is valid over
its payload is signed again by the key that signed it. V1-bad, F79 and F95 carry the signature of V1-good unchanged.
The DSSE signatures that are invalid on purpose are made again in the same way from the new signatures and keys: K6
and K8 with a changed first byte, F123 with S plus L, and G01 with a point of order 8 in R. PK3 and PK4 are signed
again under the key that their vectors expect, the key of gate-1 or observer-1 plus a point of order 8. PK1 and PK2,
whose expected key is the identity point, keep their signatures, and so do the additional entries of G02c and G02f
that no key verifies and the second entries of F117 to F119, which are not signatures. The approval records of SA1 to
SA21 keep their files and with them their approver signatures, including those that are invalid on purpose, such as
SA14 with S plus L and SA16 over B instead of M. The COSE_Sign1 vectors of cose/ keep their files, among them C2-s3-sl
with S plus L and CPK1 to CPK4, except C3-mixed, whose file is built again because it binds the DSSE receipt
V3-decision. The program above gives the recorded output of every vector of expected.json, expected-08/, expected-10/,
cose/, first-check/ and approver-signature/. F79 and F95 are derived from V1-good, whose payload is written with
padding, because the payload of V2-good of -11 has none. The recorded outputs of F86, F88, K13, K14, E1, E9, E15, E17,
E18 and E20 were recorded anew with the program 255fc752ac351bc6e7e87c1611ea883267fd9adcd6e0b59ffbf577977ee67bc0,
because they name byte offsets, the first twelve digits of a content root, or two content roots in the order of their
new values.

For the check of step 1 of Appendix B.3 that iss and sub have the StringOrURI form of Section 2 of RFC 8392, cose.go
changed for -11: step 1 calls the new function isStringOrURI for iss after the bound on its length and then for sub,
and isStringOrURI and its helpers follow the production URI of Appendix A of RFC 3986. No other Go source file
changed. The recorded outputs of C2-s1-iss-space and C2-s1-sub-space, added with that check, were measured with the
program above.
