diff options
| author | tv <tv@krebsco.de> | 2026-11-15 16:31:37 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-15 16:31:37 +0000 |
| commit | 3152af43504bcfd6285d41f6b6ff67631d01fd0e (patch) | |
| tree | edd6ec7eb6e3e7243c71c087b796dd452f9d1dbd /src/remake/records.rs | |
| parent | 6be5646df342b21fe82c63f59cfec5a369ab54f8 (diff) | |
signed values: one reading of an envelope, everywhere
Three parts read an envelope three ways: the store's order took any
string with the prefix whose meta held a `seq`, its reads any whose
value decoded, the checks only one with four parts and a meta of
exactly its fields. A string that the first two took and the checks
refused was read first, read as the registry's or the policy's value,
and treated as nothing by the check of the next write there.
`document::signed` reads an envelope the one way: four parts, the
value JSON, the meta exactly its six fields (one more, or one twice,
and it isn't one), no newline in either, the signature decoding. The
store's order, its plain reads, the checks, the API and the users API
all go by it. What isn't one in every respect is a plain string,
wherever it is read.
Diffstat (limited to 'src/remake/records.rs')
0 files changed, 0 insertions, 0 deletions
