-
Notifications
You must be signed in to change notification settings - Fork 460
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
Looking for explanation for how to validate verifying key #702
Comments
We've discussed this in the past in #380 (and #626).
In its place we should probably mention the current point validation criteria used: the ZIP-215 rules, as opposed to RFC8032 / NIST (see #626). |
Opened #704 to update the wording |
So to confirm- I don't need to mess with key validation at all myself, and can just use from_bytes? |
Correct. Check the docs in #704 and let me know if they make sense now. |
The docs for VerifyingKey::from_bytes say that:
I wanted to know if this verification is performed as part of VerifyingKey::verify_strict or if I still have to verify it myself.
If I need to verify it myself, would you accept a PR to add that to some example code.
Here is what I have so far, does it look correct?
The text was updated successfully, but these errors were encountered: