Repository navigation
v1.6.6 — prove_entry stream fix + README updates
v1.6.6
Addresses five post-release findings identified during external audit review of v1.6.5.
Code fix — Finding A: prove_entry() stream error now propagates
The same .ok() pattern fixed in generate() in v1.6.5 was also present in prove_entry(). A mid-stream SQLite read failure previously silently truncated the Merkle tree. The function would then fail with a misleading root-mismatch error instead of the true underlying database error — and if the requested entry happened to be encountered before the failure point, the function would continue computing and writing a proof against an incomplete tree.
stream_entries().ok() is now stream_entries().context(...)? — errors propagate immediately and abort proof generation on partial data.
Documentation fix — Finding E: README version references
All v1.6.0 references updated to v1.6.5:
- Version badge in header
- Binary download table (filenames and
wgetURLs) - SHA-256 checksum verification command
- cosign signature verification command (certificate identity tag ref)
- MCP health endpoint example output
- New v1.6.5 changelog section added covering all four v1.6.5 fixes
Tracked for follow-on releases (Findings B, C, D)
- B — Merkle leaf accumulation is unbounded in memory; an incremental accumulator is needed for ledgers approaching 25M entries
- C — HSM AAD integration tests needed across SoftHSM, AWS CloudHSM, and Azure HSM backends to demonstrate cryptographic context-binding end-to-end
- D — Dedicated regression tests for all four v1.6.5 fixes (stream error injection, AAD mismatch, Go TLS nil/true/false, TypeScript opt-out warning path)
Verify downloads
shasum -a 256 -c vledger-v1.6.6-checksums.txt
Note: Linux glibc binaries (
linux-x86_64,linux-aarch64) will be added once CI capacity is available. musl static binaries (-musl) are fully self-contained and work on all Linux distributions including Alpine and distroless containers.