v0.2.0
GoLogX v0.2.0
This release adds a tamper-evident audit log. The new audit package is an append-only, hash-chained, optionally Ed25519-signed slog handler: edit, delete, reorder, or forge a line and logx verify catches it at the exact entry. Sign the chain with an Ed25519 key and the entries cannot be re-forged without it.
What's new
auditpackage: a tamper-evidentsloghandler. Each record becomes a hash-chained JSON entry;audit.Verify/audit.VerifyFilewalk a log offline and report the first broken entry, andaudit.OpenFileresumes a chain across restarts. Standard library only, no external dependencies.logx verify: check a hash-chained log from the command line (exit0intact,1tampered,2unreadable). Pass-pubkey k.pubto also verify signatures.logx keygen: write an Ed25519 signing keypair.- The new verbs dispatch only as the first argument, so the existing
logxpretty-print behavior and every flag are unchanged.
Full notes in CHANGELOG.md.
Install:
# Library (audit + logx packages)
go get github.com/AyoubTadlaoui/GoLogX@v0.2.0
# CLI from source
go install github.com/AyoubTadlaoui/GoLogX/cmd/logx@v0.2.0
# CLI via Homebrew (macOS / Linux)
brew install AyoubTadlaoui/tap/logx
# CLI via Docker (linux/amd64, linux/arm64)
docker pull ghcr.io/ayoubtadlaoui/logx:0.2.0Or download a prebuilt binary below.