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

fix: edge case prefix04 #98

Merged
merged 3 commits into from
Jun 14, 2024
Merged

fix: edge case prefix04 #98

merged 3 commits into from
Jun 14, 2024

Conversation

ieow
Copy link
Contributor

@ieow ieow commented Jun 3, 2024

On edge case when the public key 64bytes (128 char) is start with 04...
The addPrefix skip adding prefix.
when stripPrefix is called, the public key 04 is striped and only 63 bytes (126 chars) left which made the public key invalid.

Fixing this as patch for v8

@metalurgical
Copy link
Collaborator

@ieow This has been also been found and fixed in the PR intended for v9 release.

Note: You'll also need to bump the version in the podspec for the intended tag here.

@metalurgical metalurgical merged commit 608c284 into master Jun 14, 2024
1 check passed
@metalurgical metalurgical deleted the fix/edgecase-prefix04 branch June 14, 2024 04:26
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.

2 participants