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

[AIP-23][Discussion] Make Ed25519 Public Key Validation Return False if Key Is the Wrong Length #102

Closed
thepomeranian opened this issue Apr 18, 2023 · 0 comments
Labels

Comments

@thepomeranian
Copy link
Collaborator

thepomeranian commented Apr 18, 2023

AIP-23 - Make Ed25519 public key validation native return false if key has the wrong length

Summary

Changes the function native_public_key_validate used by the native Move function native fun pubkey_validate_internal to return false if the public key provided is the wrong length. Previously, this function would abort if the key length provided was incorrect. This change is gated by a feature flag.

Link to AIP: https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-23.md

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

No branches or pull requests

1 participant