Skip to content

Conversation

@v0l
Copy link

@v0l v0l commented Nov 29, 2024

Hi,

I have a problem using russh with my ed25519 ssh key.

There is a check on the padding length which seems wrong, the padding is correctly formatted its just longer than the cipher block length, im not sure why its longer than 8 bytes, but it seems fair to allow padding's up to MAX_BLOCK_SIZE as long as they are valid.

The key was generated some time ago using ssh-keygen
Screenshot from 2024-11-29 13-30-01

@Eugeny
Copy link
Contributor

Eugeny commented Dec 27, 2024

Did you generate the key with PuTTYgen / KiTTY by any chance? Then it's probably #316

@v0l
Copy link
Author

v0l commented Dec 27, 2024

Did you generate the key with PuTTYgen / KiTTY by any chance? Then it's probably #316

That is also very possible, ive had this key for a long time and i did used to use PuTTY when on windows

@baloo
Copy link
Member

baloo commented Mar 5, 2025

This should have been taken care of in #316, please re-open if not.

@baloo baloo closed this Mar 5, 2025
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

Successfully merging this pull request may close these issues.

3 participants