Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBKDF2 passphrase key provider #1310

Merged
merged 16 commits into from
Mar 11, 2024
Merged

Conversation

janosdebugs
Copy link
Contributor

@janosdebugs janosdebugs commented Feb 26, 2024

This PR adds the PBKDF2 passphrase key provider.

Resolves #1168

Target Release

1.7.0

Copy link

Reminder for the PR assignee: If this is a user-visible change, please update the changelog as part of the PR.

@janosdebugs janosdebugs force-pushed the features/1168-key-provider-passphrase branch from d93c900 to 50b4c1f Compare February 26, 2024 19:16
@cam72cam cam72cam force-pushed the features/1168-key-provider-passphrase branch from 50b4c1f to 969d62c Compare March 7, 2024 18:15
@cam72cam cam72cam changed the base branch from main to aws_kms_prototype March 7, 2024 18:42
@cam72cam cam72cam force-pushed the features/1168-key-provider-passphrase branch from 1aec64c to 3309c17 Compare March 7, 2024 19:02
@cam72cam cam72cam marked this pull request as ready for review March 7, 2024 19:03
@cam72cam cam72cam requested a review from a team as a code owner March 7, 2024 19:03
@cam72cam cam72cam marked this pull request as draft March 7, 2024 19:03
Yantrio
Yantrio previously requested changes Mar 8, 2024
Copy link
Member

@Yantrio Yantrio left a comment

Choose a reason for hiding this comment

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

LGTM overall, just a few nitpicks.

internal/command/meta_encryption.go Outdated Show resolved Hide resolved
internal/encryption/example_test.go Outdated Show resolved Hide resolved
internal/encryption/keyprovider/README.md Outdated Show resolved Hide resolved
internal/encryption/keyprovider/README.md Outdated Show resolved Hide resolved
internal/encryption/keyprovider/README.md Outdated Show resolved Hide resolved
internal/encryption/keyprovider/pbkdf2/README.md Outdated Show resolved Hide resolved
internal/encryption/keyprovider/pbkdf2/config_fips.go Outdated Show resolved Hide resolved
internal/encryption/keyprovider/pbkdf2/example_test.go Outdated Show resolved Hide resolved
@cam72cam cam72cam force-pushed the aws_kms_prototype branch 2 times, most recently from 3261170 to 8944e70 Compare March 8, 2024 12:56
janosdebugs and others added 9 commits March 8, 2024 14:15
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Co-authored-by: James Humphries <jamesh@spacelift.io>
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
@janosdebugs janosdebugs force-pushed the features/1168-key-provider-passphrase branch from c83c6b1 to 35dc5d9 Compare March 8, 2024 13:17
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
@janosdebugs janosdebugs marked this pull request as ready for review March 8, 2024 13:57
@janosdebugs janosdebugs changed the base branch from aws_kms_prototype to main March 8, 2024 13:58
@janosdebugs janosdebugs requested review from Yantrio, a team and cam72cam March 8, 2024 13:59
@janosdebugs janosdebugs changed the title Fixes #1168: Passphrase key providers PBKDF2 passphrase key provider Mar 8, 2024
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
cube2222
cube2222 previously approved these changes Mar 8, 2024
Copy link
Collaborator

@cube2222 cube2222 left a comment

Choose a reason for hiding this comment

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

Nice one!

cam72cam
cam72cam previously approved these changes Mar 8, 2024
Yantrio
Yantrio previously approved these changes Mar 11, 2024
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
@janosdebugs janosdebugs dismissed stale reviews from Yantrio, cam72cam, and cube2222 via 1b3507d March 11, 2024 13:14
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
@janosdebugs janosdebugs merged commit a18e643 into main Mar 11, 2024
8 checks passed
@janosdebugs janosdebugs deleted the features/1168-key-provider-passphrase branch March 11, 2024 13:24
IgnorantSapient pushed a commit to IgnorantSapient/opentofu that referenced this pull request Apr 1, 2024
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: James Humphries <jamesh@spacelift.io>
Signed-off-by: Ashwin Annamalai <4549937+IgnorantSapient@users.noreply.github.com>
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.

[State Encryption] Key providers (passphrase)
5 participants