Open Ido47 opened 1 year ago
Yes i am facing the same error.
still not working for me. in this specific case, the error message is raised when calling int('0x' + private_key, 0) in the private_key_to_public_key function. The input private_key is not a valid hexadecimal number, hence the int() function raises a ValueError.
hi,
I have same problem whit windows, but now i use linux and it work, thank pulutus, nice job ;)
Works on Windows. Open plutus.py, go to line 116, Replace: 'fastecdsa': platform.system() in ['Linux', 'Darwin'], With: 'fastecdsa': platform.system() in ['Linux', 'Darwin', 'Windows'],
You're welcome.
hi. Im trying to run the code and get this error. someone know how to fix? Process Process-3: Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64qbz5n2kfra8p0\lib\multiprocessing\process.py", line 314, in _bootstrap self.run() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\Bitcoin BruteForce\plutus\plutus.py", line 65, in main public_key = private_key_to_public_key(private_key, args['fastecdsa']) File "C:\Bitcoin BruteForce\plutus\plutus.py", line 25, in private_key_to_public_key pk = PrivateKey().fromString(bytes.fromhex(private_key)) File "C:\Users\idom4\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\ellipticcurve\privateKey.py", line 65, in fromString return PrivateKey(secret=intFromHex(string), curve=curve) File "C:\Users\idom4\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\ellipticcurve\utils\binary.py", line 13, in intFromHex return int(hexadecimal, 16) ValueError: invalid literal for int() with base 16: b"5@\xdf\xd8[n!VS+\x8bG\xeb\xab\x9e'\xa2\x17N\xd5\xb2CV\xf8\xf2\xe2\x1b\xb1q\xfc{" Process Process-4: Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64qbz5n2kfra8p0\lib\multiprocessing\process.py", line 314, in _bootstrap self.run() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64qbz5n2kfra8p0\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\Bitcoin BruteForce\plutus\plutus.py", line 65, in main public_key = private_key_to_public_key(private_key, args['fastecdsa']) File "C:\Bitcoin BruteForce\plutus\plutus.py", line 25, in private_key_to_public_key pk = PrivateKey().fromString(bytes.fromhex(private_key)) File "C:\Users\idom4\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\ellipticcurve\privateKey.py", line 65, in fromString return PrivateKey(secret=intFromHex(string), curve=curve) File "C:\Users\idom4\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\ellipticcurve\utils\binary.py", line 13, in intFromHex return int(hexadecimal, 16) ValueError: invalid literal for int() with base 16: b'\xcaqZT\xb8#\x17\x04~\xa6\xcf\x1e\xb7\xffJr\x1a\x96\xbbE\xb9\x81\xc6\xe6\xb4\xe4\^\x850\x15\xf0' Process Process-5: Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64qbz5n2kfra8p0\lib\multiprocessing\process.py", line 314, in _bootstrap self.run() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\Bitcoin BruteForce\plutus\plutus.py", line 65, in main public_key = private_key_to_public_key(private_key, args['fastecdsa']) File "C:\Bitcoin BruteForce\plutus\plutus.py", line 25, in private_key_to_public_key pk = PrivateKey().fromString(bytes.fromhex(private_key)) File "C:\Users\idom4\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\ellipticcurve\privateKey.py", line 65, in fromString return PrivateKey(secret=intFromHex(string), curve=curve) File "C:\Users\idom4\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\ellipticcurve\utils\binary.py", line 13, in intFromHex return int(hexadecimal, 16) ValueError: invalid literal for int() with base 16: b'X\x0f\xd7\xd7\xf7\x13\x9e\xd8q\xcaS\x08:%\xf4@[P3\xb3\xa5,\xe5\x1f\x82kN/\xbf\xed\xce\x08'