Repository navigation
chore(deps): bump sha2 to 0.11.3 off a yanked release with its vet entry - #3074
Conversation
Lands the rust-dependencies group from #3072 together with the supply-chain/ entry it needs, so Audit passes. sha2 0.11.2 was yanked upstream when 0.11.3 shipped, and cargo audit has been reporting it as an allowed yanked warning on main. Dependabot cannot write supply-chain/, so #3072 failed Audit with `sha2:0.11.3 missing ["safe-to-deploy"]`; this supersedes it the same way #3035 superseded #3034. The mechanism follows how the current version is covered: sha2 has only ever been an exemption, so the exemption moves to 0.11.3 rather than becoming a delta audit, which preserves the existing assurance level. The published diff is three target-specific correctness fixes and nothing else: big-endian loads in the aarch64_sha2 and aarch64_sha3 backends, with the byte-reversal now under cfg(target_endian = "little") and manual slicing replaced by as_chunks plus an emptiness assert; a compress signature that made the explicitly selected aarch64-sha2 backend fail to compile; and an inline-asm operand corrected from out to inout in the 32-bit RISC-V riscv_zknh path. No dependency enters or leaves the graph, there is no build script, and nothing touches the x86-64 paths this tree compiles.
Review summary (PR #3074, head
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | d654e14 | Commit Preview URL Branch Preview URL |
Dec 04 2026, 10:08 AM |
|
CI is green on
Not this PR's, on three independent grounds:
For the record these are wall-clock budgets of the class Generated by Claude Code |
What changed
sha20.11.2 → 0.11.3 in the rootCargo.lock, plus thesupply-chain/config.tomlentry that bump needs. Lockfile only; no manifestrequirement changes and no package enters or leaves the graph.
Supersedes #3072 (Dependabot), which can be closed.
Why
Two reasons, and the second is why Dependabot could not land this alone.
0.11.2 is yanked. Upstream yanked it when 0.11.3 shipped, and
cargo audithas been reporting it as an allowed
yankedwarning onmainever since(
Crate: sha2 / Version: 0.11.2 / Warning: yanked, run 47253825101). The rootlockfile is the last place it was still pinned — #3069 already moved the fuzz
lockfile.
Dependabot cannot write
supply-chain/. #3072 therefore failedAuditwith
1 unvetted dependencies: sha2:0.11.3 missing ["safe-to-deploy"], whichalso failed the aggregate
Check. This lands the same lockfile delta with thevet entry alongside it, the same way #3035 superseded #3034.
The mechanism follows how the current version is covered.
sha2has only everbeen carried by an exemption, never by a delta-audit chain, so the exemption
moves from 0.11.2 to 0.11.3 and the assurance level is unchanged. Making it a
delta audit instead would quietly claim more than this change reviewed.
Before / After
Audit—1 unvetted dependencies: sha2:0.11.3 missing ["safe-to-deploy"]→
cargo vet --lockedsucceeds:Vetting Succeeded (98 fully audited, 87 partially audited, 580 exempted), verified locally against this exacttree.
cargo audit— one fewer yanked crate in the root lockfile.Behavior — none. The published 0.11.2 → 0.11.3 diff is three
target-specific correctness fixes, read in full via
cargo vet diff:aarch64_sha2andaarch64_sha3backends — thevrev32q_u8/vrev64q_u8byte reversal is now undercfg(target_endian = "little"), and manual&block[16 * i..][..16]slicing is replaced by
as_chunks::<16>()with an emptiness assert, so thevld1q_u8load is provably in bounds rather than incidentally so;compresssignature insha256.rsthat read[u64; 8]/[u8; 128],which made the explicitly selected
aarch64-sha2backend fail to compile;outtoinoutin the 32-bit RISC-Vriscv_zknhunrolled path.No new dependency, no build script, no new
unsafe, and nothing touching thex86-64 paths this tree compiles. Changelog entries: RustCrypto/hashes feat(js): OpenAI SDK adapter — first-class GPT integration #957,
feat(js): Vercel AI SDK adapter — first-class integration #958,
exec < filedoes not redirect stdin for subsequent commands #960.Risk
target we build, the hashing tests would say so; the three fixes are confined
to aarch64 and riscv backends that CI does not select.
is the same standing 0.11.2 had.
Checklist
by the existing suite plus
cargo vetandcargo auditin CIGenerated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.