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

Reject unsupported key types instead of failing #352

Merged
merged 1 commit into from
Sep 22, 2024
Merged

Conversation

nbdd0121
Copy link
Contributor

Currently russh doesn't support ED25519/ECDSA-SK keys, but OpenSSH will attempt to use them anyway. Key parse will then fail, killing the session.

This should be treated as-if auth_publickey_offered rejects the key.

Currently russh doesn't support ED25519/ECDSA-SK keys, but OpenSSH will
attempt to use them anyway. Key parse will then fail, killing the
session.

This should be treated as-if auth_publickey_offered rejects the key.
@Eugeny
Copy link
Owner

Eugeny commented Sep 22, 2024

LGTM, thank you!

@all-contributors add @nbdd0121 for code

@Eugeny Eugeny merged commit f587d13 into Eugeny:main Sep 22, 2024
4 checks passed
Copy link
Contributor

@Eugeny

I've put up a pull request to add @nbdd0121! 🎉

Eugeny pushed a commit that referenced this pull request Sep 22, 2024
Adds @nbdd0121 as a contributor for code.

This was requested by Eugeny [in this
comment](#352 (comment))

[skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
gleason-m added a commit to gleason-m/russh that referenced this pull request Feb 6, 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.

2 participants