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

Allow padding up to MAX_BLOCK_SIZE #317

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

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.

2 participants