Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Somehow an invalid secret was used. #130

Open
gudnuf opened this issue Dec 11, 2023 · 1 comment
Open

ValueError: Somehow an invalid secret was used. #130

gudnuf opened this issue Dec 11, 2023 · 1 comment

Comments

@gudnuf
Copy link

gudnuf commented Dec 11, 2023

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.

@ofek
Copy link
Owner

ofek commented Dec 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants