chore(deps): bump hmac to 0.13.0 and sha2 to 0.11.0#33
Open
mendral-app[bot] wants to merge 4 commits into
Open
chore(deps): bump hmac to 0.13.0 and sha2 to 0.11.0#33mendral-app[bot] wants to merge 4 commits into
mendral-app[bot] wants to merge 4 commits into
Conversation
Required by new repository policy that enforces SHA-pinned actions.
Deploying pratrol with
|
| Latest commit: |
dc46efd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://10e209f9.pratrol.pages.dev |
| Branch Preview URL: | https://mendral-deps-hmac-0-13-0-sha.pratrol.pages.dev |
In hmac 0.13, new_from_slice moved from Mac to KeyInit trait.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are 0.x minor version bumps (semver-breaking for pre-1.0 crates) in the RustCrypto ecosystem:
Hmac<D>changed from type alias to newtype; depends on digest 0.11Sha256changed from type alias to newtype; depends on digest 0.11What we use: Basic
Mactrait operations for GitHub webhook signature verification (new_from_slice,update,verify_slice,finalize().into_bytes()).Behavioral risk: The MAC operations should behave identically. The
Mactrait in 0.13 extendsKeyInitand still providesnew_from_slice. Theverify_sliceandfinalizemethods remain unchanged in behavior.What couldn't be verified locally: Full compilation and test execution — relying on CI.
Suggested manual checks: Verify webhook signature validation still works end-to-end after merge.
Packages bumped
Per-package changelog details
hmac 0.12.1 → 0.13.0
Hmac<D>changed from type alias to newtype structstdandresetfeaturesHmacReset<D>type for reset capabilitynew_from_slice+update+verify_slice/finalize— theMactrait still exposes all of these.sha2 0.10.9 → 0.11.0
Sha256changed from type alias to newtype structasm,compress,stdfeatures (we don't use any)Sha256is only used as a type parameter toHmac<Sha256>— no direct method calls on it.Files modified
Cargo.tomlCargo.lock.github/workflows/ci.yml(SHA-pinning for new repo policy)Note
Created by Mendral. Tag @mendral-app with feedback or questions.