Skip to content

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
Contributor

@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
@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