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

ssh: private ED25519 key export / import does not work #76

Open
rdorsch opened this issue Apr 13, 2023 · 3 comments
Open

ssh: private ED25519 key export / import does not work #76

rdorsch opened this issue Apr 13, 2023 · 3 comments

Comments

@rdorsch
Copy link

rdorsch commented Apr 13, 2023

Hi Moritz,

I export a private ssh key (ED25519) created for one door and try to import it for another door (which had an RSA-2048 key before, not sure if that is relevant though). During import I get a "Not a valid key!" message (if I use export/import through filesystem) or a "Import Failed." message (if I use export/import through clipboard). Both import and export happen on the same phone and trigger app.

Works flawless if I export and import an RSA key.

@mwarning
Copy link
Owner

hm, that should work. Maybe it is a bug. I will do some testing.

@mwarning
Copy link
Owner

I can confirm the problem.
The exported ED25519 private key does not seem to be written in the OpenSSH format.

@mwarning mwarning changed the title ssh private key export / import does not work ssh: private ED25519 key export / import does not work Apr 13, 2023
@mwarning
Copy link
Owner

The ED25519 OpenSSH format seem to differ from the RSA format.

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

No branches or pull requests

2 participants