briansmith / ring

Safe, fast, small crypto using Rust
Other
3.76k stars 708 forks source link

How to load keys generated by ssh-keygen? #2161

Open yuyang0 opened 1 day ago

yuyang0 commented 1 day ago

the keys is generated by ssh-keygen -t ed25519, Is it possible to load the private key and public key with ring? I've tried many ways, such as parsing pem and spki, but no luck, any examples are appreciated, thanks in advance.