Repository navigation
v0.1.12
KRY 0.1.12 fixes repeated credit in the optional TEE and SEV-SNP measurement paths.
A measurement ID containing a slash or whitespace could fail to match its existing receipt. A second presentation with different evidence bytes could then mint the same saving again. Both entry points now require a nonempty string fully matching [^/\s]+, including operator overrides and dry runs. Direct promote_to_tee rejects invalid IDs with ValueError; it does not return the same result as “no prior receipt.”
A related lookup bug affected otherwise valid IDs containing JSON-escaped characters. Receipt matching now decodes JSON before comparing complete IDs, preserving quotes, backslashes and non-ASCII IDs. Invalid CLI input exits nonzero.
Validation includes 90 new cases: 82 exposed failures on 0.1.11 and eight retained passing controls. The full integration suite passed 2,573 tests with 14 optional skips and one existing dependency warning. The separate native-crypto suite passed 173 tests with no skips; the JavaScript corpus passed 402 cases. The signed tag's full release proof is included as a release asset.
Existing receipt formats and vector verdicts are unchanged. These changes prevent new duplicate credits through the covered paths; they do not rewrite historical receipts or automatically repair earlier balances. Operators who used affected IDs should review the retained ledger before relying on its totals.
The deferred v0.2.0 decisions remain unchanged: usd_equivalent verification, the pairwise multiplier set, sequence-based anchor lookup and the import name. Nitro/SNP remain optional. The package contains the core library and public CLIs; optional evidence scripts require the checkout or full source archive. Passing these checks does not establish the truth of a measurement, provider charges, cash savings or settlement.