Skip to content

chore: release 1.3.1, bump rand to 0.8.6 - #37

Merged
lucatescari merged 1 commit into
devfrom
chore/release-1.3.1
Aug 11, 2026
Merged

chore: release 1.3.1, bump rand to 0.8.6#37
lucatescari merged 1 commit into
devfrom
chore/release-1.3.1

Conversation

@lucatescari

Copy link
Copy Markdown
Owner

Release prep for the security fixes in #28 and #29.

rand 0.8.5 → 0.8.6

Dependabot fired its first ever alert the moment #28 landed on devGHSA-cq8v-f236-94qc (low), rand < 0.8.6 is unsound with a custom logger using rand::rng(). The advisory was published 2026-04-14; the alert was created at 10:34:41Z today, seconds after the merge. It had simply never scanned the default branch before.

gitveil is not affected — it calls OsRng.fill_bytes directly and never installs a custom logger — but the bump is free and clears the alert. Lockfile only; Cargo.toml already says rand = "0.8".

Remaining audit warning

cargo audit is down to one: RUSTSEC-2026-0190 in anyhow. cargo tree -i anyhow --target all prints nothing, so it's a Cargo.lock entry that isn't reachable in the resolved dependency graph and isn't compiled into the binary. Left alone rather than regenerating the whole lockfile immediately before a release.

Version

1.3.0 → 1.3.1.

Verification

cargo fmt --check, cargo clippy --all-targets -- -D warnings, 131/131 tests, cargo audit — clean locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TYMP8eH52L6rNdjbukfuyZ

Dependabot fired its first alert the moment the security fix landed on
`dev` (GHSA-cq8v-f236-94qc, low): rand < 0.8.6 is unsound with a custom
logger using `rand::rng()`. gitveil calls `OsRng.fill_bytes` directly and
never installs a custom logger, so it was not affected — but the bump is
free and clears the alert.

`cargo audit` is now down to one warning, RUSTSEC-2026-0190 in anyhow.
`cargo tree -i anyhow --target all` prints nothing: it is a Cargo.lock
entry that is not reachable in the resolved graph, so it is not compiled
into the binary.

Version bumped for the release carrying the key-name injection fix
(#28) and the GPG hardening (#29).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TYMP8eH52L6rNdjbukfuyZ
@lucatescari
lucatescari merged commit 60e365f into dev Aug 11, 2026
4 checks passed
@lucatescari
lucatescari deleted the chore/release-1.3.1 branch August 11, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant