We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Keypair.SignData
Context
Description
When building a Keypair implementation backed by a cloud HSM, it would be helpful if the SignData function accepted a Context for the current request.
Keypair
SignData
This would allow for better retry/timeout support when interacting with the cloud HSM API.
Something like:
SignData(ctx context.Context, data []byte) ([]byte, []byte, error)
instead of the existing:
SignData(data []byte) ([]byte, []byte, error)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
When building a
Keypair
implementation backed by a cloud HSM, it would be helpful if theSignData
function accepted aContext
for the current request.This would allow for better retry/timeout support when interacting with the cloud HSM API.
Something like:
instead of the existing:
The text was updated successfully, but these errors were encountered: