Skip to content

chore(deps): ignore RustCrypto minor bumps until ecosystem stabilizes#147

Merged
EffortlessSteven merged 1 commit into
mainfrom
deps/dependabot-rustcrypto-ignore
Apr 19, 2026
Merged

chore(deps): ignore RustCrypto minor bumps until ecosystem stabilizes#147
EffortlessSteven merged 1 commit into
mainfrom
deps/dependabot-rustcrypto-ignore

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

Adds dependabot ignore rules for hmac, sha2, pbkdf2, and aes-gcm minor bumps so #40 and #41 (and their re-opens) stop cluttering the tracker until the ecosystem stabilizes.

The coupling problem

#40 (hmac 0.12→0.13) and #41 (sha2 0.10→0.11) look like independent dep bumps but are coupled through digest:

Crate We pin Latest stable digest version
hmac 0.12.1 0.13.0 0.13 needs digest 0.11
sha2 0.10.9 0.11.0 0.11 needs digest 0.11
pbkdf2 0.12.2 0.13.0-rc.10 0.13 needs digest 0.11
aes-gcm 0.10.x 0.11.0-rc.3 0.11 needs digest 0.11

Hmac::<Sha256> and pbkdf2_hmac_array::<Sha256, _> all require matching digest trait versions. A lone bump breaks compilation because the digest versions diverge.

Moving everything forward requires accepting pre-release crypto crates (pbkdf2 0.13.0-rc.10, aes-gcm 0.11.0-rc.3), which isn't a good trade for a security-relevant path.

Action

  1. Add ignore rules for the four coupled deps at semver-minor level.
  2. Close deps(deps): bump hmac from 0.12.1 to 0.13.0 #40 and deps(deps): bump sha2 from 0.10.9 to 0.11.0 #41 as blocked-on-ecosystem.
  3. Re-enable by deleting these ignore entries once pbkdf2 0.13 and aes-gcm 0.11 ship as stable releases.

Our current pins (hmac 0.12, sha2 0.10, pbkdf2 0.12, aes-gcm 0.10) have no open security advisories; staying put is safe.

Test plan

  • .github/dependabot.yml parses (YAML structure unchanged except for the ignore: block)
  • After merge: @dependabot recreate on any reopened hmac/sha2 PR confirms they're suppressed

Dependabot opened #40 (hmac 0.12→0.13) and #41 (sha2 0.10→0.11) as
independent PRs, but these bumps are coupled through the `digest`
trait: hmac 0.13 and sha2 0.11 both require `digest` 0.11, while our
pbkdf2 0.12 and aes-gcm 0.10 sit on `digest` 0.10. `Hmac::<Sha256>`
requires matching `digest` trait versions across all three crates, so
a lone hmac or sha2 bump fails to compile.

pbkdf2 0.13 and aes-gcm 0.11 (the coupled counterparts on digest 0.11)
are currently only released as pre-release versions (0.13.0-rc.10 and
0.11.0-rc.3). Taking pre-release crypto crates in a security-relevant
path isn't a good trade.

Add dependabot ignore rules for hmac/sha2/pbkdf2/aes-gcm minor bumps
so the tracker doesn't re-open these stale PRs weekly. Re-enable by
deleting these ignore entries once pbkdf2 0.13 and aes-gcm 0.11 ship
as stable releases.
@coderabbitai

coderabbitai Bot commented Apr 19, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@EffortlessSteven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 25 minutes and 14 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 25 minutes and 14 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5ae1001d-21b9-414f-a702-2039476857e6

📥 Commits

Reviewing files that changed from the base of the PR and between cb73536 and 4bd206c.

📒 Files selected for processing (1)
  • .github/dependabot.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch deps/dependabot-rustcrypto-ignore

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Dependabot configuration to ignore minor version updates for specific RustCrypto ecosystem crates, including hmac, sha2, pbkdf2, and aes-gcm. This change prevents build failures caused by version mismatches in the shared digest trait while certain dependencies remain in pre-release. I have no feedback to provide.

@codecov

codecov Bot commented Apr 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@EffortlessSteven EffortlessSteven merged commit 2b3e0ff into main Apr 19, 2026
20 checks passed
@EffortlessSteven EffortlessSteven deleted the deps/dependabot-rustcrypto-ignore branch April 19, 2026 01:12
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