Repository navigation
Releases
v1.4.4
Dependencies upgraded to their latest versions. golang.org/x/crypto moves from 0.51.0 to 0.59.0, which fixes 17 advisories (among them GO-2026-6354 and GO-2026-6355) that crate-agent's code never reached; the Argon2id passphrase-slot tests pass on it. modernc.org/sqlite moves from 1.50.1 to 1.63.0. govulncheck reports no vulnerabilities. No source change from 1.4.3.
The macOS binaries are signed with a Developer ID and notarized by Apple and built on the maintainer's Mac; the Linux binaries are built by the release workflow. Each binary has a .sha256 file beside it. Full changelog: CHANGELOG.md
Full Changelog: v1.4.3...v1.4.4
v1.4.3
Built with Go 1.27.4, which fixes GO-2026-6859 (a net/http crash). 1.4.1 and 1.4.2 were built with Go 1.27.3. No source change from 1.4.2.
The macOS binaries are signed with a Developer ID and notarized by Apple and built on the maintainer's Mac; the Linux binaries are built by the release workflow. Each binary has a .sha256 file beside it. Full changelog: CHANGELOG.md
Full Changelog: v1.4.2...v1.4.3
v1.4.2
The macOS binaries are now signed with a Developer ID and notarized by Apple, so a downloaded crate-agent-darwin-arm64 or crate-agent-darwin-amd64 runs without the unidentified-developer block. They are built on the maintainer's Mac; the Linux binaries are still built by the release workflow.
Added: Argon2id passphrase slots (pairs with crate 1.3)
.crate/crate.jsonpassphrase slots may name"kdf": "Argon2id"withm(KiB),tandp. PBKDF2 slots work as before. Parameters outside m 8 192–262 144 KiB, t 1–10, p 1–4 are refused, so a tamperedcrate.jsoncan neither weaken a slot nor exhaust memory.- The config records the KDF the capability is sealed under (empty means PBKDF2-600k, so existing configs are unchanged). Reconciliation re-seals the capability when the folder's salt or KDF changes, and
startderives with the recorded KDF. This also fixes a fault where a PBKDF2 slot with a count other than 600 000 failed on the nextstart.
Each binary has a .sha256 file beside it. Full changelog: CHANGELOG.md
Full Changelog: v1.4.1...v1.4.2
v1.4.1
Rebuilt with Go 1.27.3 / patched certificate stores after the eMudhra CA compromise. No source change from 1.4.0.
Full Changelog: v1.4.0...v1.4.1
v1.4.0
v1.3.1
v1.3.0
v1.2.0
v1.1.0
What's Changed
- sec(httpc): send X-Fabric-Device-Id on every authenticated request by @NakliTechie in #1
- chore: go mod tidy after fabric-sdk-go dep refresh by @NakliTechie in #2
New Contributors
- @NakliTechie made their first contribution in #1
Full Changelog: v1.0.1...v1.1.0
v1.0.1 — Security: manifest rollback anchor + full scope-subset validation
Closes the two architecturally-deferred findings from the 2026-05 Codex security audit.
v1.0.0 had quick fixes for H2 (path traversal) + H3 (expiry bound) + H4 + M1 + L1 + L2. v1.0.1 adds the deeper-required code for the remaining two:
Patches
- H1 — manifest rollback / truncation detection. New
state.manifest_anchortable (migration v3) holding{count, last_sig}per bucket. The puller validates every manifest pull against the anchor — truncation (loaded count < anchor count) and fork (chain diverges at anchor point) both fail closed. First-load is TOFU +slog.Info. - H3 (full) — capability scope-subset validation.
validateRefreshedCapabilitynow decodes both current and refreshed macaroons viafabric-sdk-go/grant.Parseand enforces: issuer unchanged, primitive unchanged, namespace unchanged, operations ⊆ current. Narrowed scope is accepted; widening is rejected.
Test coverage
- 4 new puller tests (TOFU, accept-extension, reject-truncation, reject-fork)
- 2 new state tests (anchor round-trip + clock override)
- 6 new refresh tests (each scope rejection + a narrowed-acceptance test)
- All v1.0.0 tests still green
Audit close-out
After this release: no outstanding audit items on crate-agent. The Codex audit's H1, H2, H3 (partial + full), H4, M1, L1, L2 findings are all patched.
Binaries
Built from 98e4d91 with make all VERSION=v1.0.1. SHA-256 checksums alongside each binary.
darwin-amd64 f20af3ef7890fc5d0479f820461311738b89775b4ce8aa3d903b0d87d53c0a3d
darwin-arm64 ceada9cf9959e210fbaf8dc76d2721e534af96a8ccab48180eac26936dba544f
linux-amd64 d84b7d7e137a4c19fcf5d626ea2a464df0924636a77de78a04379c74adb25de4
linux-arm64 5319bf5c56e7804b4d6f34d43e5bc391219b742d2ab8e8974367915739644cb9
Upgrading from v1.0.0
- macOS / Linux:
curl -L https://github.com/NakliTechie/crate-agent/releases/latest/download/crate-agent-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed s/x86_64/amd64/) -o /usr/local/bin/crate-agent && chmod +x /usr/local/bin/crate-agent - Restart the daemon (
launchctl kickstarton macOS /systemctl restarton Linux). The new state.db migration v3 runs automatically on first start; the anchor TOFUs on the next manifest pull. No config changes required. - Browser side (crate v1.0.1) gets the matching H2 patch — both sides land together.
Full changelog: CHANGELOG.md