Skip to content

v1.8.5 — SDK login fix, web gateway & investigation UI, vledger export, security fixes

Latest

Choose a tag to compare

@pavondunbar pavondunbar released this 24 Nov 01:00

What's Changed

Client SDKs can log in (Python, Go, TypeScript)

Release builds of the server require an auth frame first and a session token on every request. None of the three SDKs sent either, so every query was refused. All three now take username/password (Go: Options.Username/Password), log in on connect and on reconnect, and raise VledgerAuthError on bad credentials.
Also fixed: Python with VledgerClient.connect(...) opened a stray connection to the default host and port; Go TLSCACert was documented but never loaded; Go Balance failed on the string cells the server returns; verify_chain errors now include the server's integrity-failure message.

Web gateway and investigation UI

  • gateway/server.mjs: dependency-free Node gateway that holds the TLS connection to vledger start and serves a read-only HTTP API plus index.html on the same origin. Users sign in with their own ledger account; only fixed, validated statements are sent. See gateway/README.md.
  • index.html: when served by the gateway, entries are fetched from the ledger and ledger-derived fields are locked. Opened from disk, it runs in clearly labelled demo mode.

New

  • vledger export: accounts, balances, entries and lines to CSV/JSONL with a BLAKE3 manifest. Works on every tier, verifies the hash chain first, refuses to overwrite. New LedgerExported audit event.
  • DECOMMISSION.md: exporting, archiving and removing a deployment, including after a license lapses.

Fixes

  • Restore of backups taken from a symlinked or relative data directory (archive names are now relative to the canonical data dir). Re-take affected backups; tar tf <archive> should show wal/…, not wal//….
  • Kani harnesses build again (imports restored under #[cfg(kani)]); all 21 proofs verify.
  • Clippy lints for Rust 1.100.

Security / dependencies

  • url 2.5.8 → 2.5.9: RUSTSEC-2026-0592 (stack overflow in Url::origin() on nested blob: URLs).
  • rusqlite 0.31 → 0.43 (libsqlite3-sys 0.40): RUSTSEC-2026-0459.

Upgrade notes

No schema migration or data-directory changes. SDK users must now pass credentials.

Assets

Six tarballs (Linux glibc and fully static musl for x86_64 and ARM64, macOS x86_64 and Apple Silicon), each containing the single vledger binary, plus vledger-v1.8.5-checksums.txt. Built locally; this release has no cosign signature or SBOM. Verify with sha256sum -c vledger-v1.8.5-checksums.txt.