Open tmaljay opened 7 months ago
@tmaljay Thing is that earlier when I did the review it worked on UBUNTU 18.04. Now Google has updated its Google Colab service to version UBUNTU 22.04. I can suggest you install the old version of UBUNTU 18.04 on your PC and run everything through the terminal as shown in the article and in the video . In addition, the "hashlib" module, which is installed by default, does not work properly, because Some cryptographic algorithms are missing, for example there is no RIPEMD160 algorithm and therefore we cannot reproduce base58.
To check, I ran the code:
import hashlib
for name in hashlib.algorithms_available:
try:
hashlib.new(name)
print('ok', name)
except ValueError:
print('error', name)
Cryptographic algorithm: RIPEMD160 missing :(
It will be better if you do everything on your PC, install version UBUNTU 18.04
Thanks for taking time out to respond. I am currently installing UBUNTU 18.04, I will keep you posted on my progress and hopefully someone else can in the future use this as reference point.
Working through the issues today I'll have them solved by tomorrow afternoon
Traceback (most recent call last): File "C:\Users\tmalj_thhn\Downloads\Bitcoin-Wallet-Recovery-main\Bitcoin-Wallet-Recovery-main\Sources\breakECDSA.py", line 11, in
e = txnUtils.getSignableTxn(m)
File "C:\Users\tmalj_thhn\Downloads\Bitcoin-Wallet-Recovery-main\Bitcoin-Wallet-Recovery-main\Sources\txnUtils.py", line 53, in getSignableTxn
inputAddr = base58.b58decode_check(keyUtils.pubKeyToAddr(pub))
File "C:\Users\tmalj_thhn\Downloads\Bitcoin-Wallet-Recovery-main\Bitcoin-Wallet-Recovery-main\Sources\keyUtils.py", line 55, in pubKeyToAddr
ripemd160.update(hashlib.sha256(s.decode('hex')).digest())
AttributeError: 'str' object has no attribute 'decode'