-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
Update CryptoKey documentation to mention ECC. #91348
Conversation
Example showing signing and verifying with an secp256k1 key.
|
As we're just passing this through to mbedtls, I'd expect both RSA and ECC to work, yes. Adding a link to the Crypto class for actually generating keys would also make sense. We should also add ECC key generation there. :) Would be worth opening an issue for. |
I was looking into this, but held off for now. It needs a bit of API design on how the user specifies which curve they want to use and also how to enumerate the available curves along with their bit size. |
Could you amend the commit message to be more explicit, like the PR title? Edit: Let me know if you're not familiar with how to do this with Git, I can also do this update myself. |
The documentation makes it seem like CryptoKey can only hold an RSA key. This is compounded by the fact that Cypto only has a function generate an RSA based key. Godot however is perfectly happy loading and using ECC based keys.
Done :) |
Thanks! |
The documentation makes it seem like CryptoKey can only hold an RSA key. This is compounded by the fact that Cypto only has a function generate an RSA based key. Godot however is perfectly happy loading and using ECC based keys.