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

Correctly attempt multiple usernames with libgit2 #2584

Merged
merged 1 commit into from
Apr 18, 2016

Conversation

alexcrichton
Copy link
Member

@alexcrichton alexcrichton commented Apr 16, 2016

This commit corrects the logic for attempting multiple usernames with libgit2.
There is a restriction that for each authentication seession you can only
authenticate with one ssh username, but we were attempting multiple as part of
the same sesssion. Instead restart authentication whenever we try a new username.

Closes #2399

@brson
Copy link
Contributor

brson commented Apr 16, 2016

@bors r+

@bors
Copy link
Contributor

bors commented Apr 16, 2016

📌 Commit d81776b has been approved by brson

@bors
Copy link
Contributor

bors commented Apr 16, 2016

⌛ Testing commit d81776b with merge 8d21210...

@bors
Copy link
Contributor

bors commented Apr 16, 2016

💔 Test failed - cargo-mac-64

@alexcrichton
Copy link
Member Author

@bors: r=brson 897034e

@bors
Copy link
Contributor

bors commented Apr 16, 2016

⌛ Testing commit 897034e with merge c8af5df...

@bors
Copy link
Contributor

bors commented Apr 16, 2016

💔 Test failed - cargo-win-msvc-64

This commit corrects the logic for attempting multiple usernames with libgit2.
There is a restriction that for each authentication seession you can only
authenticate with one ssh username, but we were attempting multiple as part of
the same sesssion. Instead restart authentication whenever we try a new username.

Closes rust-lang#2399
@alexcrichton
Copy link
Member Author

@bors: r=brson

@bors
Copy link
Contributor

bors commented Apr 18, 2016

📌 Commit 537f718 has been approved by brson

@bors
Copy link
Contributor

bors commented Apr 18, 2016

⌛ Testing commit 537f718 with merge b6b6d0b...

bors added a commit that referenced this pull request Apr 18, 2016
Correctly attempt multiple usernames with libgit2

This commit corrects the logic for attempting multiple usernames with libgit2.
There is a restriction that for each authentication seession you can only
authenticate with one ssh username, but we were attempting multiple as part of
the same sesssion. Instead restart authentication whenever we try a new username.

Closes #2399
@bors
Copy link
Contributor

bors commented Apr 18, 2016

@bors bors merged commit 537f718 into rust-lang:master Apr 18, 2016
@alexcrichton alexcrichton deleted the auth-more branch April 21, 2016 16:29
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