Skip to content

chore(deps): bump sha2 from 0.11.2 to 0.11.3 in the rust-dependencies group - #3072

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust-dependencies-8b8155a6bb
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust-dependencies-8b8155a6bb

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the rust-dependencies group with 1 update: sha2.

Updates sha2 from 0.11.2 to 0.11.3

Commits
  • 9efc7ca Release sha2 v0.11.3 (#961)
  • 5096e9e sha2: fix sha256/aarch64_sha2 and sha512/aarch64_sha3 backends for big-en...
  • 13d62e9 sha2: fix sha512/riscv_zknh/unroll backend for RV32 targets (#960)
  • 9a565f1 kupyna: document output-size units and variant distinction (#959)
  • 4607a15 Use prepare-lock-toolchain action (#955)
  • 1657056 jh: cover reset behavior in known-answer tests (#956)
  • f89d675 Fix compilation error for explicitly selected aarch64-sha2 backend (#958)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Bumps the rust-dependencies group with 1 update: [sha2](https://github.com/RustCrypto/hashes).


Updates `sha2` from 0.11.2 to 0.11.3
- [Commits](RustCrypto/hashes@sha2-v0.11.2...sha2-v0.11.3)

---
updated-dependencies:
- dependency-name: sha2
  dependency-version: 0.11.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Dec 4, 2026
@bashkit-pr-reviewer

Copy link
Copy Markdown

Review summary (PR #3072)

Verdict: Safe to merge — lockfile-only patch bump sha2 0.11.2 → 0.11.3 with no API changes. No findings.

Change: Cargo.lock only (16 reference updates + sha2 version/checksum). Upstream 0.11.3 per PR body is backend correctness fixes (sha256/aarch64_sha2 and sha512/aarch64_sha3 big-endian, sha512/riscv_zknh RV32, aarch64-sha2 explicit-backend compile fix) plus docs/tooling — strictly beneficial for Bashkit's Sha256 uses (crates/bashkit/src/snapshot/mod.rs, objects.rs, tests).

Context read beyond the diff: AGENTS.md (coding-agent guidance) and grep for sha2 usages in Cargo/*.rs — confirmed only indirect Sha256/Digest hashing uses, no pinned API or behavioral dependency. Diff was complete (truncated: false). No build/test run per reviewer constraints (reasoned from code). Nothing unreviewable.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit 2eb7a77 Commit Preview URL

Branch Preview URL
Dec 04 2026, 02:50 AM

chaliy commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Superseded by #3074, which carries this exact lockfile delta plus the supply-chain/config.toml entry it needs.

Audit failed here on 1 unvetted dependencies: sha2:0.11.3 missing ["safe-to-deploy"] (which also failed the aggregate Check). Dependabot cannot write supply-chain/, so the vet entry has to come from a branch it does not manage — the same split as #3034 → #3035. #3074 moves the existing sha2 exemption from 0.11.2 to 0.11.3, preserving the assurance level, and cargo vet --locked succeeds there.

Worth recording that this bump was more than routine: 0.11.2 was yanked upstream when 0.11.3 shipped, and cargo audit had been reporting it as an allowed yanked warning on main.

Closing in favour of #3074.


Generated by Claude Code

@chaliy chaliy closed this Dec 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot
dependabot Bot deleted the dependabot/cargo/rust-dependencies-8b8155a6bb branch December 4, 2026 10:08
chaliy added a commit that referenced this pull request Dec 4, 2026
…try (#3074)

## What changed

`sha2` 0.11.2 → 0.11.3 in the root `Cargo.lock`, plus the
`supply-chain/config.toml` entry that bump needs. Lockfile only; no
manifest
requirement 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
audit`
has been reporting it as an allowed `yanked` warning on `main` ever
since
(`Crate: sha2 / Version: 0.11.2 / Warning: yanked`, run 47253825101).
The root
lockfile is the last place it was still pinned — #3069 already moved the
fuzz
lockfile.

**Dependabot cannot write `supply-chain/`.** #3072 therefore failed
`Audit`
with `1 unvetted dependencies: sha2:0.11.3 missing ["safe-to-deploy"]`,
which
also failed the aggregate `Check`. This lands the same lockfile delta
with the
vet entry alongside it, the same way #3035 superseded #3034.

The mechanism follows how the current version is covered. `sha2` has
only ever
been 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 --locked` succeeds: `Vetting Succeeded (98 fully audited,
87 partially audited, 580 exempted)`, verified locally against this
exact
  tree.
- **`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`:
- big-endian loads in the `aarch64_sha2` and `aarch64_sha3` backends —
the
    `vrev32q_u8` / `vrev64q_u8` byte reversal is now under
    `cfg(target_endian = "little")`, and manual `&block[16 * i..][..16]`
slicing is replaced by `as_chunks::<16>()` with an emptiness assert, so
the
    `vld1q_u8` load is provably in bounds rather than incidentally so;
- a `compress` signature in `sha256.rs` that read `[u64; 8]` / `[u8;
128]`,
which made the explicitly selected `aarch64-sha2` backend fail to
compile;
- an inline-asm operand corrected from `out` to `inout` in the 32-bit
RISC-V
    `riscv_zknh` unrolled path.

No new dependency, no build script, no new `unsafe`, and nothing
touching the
x86-64 paths this tree compiles. Changelog entries: RustCrypto/hashes
#957,
  #958, #960.

## Risk

- Low
- A patch bump of a hash crate in the lockfile. If 0.11.3 were wrong on
a
target we build, the hashing tests would say so; the three fixes are
confined
  to aarch64 and riscv backends that CI does not select.
- The exemption records that this version is *not* independently
audited, which
  is the same standing 0.11.2 had.

## Checklist

- [x] Tests added or updated — n/a, lockfile and audit metadata only;
covered
      by the existing suite plus `cargo vet` and `cargo audit` in CI
- [x] Backward compatibility considered

---
_Generated by [Claude Code](https://claude.ai/code)_

<!-- codesmith:footer -->
---
<a
href="https://dashboardbackend.blacksmith.sh/track/run-proof?expires=1798970892&installation_model_id=447267&pr_number=3074&ref=codesmith_pr_footer&repository=everruns%2Fbashkit&return_to=https%3A%2F%2Fgithub.com%2Feverruns%2Fbashkit%2Fpull%2F3074&variant=start_proof&signature=36b077b999059d68a31e933508a13417c907f5fb853e944632c167fdfb423b10"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/proof-start-proof-v2-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/proof-start-proof-v2-light.svg"><img
alt="Start Proof"
src="https://pr-comments-assets.blacksmith.sh/codesmith/proof-start-proof-v2-dark-3x.png"
width="108" height="28"></picture></a>
<sup><a
href="https://app.blacksmith.sh/everruns/codesmith/bashkit/pr/3074?autoLogin=true&ref=codesmith_pr_footer">Open
in [code]smith</a> · Need help on this PR? Tag
<code>@codesmith-bot</code> with what you need.</sup>

<!-- codesmith:autofix:disabled -->
<!-- /codesmith:footer -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant