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

Cut new release #350

Merged
merged 21 commits into from
May 17, 2021
Merged

Cut new release #350

merged 21 commits into from
May 17, 2021

Conversation

mjcheetham
Copy link
Collaborator

Changes:

mjcheetham and others added 21 commits May 12, 2021 18:39
Add support for detecting GitHub AE (GHAE) and enabling the OAuth
authentication mode with the GitHub provider.

https://docs.github.com/en/github-ae@latest/admin/overview/about-github-ae
Add a workaround to a broker bug whereby the account control does not
appear when running from an elevated process.

AzureAD/microsoft-authentication-library-for-dotnet#2560

The underlying issue is to do with COM and the OS account control not
being able to call-back in to the elevated process.

The workaround is to set the process COM security to "none" iif we are
on Windows 10, the process is elevated, and the user hasn't disabled the
broker.

It is possible the call to CoInitializeSecurity may fail, as this can
only be called once in the lifetime of a process, and must be called
before any COM interactions occur. The CLR may perform some COM interop
before we even get to the Main method(!)

We try our best here and call the CoInitializeSecurity function as soon
as we reasonably can in the lifetime of our process.
Add support for OAuth with GitHub AE
Add WAM workaround for elevated processes
Upgrade our MSAL libraries to the latest versions:

- MS.ID.Client 4.29.0 -> 4.31.0
- MS.ID.Client.Desktop 4.29.0 -> 4.31.0
- MS.ID.Client.Extensions.Msal 2.18.3 -> 2.18.4

This brings a number of fixes that help us, including:

- Fix WAM account picker parenting
- Fix WAM exceptions in console apps
- Fix encoding of params sent to WAM
- WebView2 fallback to WebView1
- Stop writing junk to standard out on Linux syswebview flows
Set the MSAL embedded webview window to "Git Credential Manager" to give
some context to the user where this dialog came from.
Fix documentation links for Windows Broker settings
Rename the `master` branch to `main`, and drop the "beta" moniker for
the project now that the other Git credential "manager" helpers have
all been fully deprecated.
Update CI for rename of default branch to main (and drop the "beta" moniker)
Copy link
Collaborator

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! "Out of be-ta, out of be-ta, out of be-ta 🎼🎶🎵"...

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.

3 participants