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

Read git credentials #12

Open
kishaningithub opened this issue Jan 17, 2020 · 2 comments
Open

Read git credentials #12

kishaningithub opened this issue Jan 17, 2020 · 2 comments
Labels
bug

Comments

@kishaningithub
Copy link

@kishaningithub kishaningithub commented Jan 17, 2020

Actual Behavior
When performing a fetch of several repos that require authentication the following happens

Failed with error: remote authentication required but no callback set

Expected Behavior
It should read credentials from wherever git is reading it from. The catch is this is very much platform specific. The location from where git reads the creds can be found out by running

$ git config credential.helper

For example, in macosx this points to osxkeychain

@jpninanjohn

This comment has been minimized.

Copy link
Collaborator

@jpninanjohn jpninanjohn commented Jan 17, 2020

@jskswamy also mentioned this. Will look into it

@jpninanjohn

This comment has been minimized.

Copy link
Collaborator

@jpninanjohn jpninanjohn commented Jan 19, 2020

Actually currently it only uses this to authenticate. ~/.ssh/id_rsa. If this is cannot be used for a repo it will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.