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

Signature #220

Merged
merged 2 commits into from
Jun 18, 2024
Merged

Signature #220

merged 2 commits into from
Jun 18, 2024

Conversation

xstelea
Copy link
Collaborator

@xstelea xstelea commented Jun 18, 2024

No description provided.

@xstelea xstelea merged commit 7242b87 into release/v2 Jun 18, 2024
4 of 5 checks passed
@xstelea xstelea deleted the signature branch June 18, 2024 12:09
Copy link

Docker tags
docker.io/radixdlt/connect-button-storybook:sha-128747a
docker.io/radixdlt/connect-button-storybook:pr-220

Copy link

🎉 This PR is included in version 2.0.0-v2.30 🎉

The release is available on:

Your semantic-release bot 📦🚀

@@ -37,7 +37,7 @@ export const Curve25519: KeyPairProvider = (
getPublicKey: () => toHex(ed25519.getPublicKey(privateKeyHex)),
sign: (messageHex: string): Result<string, Error> => {
try {
return ok(toHex(ed25519.sign(privateKeyHex, messageHex)))
return ok(toHex(ed25519.sign(messageHex, privateKeyHex)))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really should stop using Strings everywhere. I've brought this up in the past.

Best to create a PrivateKey type early.

And a Exactly32bytes type early as well, and use those, not strings.

Copy link

github-actions bot commented Jul 2, 2024

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants