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 pubkey_to_address function: add native ripemd-160 #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

waddafunk
Copy link

Added python native ripemd-160 algorithm implemented by user @sipa. Fixed pubkey_to_address function that wasn't working anymore. generate_wallets (and probably more) is broken without it

Solution found in this Bitcoin issue.

@MHHukiewitz
Copy link

Is this going to be merged in? The OpenSSL issue is currently blocking us from integrating Cosmos: aleph-im/aleph-sdk-python#20

@MHHukiewitz
Copy link

@hukkin I would like to connect with you on how to push this issue forward

@MHHukiewitz
Copy link

Ah, @waddafunk one more thing I noticed while going through the @sipa implementation of the hashing algorithm: It is not constant time, therefore it must be only used for testing purposes (and not by default):

bitcoin/bitcoin#23716 (comment)

@MHHukiewitz
Copy link

But then again, not being constant time is not that bad, as it is only being used to calculate the address from the public key.

@waddafunk
Copy link
Author

Yes as the comment you mentioned said using it in this context shouldn't be a problem. But I don't know if this will be merged repo has been inactive for a while now 😕

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.

None yet

2 participants