Traceback (most recent call last):
File "/home/krash/lattack/lattice_attack.py", line 259, in <module>
lattice_attack_cli(arg.f, arg.l)
File "/home/krash/lattack/lattice_attack.py", line 239, in lattice_attack_cli
result = recover_private_key(
File "/home/krash/lattack/lattice_attack.py", line 195, in recover_private_key
res = test_result(lattice, pub_key, curve)
File "/home/krash/lattack/lattice_attack.py", line 93, in test_result
if target_pubkey == ecdsa_lib.privkey_to_pubkey(cand1, curve):
File "/home/krash/lattack/ecdsa_lib.py", line 129, in privkey_to_pubkey
ec.derive_private_key(pv_key_int, ec_backend, backends.default_backend())
File "/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ec.py", line 332, in derive_private_key
raise TypeError("private_value must be an integer type.")
TypeError: private_value must be an integer type.
from OP maybe the problem is from the python version try to test on a different python version to solve a problem
recommend with python 3.7 try this