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

Add KMS Signer #229

Merged
merged 5 commits into from
May 6, 2024
Merged

Add KMS Signer #229

merged 5 commits into from
May 6, 2024

Conversation

ian-shim
Copy link
Contributor

@ian-shim ian-shim commented May 2, 2024

This PR adds a signer with a KMS key.

  • aws/kms: KMS client, methods to retrieve public key and create signatures using a key
  • testutils: moved methods for creating containers (localstack, anvil) to this package
  • signerv2: implemented new signer KMSSigner

@ian-shim ian-shim marked this pull request as ready for review May 2, 2024 16:23
Copy link
Collaborator

@samlaf samlaf left a comment

Choose a reason for hiding this comment

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

overall lgtm. Have a bunch of small questions though

testutils/localstack.go Outdated Show resolved Hide resolved
aws/config.go Show resolved Hide resolved
aws/kms/client.go Show resolved Hide resolved
aws/kms/get_signature.go Outdated Show resolved Hide resolved
aws/kms/get_signature.go Outdated Show resolved Hide resolved
aws/kms/get_signature.go Show resolved Hide resolved
aws/kms/get_public_key.go Outdated Show resolved Hide resolved
signerv2/kms_signer.go Show resolved Hide resolved
signerv2/kms_signer.go Show resolved Hide resolved
testutils/localstack.go Outdated Show resolved Hide resolved
@samlaf
Copy link
Collaborator

samlaf commented May 3, 2024

LGTM! I'm good to accept, but I'll let @shrimalmadhur take a look at the signer first.

anupsv
anupsv previously approved these changes May 4, 2024
@samlaf samlaf mentioned this pull request May 5, 2024
3 tasks
Copy link
Collaborator

@samlaf samlaf left a comment

Choose a reason for hiding this comment

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

Just want to make sure the last conversation is resolved (by adding the comment I requested), then we can merge :)

@samlaf samlaf merged commit 069dbf2 into master May 6, 2024
3 checks passed
@samlaf samlaf deleted the kms-signer branch May 6, 2024 18:48
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.

3 participants