-
Notifications
You must be signed in to change notification settings - Fork 137
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
update github.com/google/tink/go to 1.7.0 and fix deprecation #736
Conversation
Signed-off-by: cpanato <ctadeu@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the change!
switch { | ||
case strings.HasPrefix(kmsKey, "gcp-kms://"): | ||
gcpClient, err := gcpkms.NewClient(kmsKey) | ||
gcpClient, err := gcpkms.NewClientWithOptions(ctx, kmsKey) | ||
if err != nil { | ||
return nil, err | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there the same NewClientWithOptions
for awskms
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, not yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for checking
Codecov Report
@@ Coverage Diff @@
## main #736 +/- ##
=======================================
Coverage 54.22% 54.22%
=======================================
Files 36 36
Lines 2248 2248
=======================================
Hits 1219 1219
Misses 936 936
Partials 93 93
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Summary