Skip to content
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

Ed25519 ssh keys can not be parsed #1303

Open
RainyMemory opened this issue May 25, 2023 · 2 comments
Open

Ed25519 ssh keys can not be parsed #1303

RainyMemory opened this issue May 25, 2023 · 2 comments

Comments

@RainyMemory
Copy link

RainyMemory commented May 25, 2023

I am using [email protected] and run into trouble when trying to parse the ed25519 ssh keys in pem format:
image

@mscdex mscdex added the invalid label May 25, 2023
@mscdex mscdex closed this as completed May 25, 2023
@RainyMemory RainyMemory changed the title Ed Ed25519 ssh keys can not be parsed May 25, 2023
@RainyMemory
Copy link
Author

@mscdex Is it possible to parse ed25519 keys in pem format? Currently i have to use other tools to transfer it into openssh format

@mscdex mscdex removed the invalid label May 25, 2023
@mscdex mscdex reopened this May 25, 2023
@mscdex
Copy link
Owner

mscdex commented May 25, 2023

The PEM format returned by getPrivatePEM() is for use with OpenSSL and is not currently supported by parseKey(), the reason being it's not a common format when dealing with SSH keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants