You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/user/.local/lib/python3.10/site-packages/bit/wallet.py", line 572, in address
self._address = public_key_to_address(self._public_key, version=self.version)
File "/home/user/.local/lib/python3.10/site-packages/bit/format.py", line 121, in public_key_to_address
return b58encode_check(version + ripemd160_sha256(public_key))
File "/home/user/.local/lib/python3.10/site-packages/bit/crypto.py", line 19, in ripemd160_sha256
return new('ripemd160', sha256(bytestr)).digest()
File "/usr/lib/python3.10/hashlib.py", line 166, in __hash_new
return __get_builtin_constructor(name)(data)
File "/usr/lib/python3.10/hashlib.py", line 123, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type ripemd160
Using same code in virtual env python3.9 does work.
The text was updated successfully, but these errors were encountered:
I wonder why this issue isn't getting more attention. It would seem like this is a breaking issue that affects a very sizable portion of users. Is it absolutely necessary to use ripemd160 or can a substitute be used that is enabled by default in OpenSSL?
Using Ubuntun 22.04 and Python 3.10.6 the code throws an error
Using same code in virtual env python3.9 does work.
The text was updated successfully, but these errors were encountered: