coincurve icon indicating copy to clipboard operation
coincurve copied to clipboard

ValueError: Somehow an invalid secret was used.

Open gudnuf opened this issue 2 years ago • 1 comments

I am using coincurve to attempt to add two points together, and ended up getting an error that told me to open an issue:

image

Below is what I did to get this error:

image

If you wouldn't mind dropping in how to perform Y + rG I'd appreciate it. Also, curious what it means that I used an invalid secret.

gudnuf avatar Dec 11 '23 04:12 gudnuf

That's not the error that you are getting. The error is one line above that which goes into a separate function that validates the secret range and as you see in the very last line, that is the actual issue.

ofek avatar Dec 11 '23 04:12 ofek