Commit f587d13
authored
Reject unsupported key types instead of failing (#352)
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.1 parent 451e74b commit f587d13
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
523 | 525 | | |
524 | 526 | | |
525 | 527 | | |
| |||
0 commit comments