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

Move Context to Sign/Verify #266

Open
tri-adam opened this issue Feb 24, 2023 · 0 comments
Open

Move Context to Sign/Verify #266

tri-adam opened this issue Feb 24, 2023 · 0 comments
Labels
v3 Affects v3 API

Comments

@tri-adam
Copy link
Member

OptSignWithContext/OptVerifyWithContext exposes a context.Context for sign/verify operations, even though this is unnecessary for certain Signer/Verifier methods.

In a future major version of the API, we should consider moving the context.Context to (*Signer).Sign/(*Verifier).Verify, and removing the WithContext options.

@tri-adam tri-adam added the v3 Affects v3 API label Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 Affects v3 API
Projects
None yet
Development

No branches or pull requests

1 participant