You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior? Why is that the expected behavior?
ED25519 private keys are sufficient to sign payloads.
What do you see instead?
An error, Invalid key type.
Additional information
This might be an OpenSSL issue instead. I am not familiar enough with the code to trace down the exact source of the error. However, apparently OpenSSL has no issue generating public ED25519 keys from private keys (https://stackoverflow.com/questions/72151697/generating-public-ed25519-key-with-openssl), so it does appear that OpenSSL provides the functionality in some form or another.
The text was updated successfully, but these errors were encountered:
These curves are experimental in Node's implementation of WebCryptoAPI until they get merged into the main webcrypto spec and further adopted by more runtimes.
Version
v18.16.0
Platform
MSYS_NT-10.0-22621
Subsystem
No response
What steps will reproduce the bug?
A private key without the public key fails to decode (taken from https://datatracker.ietf.org/doc/html/rfc8410#section-10.3)
This appears to be a valid private key, as seen here: https://lapo.it/asn1js/#MC4CAQAwBQYDK2VwBCIEINTuctv5E1hK1bbY8fdp-K06_nwoy_HU--CXqI9EdVhC .
How often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior? Why is that the expected behavior?
ED25519 private keys are sufficient to sign payloads.
What do you see instead?
An error,
Invalid key type
.Additional information
This might be an OpenSSL issue instead. I am not familiar enough with the code to trace down the exact source of the error. However, apparently OpenSSL has no issue generating public ED25519 keys from private keys (https://stackoverflow.com/questions/72151697/generating-public-ed25519-key-with-openssl), so it does appear that OpenSSL provides the functionality in some form or another.
The text was updated successfully, but these errors were encountered: