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

Fix: Set key helper key length to 32 bytes #253

Merged

Conversation

daniel-cit
Copy link
Collaborator

@daniel-cit daniel-cit commented Dec 23, 2021

This PR set the key length of the wrapped key to 32 bytes (256 bits) of random data generated by Cloud KMS GenerateRandomBytes service.

Fixes #254

  • Tests pass
  • Appropriate changes to README are included in PR

Copy link
Collaborator

@amandakarina amandakarina left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@erlanderlo erlanderlo left a comment

Choose a reason for hiding this comment

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

LGTM

@erlanderlo erlanderlo merged commit 06b21ab into GoogleCloudPlatform:main Dec 23, 2021
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.

improve key wrapper helper
3 participants