Skip to content

build(deps): update sha2 requirement from 0.10 to 0.11 - #469

Merged
mxpv merged 2 commits into
mainfrom
dependabot/cargo/sha2-0.11
Sep 3, 2026
Merged

build(deps): update sha2 requirement from 0.10 to 0.11#469
mxpv merged 2 commits into
mainfrom
dependabot/cargo/sha2-0.11

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on sha2 to permit the latest version.

Commits

You can trigger a rebase of this PR 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added the T-dependencies Pull requests that update a dependency file label May 19, 2026
@github-actions github-actions Bot added the C-shim Containerd shim label May 19, 2026
@mxpv
mxpv force-pushed the dependabot/cargo/sha2-0.11 branch 2 times, most recently from 8d554c4 to c659295 Compare September 3, 2026 00:15
dependabot Bot and others added 2 commits September 2, 2026 17:26
Updates the requirements on [sha2](https://github.com/RustCrypto/hashes) to permit the latest version.
- [Commits](RustCrypto/hashes@groestl-v0.10.0...sha2-v0.10.9)

---
updated-dependencies:
- dependency-name: sha2
  dependency-version: 0.10.9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
sha2 0.11 dropped the `std` feature, so cargo could not resolve the
dependency at all and every CI job failed on `failed to select a version
for sha2`.

It also returns a `hybrid_array::Array` from `finalize()`, which unlike
the old `GenericArray` does not implement `LowerHex`, so hex encode the
digest by hand. Add a test pinning the resulting address, since it has to
keep matching what containerd computes on its side.

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
@mxpv
mxpv force-pushed the dependabot/cargo/sha2-0.11 branch from c659295 to 4407807 Compare September 3, 2026 00:26
@mxpv
mxpv merged commit 9bf82bf into main Sep 3, 2026
20 of 29 checks passed
@mxpv
mxpv deleted the dependabot/cargo/sha2-0.11 branch September 3, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-shim Containerd shim T-dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant