Skip to content

refactor(aws-kms-tls-auth): add hmac based psk derivation#5519

Merged
jmayclin merged 7 commits intoaws:mainfrom
jmayclin:2025-09-19-psk-derivation
Sep 25, 2025
Merged

refactor(aws-kms-tls-auth): add hmac based psk derivation#5519
jmayclin merged 7 commits intoaws:mainfrom
jmayclin:2025-09-19-psk-derivation

Conversation

@jmayclin
Copy link
Copy Markdown
Contributor

Description of changes:

This adds a new method for deriving PSK's from the KMS generateMac API.

This significantly reduces the required TPS to KMS, and will allow O(N) scaling characteristics.

Derivation and Epoch structures is described in module documentation.

Testing:

New unit tests are added.

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

@jmayclin jmayclin requested a review from lrstewart September 19, 2025 22:31
@github-actions github-actions bot added the s2n-core team label Sep 19, 2025
@jmayclin jmayclin requested a review from goatgoose September 19, 2025 22:31
jmayclin and others added 2 commits September 23, 2025 09:59
Co-authored-by: Sam Clark <3758302+goatgoose@users.noreply.github.com>
Co-authored-by: Lindsay Stewart <stewart.r.lindsay@gmail.com>
* fix leftover stuff from refactor
* remove unused import
jmayclin and others added 3 commits September 24, 2025 15:42
Co-authored-by: Sam Clark <3758302+goatgoose@users.noreply.github.com>
* remove outdated comment
@jmayclin jmayclin enabled auto-merge September 25, 2025 21:52
@jmayclin jmayclin added this pull request to the merge queue Sep 25, 2025
Merged via the queue into aws:main with commit 7236227 Sep 25, 2025
50 checks passed
@jmayclin jmayclin deleted the 2025-09-19-psk-derivation branch September 25, 2025 22:56
dougch pushed a commit to dougch/s2n-tls that referenced this pull request Sep 26, 2025
Co-authored-by: Sam Clark <3758302+goatgoose@users.noreply.github.com>
Co-authored-by: Lindsay Stewart <stewart.r.lindsay@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants