What inputs data I need to provide to this SAGE code ?

asked 2021-11-01 01:35:06 +0100

Gorge gravatar image

updated 2021-11-01 13:17:37 +0100

Good day.

Program in a SAGE,- https://github.com/malb/bdd-predicate

Command line sage -python ecdsa_cli.py solve -c secp256k1 -f scale -p 8 sample_input.txt This command work fine, but with this my data - https://ufile.io/iqxth50m not work. I prepare exact secp256k1 z,rs,public key data, but, I get this error:

assert self.vk.verify_digest(binascii.unhexlify(r + s), binascii.
unhexlify(h))                                                        
  File "/usr/local/lib/python3.8/dist-packages/ecdsa/keys.py", line 7
36, in verify_digest                                                 
    raise BadSignatureError("Signature verification failed")         
ecdsa.keys.BadSignatureError: Signature verification failed

Help me please solve this problem and help run program ?

Regards

edit retag flag offensive close merge delete

Comments

This is irrelevant to Sage. A better place to ask this question is https://crypto.stackexchange.com/

Max Alekseyev gravatar imageMax Alekseyev ( 2021-11-01 15:55:28 +0100 )edit