-
Notifications
You must be signed in to change notification settings - Fork 2
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
PeerID Derivation Is Broken #14
Comments
opened up a report on the armbed fforum https://forums.mbed.com/t/sha256-output-is-not-always-32-bytes-about-25-of-the-time/9343 |
I believe i've found the source of the problem. The library we use for base58 encoding does not properly handle input data that as a I can think of a few work arounds:
|
PeerID derivation is currently broken. It works sometimes, but other times doesn't work and returns bad data. I think there's some kind of memory issue, but am uncertain.
Example:
The error appears to come from
mh_new
function callThe text was updated successfully, but these errors were encountered: