Stage 5b: the vectors of Go for the security area

tool/security_go_vectors.go writes test/vectors/security_vectors.json
with package capsule of datekeys-go at c531e93, the draft v0.12, run in
its module without changing it, and a part of it for Node.js in
security_vectors.g.dart:

- the commitments: PayloadCommit, ControlCommit of the control of every
  fixture and of controls built with extensions, in each format, with
  the text of the error where CONTROL_SIG cannot be encoded, HeadDigest,
  SignersDigest, AuthorMessage, AuthorCode, also of messages that
  AuthorMessage never writes, SigPart and SealSubject;
- the encoders of SECURITY_CBOR, author-signature and seal;
- 1730 evaluations of SECURITY_CBOR with EvaluateSecurityIn in 23
  contexts, and EvaluateSecurity without one: the outer map,
  author-signature and seal broken in every way of their schemas and
  limits; signatures of alg 1 valid and invalid, saved or not, with the
  cases of Taming the many EdDSAs made over AUTHOR_MESSAGE by searching
  the context; and mutations of nine bases from a fixed seed. Each case
  gives the verdicts, the key and the label of alg 1, the lines, alg and
  seal_type as read, and the parts that only the reader of CMS evaluates;
- Lines and SealedAt of verdicts built with every pair of verdicts and
  the details of signers and seals;
- holderText, reached with go:linkname, on names at the limit of 64 code
  points and drawn from the seed.

The files are ASCII, and every run writes the same bytes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.11
dev 2 days ago
parent 4f8f009b95
commit f2cd7305e6

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save

Powered by TurnKey Linux.