Skip to content

improve credentials handling for ssh cloning #718

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

Merged
merged 1 commit into from
Jul 27, 2017

Conversation

bobcarroll
Copy link
Contributor

This patch implements support for the GIT_CREDTYPE_USERNAME credential. The ssh transport requests this when negotiating authentication methods with libssh2. It seems the only other way to clone over ssh is to include the username in the repository URL, which is undocumented and inconsistent with the behavior prior to the credential callback.

@bobcarroll bobcarroll force-pushed the credtype-username branch 2 times, most recently from 969661c to 7da6992 Compare July 27, 2017 04:02
@jdavid jdavid merged commit 9ab0f37 into libgit2:master Jul 27, 2017
@bobcarroll bobcarroll deleted the credtype-username branch July 27, 2017 20:07
bobcarroll added a commit to bobcarroll/pygit2 that referenced this pull request Oct 26, 2017
bobcarroll added a commit to bobcarroll/pygit2 that referenced this pull request Oct 26, 2017
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