Skip to content

How to resolve this errors? #3

@servicecomp54

Description

@servicecomp54

Hi

Help please.

[+] R values are the same! Attempting to recover private key...
Traceback (most recent call last):
File "C:!PRO-RSZ!do\privatekeydump.py", line 159, in
private_key = recover_private_key(
int(e[i][0], 16), # R
...<3 lines>...
int(e[i][2], 16) # Z2
)
File "C:!PRO-RSZ!do\privatekeydump.py", line 132, in recover_private_key
k = ((Z1 - Z2) * mod_inverse(S1 - S2, n)) % n
~~~~~~~~~~~^^^^^^^^^^^^
File "C:\Python313\Lib\site-packages\sympy\core\intfunc.py", line 452, in mod_inverse
raise ValueError("inverse of %s (mod %s) does not exist" % (a, m))
ValueError: inverse of 0 (mod 115792089237316195423570985008687907849087564279074904382605163141541661494337) does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions