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

Update Keypair.SignData with context param #427

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bdehamer
Copy link
Collaborator

@bdehamer bdehamer commented Mar 8, 2025

Summary

Updates the signature for the SignData function in the Keypair interface to include a Context parameter.

There's maybe a case to be made that ALL of the functions in the Keypair interface should include a Context parameter . . . however, in most cases there's probably a reasonable way to pre-calculate the values returned by those functions at the time that the Keypair is created. Open to suggestions here.

Fixes: #426

Release Note

Breaking change to the public Keypair interface

Documentation

@bdehamer bdehamer requested a review from a team as a code owner March 8, 2025 00:25
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.

Keypair.SignData should except a Context parameter
1 participant