paulmillr / noble-ed25519

Fastest 4KB JS implementation of ed25519 signatures
https://paulmillr.com/noble
MIT License
421 stars 52 forks source link

Question: How to produce key-pair to use with SSH server? #35

Closed bushev closed 2 years ago

bushev commented 2 years ago

Hi,

I'm looking at how to use this library to generate SSH key-pairs for Linux SSH servers. I have a question. Can this library be used to produce keys as this command does?

ssh-keygen -o -a 100 -t ed25519 -f id_ed25519

I tried to use hex key-pair from this library to test here (http://ed25519.herokuapp.com/), but it doesn't verify my signature after signing.

Thanks!