Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants