Skip to content

Conversation

@skmcgrail
Copy link
Member

Description of changes:

Remove the salt length restriction for HKDF operations by moving the salt bytes field to be a Box'd value.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.52%. Comparing base (c358484) to head (99fe5d7).
⚠️ Report is 287 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #951      +/-   ##
==========================================
- Coverage   95.80%   92.52%   -3.28%     
==========================================
  Files          61       74      +13     
  Lines        8143     9852    +1709     
  Branches        0     9852    +9852     
==========================================
+ Hits         7801     9116    +1315     
- Misses        342      449     +107     
- Partials        0      287     +287     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@skmcgrail skmcgrail marked this pull request as ready for review November 15, 2025 00:59
@skmcgrail skmcgrail requested a review from a team as a code owner November 15, 2025 00:59
torben-hansen
torben-hansen previously approved these changes Nov 15, 2025
Comment on lines +105 to 106
// Box<[u8]> implements Zeroize, so we can call it directly
self.bytes.zeroize();
Copy link
Contributor

Choose a reason for hiding this comment

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

NP: I think the Salt is a public value, so I'm not sure this is necessary.

@skmcgrail skmcgrail merged commit 3728f18 into aws:main Nov 17, 2025
347 checks passed
@skmcgrail skmcgrail deleted the hkdf-uncap-salt branch November 17, 2025 18:16
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.

4 participants