Repository navigation
Conversation
Member
|
Thanks! Tossing this into the "oh god keys are horrible" bucket and will examine it when I sit down and unravel all that junk (it is high priority). Also thanks for linking it to other apparently-related tickets, appreciated :) |
Contributor
|
also related: #165 |
While 8d95a4 fixes paramiko#23 for the `auth_publickey` method, it doesn't fix the bug when multiple auth methods are used one after another. Also moving the 'userauth is OK' log message to a proper location.
Using the same `AuthHandler` during the entire auth process
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Paramiko was sending multiple
MSG_SERVICE_REQUEST, though openssh behaviour is to not resend the service request after it was accepted.Though this may not be a problem for some implementations it is for the Mikrotik ROSSSH, which is the case I'm trying to fix. More details on #23.
Note: the diff is a bit weird because I de-indented a portion of the code so it could live in a separate function, which by the way could have its name reviewed.
Note2: I know, I know, I haven't made any test. Although I believe coverage shouldn't be affected I little time right now and just needed the issue fixed. If tests are really required please ask again that I'll try to take some time to make it.