-
Notifications
You must be signed in to change notification settings - Fork 594
fatal: Authentication failed after upgrade git client to 2.19.2 #812
Comments
I'm experiencing the same issue. The trace output is identical to @AsherKa |
@AsherKa can you provide the output you have on the downgraded, successful, version? It would also be helpful if you can install GCM 1.18.3 on the downgraded version and run the same test. That way the GCM version is the same on both runs and the only difference is the new version of git. I'm not able to repro locally but we're looking into this. |
@jeschu1: Here you go:
EDIT: I've messed around with Also git for windows v2.19.2 has been demoted to a pre-release in GitHub although |
I do not see any relevant code changes in Git v2.19.2 relative to v2.19.1. There is however one more thing that changed between Git for Windows v2.19.1 and v2.19.2: the cURL library was updated (which is the component responsible for talking via HTTPS). To test whether this is the culprit, could I ask you to test with a portable Git v2.19.2, replacing If that does not "fix" things, could I ask you to perform the testing after setting |
@dscho Spot on. Replacing |
@ljani if possible, could you get a |
@dscho There seems to be lots of data, which I'm not sure I can censor properly, but here are the main diffs I spotted:
When
|
Okay, good, now we are getting somewhere. There are experimental patches in flight where you can force this via the config setting
This feature is not supported in any official version, and not even in a pre-release yet, though. |
I backported it to Git for Windows' |
@AsherKa thank you for reporting, and @ljani thank you so much for assisting with your excellent analysis. I asked my teammates, and we all agree that you helped us prevent a major problem for lots of customers. And we all agree that we (and especially the help desk) owe you at least a 🍺 (if you drink alcohol, that is). |
@dscho No problem! Thank you and your teammates for your hard work! I'm happy to test out a snapshot build, if you can point me to one. I saw no artifacts in the Azure Pipelines builds, but it wouldn't be the first time I skipped over something. |
@ljani there are no snapshot artifacts yet ;-) But in a few minutes, there will hopefully be a new and shiny Git for Windows v2.20.0 for you to test out. |
@dscho I'm happy to report v2.20.0.windows.1 is working very well for me! |
|
We use TFS 2018.2 hosted on-prem. Since upgrading git client from 2.19.1 to 2.19.2 (which comes with
GCM v1.18.3
) authentication stopped working.I've enabled
GCM_TRACE
and this is what happenes:I'm aware of the option to set the GCM_AUTHORITY to
BASIC
but for now we chose to downgrade our clients to 2.19.1 instead.I was wondering if the issue is known and are there any plans to push a fix in the near future?
The text was updated successfully, but these errors were encountered: