python-ecdsa icon indicating copy to clipboard operation
python-ecdsa copied to clipboard

Generate usable keypair for OpenSSH?

Open 766F6964 opened this issue 5 years ago • 3 comments

How can one generate a private-public ECDSA keypair that is in the right format to be used for OpenSSH authentication? OpenSSH uses its own format where as the example suggested in the README uses the .pem format that OpenSSH can not understand. Can someone please show me an example how I can generate a private public ECDSA keypair in a format that OpenSSH can understand?

766F6964 avatar Sep 13 '19 12:09 766F6964

if to_pem() does not work, then that will require support for new format

tomato42 avatar Sep 15 '19 00:09 tomato42

Yeah, support for OpenSSH would be great. Right now working with keys in the OpenSSH format does not seem to be possible.

766F6964 avatar Sep 17 '19 08:09 766F6964

@766F6964 Is there any specific curve type you are looking for in here?

pmazzini avatar Sep 24 '23 20:09 pmazzini