24 lines
936 B
Markdown
24 lines
936 B
Markdown
# interop.ansmodel
|
|||
|
|
|
||
|
|
Written by **ANSMINDCORE's** packer (`src/model/ansmodel.hpp`), opened by
|
||
|
|
**this** implementation in the unit test. That is the point of it: the two
|
||
|
|
products must read the same bytes, and a fixture one of them produced is the
|
||
|
|
only way to prove it.
|
||
|
|
|
||
|
|
Keys, so any implementation can reconstruct them:
|
||
|
|
|
||
|
|
| Material | Rule |
|
||
|
|
|---|---|
|
||
|
|
| base X25519 private key | byte *i* = `i*3 + 9` |
|
||
|
|
| root Ed25519 seed | byte *i* = `i*7 + 1` |
|
||
|
|
| release Ed25519 seed | byte *i* = `i*11 + 5` |
|
||
|
|
| model payload, 12000 bytes | byte *i* = `(i*31 + 21) & 0xff` |
|
||
|
|
|
||
|
|
Ids: base key `ansk-v1-base`, root `ansroot-v1`, signer `anssig-2026-09`,
|
||
|
|
certificate valid until 2030-01-01. Chunk size 4096, so the payload really is
|
||
|
|
chunked.
|
||
|
|
|
||
|
|
To regenerate after a deliberate format change, pack the same manifest from
|
||
|
|
ANSMINDCORE with those keys and replace this file — and expect both suites to
|
||
|
|
fail until they agree again, which is the alarm working.
|