-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
MacOS Sonoma - fatal: Object reference not set to an instance of an object. #1456
Comments
@gerritlansing, thank you for opening this issue and including the trace! This stack trace indicates the null reference exception is being thrown inside of MSAL (the Microsoft authentication library).
If you can still reproduce this, please can you enable one more trace variable to capture the internal logs of MSAL?
@bgavrilMS the version of MSAL in this version of GCM is 4.54.0. The throwing method in that version is: /// <remarks>AAD only supports RSA certs for client credentials </remarks>
public virtual byte[] SignWithCertificate(string message, X509Certificate2 certificate)
{
// MSAL used to check min key size by looking at certificate.GetRSAPublicKey().KeySize
// but this causes sporadic failures in the crypto stack. Rely on AAD to perform key size validations.
if (!s_certificateToRsaMap.TryGetValue(certificate.Thumbprint, out RSA rsa))
{
if (s_certificateToRsaMap.Count >= s_maximumMapSize)
s_certificateToRsaMap.Clear();
rsa = certificate.GetRSAPrivateKey();
}
var signedData = rsa.SignData(Encoding.UTF8.GetBytes(message), HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1);
// Cache only valid RSA crypto providers, which are able to sign data successfully
s_certificateToRsaMap[certificate.Thumbprint] = rsa;
return signedData;
} Looks like the only ways an NRE could be thrown is if
|
Hi @mjcheetham, thanks for the response. It reproduces every time and on any repo in the Azure DevOps organization. Using latest Firefox here. Browser workflow seems normal and completes with this: Logs as requested:
|
Yeah, this is not great. It's an MSAL bug. What is happening is:
This flow is only supposed to work on older versions of Windows, not on Mac. It may be that AAD added this logic on Mac. Needs a relatively simple fix on Mac. |
I recommend moving this bug to MSAL .NET |
@gerritlansing - did you install Company Portal on Mac? It is a managed device? |
@bgavrilMS It was previously a managed device, but was unenrolled when the company switched MDMs. Is managed by a different solution now. |
Version
2.3.2
Operating system
macOS
OS version or distribution
Sonoma 14.1 Intel
Git hosting provider(s)
Azure DevOps
Other hosting provider
No response
(Azure DevOps only) What format is your remote URL?
https://{org}@dev.azure.com/{org}
Can you access the remote repository directly in the browser?
Yes, I can access the repository
Expected behavior
I am able to authenticate to Azure DevOps.
Actual behavior
An exception "fatal: Object reference not set to an instance of an object." is thrown
Logs
08:20:13.047314 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/bin/git
08:20:13.048758 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/bin
08:20:13.052014 git.c:460 trace: built-in: git pull
08:20:13.054493 run-command.c:655 trace: run_command: git fetch --update-head-ok
08:20:13.062587 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:13.063986 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:13.065381 git.c:460 trace: built-in: git fetch --update-head-ok
08:20:13.073379 run-command.c:655 trace: run_command: GIT_DIR=.git git remote-https origin 'https://[redacted]@dev.azure.com/[redacted]/[redacted]/_git/[redacted]'
08:20:13.080571 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:13.081773 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:13.082717 git.c:750 trace: exec: git-remote-https origin 'https://[redacted]@dev.azure.com/[redacted]/[redacted]/_git/[redacted]'
08:20:13.082751 run-command.c:655 trace: run_command: git-remote-https origin 'https://[redacted]@dev.azure.com/[redacted]/[redacted]/_git/[redacted]'
08:20:13.091594 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git-remote-https
08:20:13.092992 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.093893 run-command.c:655 trace: run_command: '/usr/local/share/gcm-core/git-credential-manager get'
08:20:14.475862 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.477005 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.477954 git.c:460 trace: built-in: git config --null --list
08:20:14.643104 ...e/Application.cs:106 trace: [RunInternalAsync] Version: 2.3.2.0
08:20:14.645885 ...e/Application.cs:107 trace: [RunInternalAsync] Runtime: .NET 7.0.9
08:20:14.646144 ...e/Application.cs:108 trace: [RunInternalAsync] Platform: macOS (x86-64)
08:20:14.646211 ...e/Application.cs:109 trace: [RunInternalAsync] OSVersion: 14.1.0
08:20:14.646426 ...e/Application.cs:110 trace: [RunInternalAsync] AppPath: /usr/local/share/gcm-core/git-credential-manager
08:20:14.646802 ...e/Application.cs:111 trace: [RunInternalAsync] InstallDir: /usr/local/share/gcm-core/
08:20:14.646894 ...e/Application.cs:112 trace: [RunInternalAsync] Arguments: get
08:20:14.679147 ...GitCommandBase.cs:32 trace: [ExecuteAsync] Start 'get' command...
08:20:14.693554 ...GitCommandBase.cs:46 trace: [ExecuteAsync] Detecting host provider for input:
08:20:14.695735 ...GitCommandBase.cs:47 trace: [ExecuteAsync] protocol=https
08:20:14.695913 ...GitCommandBase.cs:47 trace: [ExecuteAsync] host=dev.azure.com
08:20:14.695942 ...GitCommandBase.cs:47 trace: [ExecuteAsync] path=[redacted]/[redacted]/_git/[redacted]
08:20:14.695960 ...GitCommandBase.cs:47 trace: [ExecuteAsync] username=[redacted]
08:20:14.701790 ...viderRegistry.cs:149 trace: [GetProviderAsync] Performing auto-detection of host provider.
08:20:14.702358 ...viderRegistry.cs:162 trace: [GetProviderAsync] Auto-detect probe timeout is 2 ms.
08:20:14.707669 ...viderRegistry.cs:170 trace: [GetProviderAsync] Checking against 4 host providers registered with priority 'Normal'.
08:20:14.709409 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Host provider 'Azure Repos' was selected.
08:20:14.713783 ...osHostProvider.cs:84 trace: [GetCredentialAsync] Looking for existing credential in store with service=https://dev.azure.com/[redacted] account=...
08:20:14.737256 ...osHostProvider.cs:89 trace: [GetCredentialAsync] No existing credentials found.
08:20:14.737421 ...osHostProvider.cs:92 trace: [GetCredentialAsync] Creating new credential...
08:20:14.739677 ...sHostProvider.cs:194 trace: [GeneratePersonalAccessTokenAsync] Determining Microsoft Authentication Authority...
08:20:14.743053 ...eDevOpsRestApi.cs:43 trace: [GetAuthorityAsync] HTTP: HEAD https://dev.azure.com/[redacted]
08:20:14.753439 ...pClientFactory.cs:60 trace: [CreateClient] Creating new HTTP client instance...
08:20:14.772779 ...pClientFactory.cs:80 trace: [CreateClient] Git's SSL/TLS backend is: OpenSsl
08:20:14.792150 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.793650 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.794358 git.c:460 trace: built-in: git version
08:20:14.821635 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.822996 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.824104 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted]/_git/[redacted].sslCAInfo'
08:20:14.835303 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.836776 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.837819 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted]/_git/[redacted].sslCAInfo'
08:20:14.848680 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.850016 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.851069 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted]/_git.sslCAInfo'
08:20:14.862522 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.863785 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.864553 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted]/_git.sslCAInfo'
08:20:14.875800 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.876995 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.877857 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted].sslCAInfo'
08:20:14.889309 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.890659 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.891599 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted].sslCAInfo'
08:20:14.901779 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.902779 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.903625 git.c:460 trace: built-in: git config --null --type=path http.https://dev.azure.com/[redacted].sslCAInfo
08:20:14.914664 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.915860 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.916621 git.c:460 trace: built-in: git config --null --type=path http.dev.azure.com/[redacted].sslCAInfo
08:20:14.927709 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.928901 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.929754 git.c:460 trace: built-in: git config --null --type=path http.https://dev.azure.com.sslCAInfo
08:20:14.941099 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.942309 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.943120 git.c:460 trace: built-in: git config --null --type=path http.dev.azure.com.sslCAInfo
08:20:14.953661 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.954893 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.956094 git.c:460 trace: built-in: git config --null --type=path http.https://azure.com.sslCAInfo
08:20:14.966897 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.968147 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.968897 git.c:460 trace: built-in: git config --null --type=path http.azure.com.sslCAInfo
08:20:14.980133 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.981536 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.982566 git.c:460 trace: built-in: git config --null --type=path http.sslCAInfo
08:20:14.993762 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:14.994952 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:14.995749 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted]/_git/[redacted].cookieFile'
08:20:15.008152 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.009229 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.010003 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted]/_git/[redacted].cookieFile'
08:20:15.021284 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.022480 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.023463 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted]/_git.cookieFile'
08:20:15.034030 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.035011 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.035741 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted]/_git.cookieFile'
08:20:15.046450 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.047533 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.048352 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted].cookieFile'
08:20:15.063303 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.065400 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.066257 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted].cookieFile'
08:20:15.079357 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.080474 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.081253 git.c:460 trace: built-in: git config --null --type=path http.https://dev.azure.com/[redacted].cookieFile
08:20:15.095164 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.096393 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.097357 git.c:460 trace: built-in: git config --null --type=path http.dev.azure.com/[redacted].cookieFile
08:20:15.111524 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.112556 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.113286 git.c:460 trace: built-in: git config --null --type=path http.https://dev.azure.com.cookieFile
08:20:15.125293 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.126506 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.127699 git.c:460 trace: built-in: git config --null --type=path http.dev.azure.com.cookieFile
08:20:15.141296 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.142450 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.143524 git.c:460 trace: built-in: git config --null --type=path http.https://azure.com.cookieFile
08:20:15.155892 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.156879 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.157763 git.c:460 trace: built-in: git config --null --type=path http.azure.com.cookieFile
08:20:15.169386 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:15.170461 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:15.171819 git.c:460 trace: built-in: git config --null --type=path http.cookieFile
08:20:16.450277 ...eDevOpsRestApi.cs:46 trace: [GetAuthorityAsync] HTTP: Response code ignored.
08:20:16.450458 ...eDevOpsRestApi.cs:47 trace: [GetAuthorityAsync] Inspecting headers...
08:20:16.476735 ...eDevOpsRestApi.cs:54 trace: [GetAuthorityAsync] Found WWW-Authenticate header with Bearer authority 'https://login.microsoftonline.com/097499ff-179d-4959-ab02-86d364125bfc'.
08:20:16.477190 ...sHostProvider.cs:196 trace: [GeneratePersonalAccessTokenAsync] Authority is 'https://login.microsoftonline.com/097499ff-179d-4959-ab02-86d364125bfc'.
08:20:16.477249 ...sHostProvider.cs:199 trace: [GeneratePersonalAccessTokenAsync] Getting Azure AD access token...
08:20:16.487989 ...Authentication.cs:67 trace: [GetTokenAsync] OS broker is not available or enabled.
08:20:16.488078 ...Authentication.cs:73 trace: [GetTokenAsync] MSA passthrough is enabled.
08:20:16.516044 ...uthentication.cs:427 trace: [RegisterTokenCacheAsync] Configuring Microsoft Authentication token cache to instance shared with Microsoft developer tools...
08:20:16.599904 ...uthentication.cs:483 trace: [RegisterTokenCacheAsync] Microsoft developer tools token cache configured.
08:20:16.602937 ...uthentication.cs:170 trace: [GetTokenAsync] Performing interactive auth with system web view...
08:20:16.643589 ...pClientFactory.cs:60 trace: [CreateClient] Creating new HTTP client instance...
08:20:16.643926 ...pClientFactory.cs:80 trace: [CreateClient] Git's SSL/TLS backend is: OpenSsl
08:20:16.655725 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.656657 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.657361 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted]/_git/[redacted].sslCAInfo'
08:20:16.669345 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.670590 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.671493 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted]/_git/[redacted].sslCAInfo'
08:20:16.683531 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.684832 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.685617 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted]/_git.sslCAInfo'
08:20:16.697742 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.698870 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.699565 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted]/_git.sslCAInfo'
08:20:16.711361 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.712634 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.713581 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted].sslCAInfo'
08:20:16.725685 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.726740 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.727732 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted].sslCAInfo'
08:20:16.739344 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.740387 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.741186 git.c:460 trace: built-in: git config --null --type=path http.https://dev.azure.com/[redacted].sslCAInfo
08:20:16.753746 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.755102 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.755907 git.c:460 trace: built-in: git config --null --type=path http.dev.azure.com/[redacted].sslCAInfo
08:20:16.768072 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.769029 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.770528 git.c:460 trace: built-in: git config --null --type=path http.https://dev.azure.com.sslCAInfo
08:20:16.781908 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.783191 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.784088 git.c:460 trace: built-in: git config --null --type=path http.dev.azure.com.sslCAInfo
08:20:16.796680 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.798121 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.798932 git.c:460 trace: built-in: git config --null --type=path http.https://azure.com.sslCAInfo
08:20:16.810946 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.812372 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.813221 git.c:460 trace: built-in: git config --null --type=path http.azure.com.sslCAInfo
08:20:16.826159 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.827236 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.828015 git.c:460 trace: built-in: git config --null --type=path http.sslCAInfo
08:20:16.841222 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.842279 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.843018 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted]/_git/[redacted].cookieFile'
08:20:16.854848 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.856177 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.856926 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted]/_git/[redacted].cookieFile'
08:20:16.869649 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.870785 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.871879 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted]/_git.cookieFile'
08:20:16.884852 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.886380 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.887502 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted]/_git.cookieFile'
08:20:16.899523 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.900857 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.901678 git.c:460 trace: built-in: git config --null --type=path 'http.https://dev.azure.com/[redacted]/[redacted].cookieFile'
08:20:16.914649 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.915699 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.916470 git.c:460 trace: built-in: git config --null --type=path 'http.dev.azure.com/[redacted]/[redacted].cookieFile'
08:20:16.929280 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.930355 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.931439 git.c:460 trace: built-in: git config --null --type=path http.https://dev.azure.com/[redacted].cookieFile
08:20:16.944976 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.946297 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.947283 git.c:460 trace: built-in: git config --null --type=path http.dev.azure.com/[redacted].cookieFile
08:20:16.960329 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.961295 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.962021 git.c:460 trace: built-in: git config --null --type=path http.https://dev.azure.com.cookieFile
08:20:16.975912 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.977030 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.978252 git.c:460 trace: built-in: git config --null --type=path http.dev.azure.com.cookieFile
08:20:16.991254 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:16.992600 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:16.993510 git.c:460 trace: built-in: git config --null --type=path http.https://azure.com.cookieFile
08:20:17.006374 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:17.007362 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:17.008382 git.c:460 trace: built-in: git config --null --type=path http.azure.com.cookieFile
08:20:17.022115 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
08:20:17.023185 exec-cmd.c:238 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
08:20:17.024034 git.c:460 trace: built-in: git config --null --type=path http.cookieFile
fatal: Object reference not set to an instance of an object.
at Microsoft.Identity.Client.PlatformsCommon.Shared.CommonCryptographyManager.SignWithCertificate(String message, X509Certificate2 certificate)
at Microsoft.Identity.Client.Platforms.netcore.NetCoreDeviceAuthManager.SignWithCertificate(DeviceAuthJWTResponse responseJwt, X509Certificate2 certificate)
at Microsoft.Identity.Client.PlatformsCommon.Shared.DeviceAuthManager.TryCreateDeviceAuthChallengeResponse(HttpResponseHeaders responseHeaders, Uri endpointUri, String& responseHeader)
at Microsoft.Identity.Client.OAuth2.TokenClient.SendHttpAndClearTelemetryAsync(String tokenEndpoint, ILoggerAdapter logger)
at Microsoft.Identity.Client.OAuth2.TokenClient.SendTokenRequestAsync(IDictionary`2 additionalBodyParameters, String scopeOverride, String tokenEndpointOverride, CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.GetTokenResponseAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.ExecuteAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.RunAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.ApiConfig.Executors.PublicClientExecutor.ExecuteAsync(AcquireTokenCommonParameters commonParameters, AcquireTokenInteractiveParameters interactiveParameters, CancellationToken cancellationToken)
at GitCredentialManager.Authentication.MicrosoftAuthentication.GetTokenAsync(String authority, String clientId, Uri redirectUri, String[] scopes, String userName, Boolean msaPt)
at Microsoft.AzureRepos.AzureReposHostProvider.GeneratePersonalAccessTokenAsync(InputArguments input)
at Microsoft.AzureRepos.AzureReposHostProvider.GetCredentialAsync(InputArguments input)
at GitCredentialManager.Commands.GetCommand.ExecuteInternalAsync(InputArguments input, IHostProvider provider)
at GitCredentialManager.Commands.GitCommandBase.ExecuteAsync()
at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass15_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<b__0>d.MoveNext()
The text was updated successfully, but these errors were encountered: