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

feat: raw signer #23

Merged
merged 1 commit into from
Oct 9, 2024
Merged

feat: raw signer #23

merged 1 commit into from
Oct 9, 2024

Conversation

alanshaw
Copy link
Member

@alanshaw alanshaw commented Oct 7, 2024

This PR adds a Raw() method to Signer, which allows encoding the private key without multiformats tags.

It effectively allows a signer generated here to interop with Go crypto and libp2p crypto.

The Signature type already has a Raw() method (which does the same thing) so this is in keeping with that.

@alanshaw alanshaw merged commit 2be8af8 into main Oct 9, 2024
1 check passed
@alanshaw alanshaw deleted the feat/raw-signer branch October 9, 2024 14:27
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.

1 participant