-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix issue where approved credentials were not sent to git credential helpers #40161
Conversation
Due to the bug in the `GitCredential` constructor we were never writing credential data to the credential helper effectively making our use of git credential helpers read-only.
I believe the reason I hadn't noticed this earlier is I use the |
I'll add all the backport labels as it affects all of these versions and the fix is small and should apply cleanly |
Single buildbot failure is from LibGit2_jll. All of the LibGit2 tests passed on that buildbot |
Will merge by end of day if there are no other comments |
Thanks for finding and fixing that! |
…helpers (JuliaLang#40161) Due to the bug in the `GitCredential` constructor we were never writing credential data to the credential helper effectively making our use of git credential helpers read-only.
…helpers (JuliaLang#40161) Due to the bug in the `GitCredential` constructor we were never writing credential data to the credential helper effectively making our use of git credential helpers read-only.
…helpers (JuliaLang#40161) Due to the bug in the `GitCredential` constructor we were never writing credential data to the credential helper effectively making our use of git credential helpers read-only.
If a Julia user was setup to use git credential helpers then Julia was supposed to interact with the credential helpers such that if a user was prompted for credentials those credentials would be sent to the helper and stored appropriately. Due to this bug a user would be repeated asked for credentials which is annoying. Unfortunately, only if a user had used
git
or another tool that properly interacted with the helpers would the prompts be avoided. Essentially Julia was interacting with the helpers in a read-only mode.This is a long standing issue that was introduced in: 8abc616fb0#diff-c023d2e7a114f660901703fc5bec91bcff1215f598f6126561a050defeced5d1R31.