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: default to NTLM v2 in the network service for POSIX platforms #23846
Conversation
Marking WIP pending upstream fix https://chromium-review.googlesource.com/c/chromium/src/+/2222116 |
Upstream PR has been merged. |
|
Looking into this a bit more, NTLM v2 was made default in 68.0.3416.0 which went out with our Electron 4 release. This broke accidentally after network service codepath was used to initialize the http auth preferences since Electron 6. Hence this should be treated as a bug fix rather than breaking change, Also NTLM v2 is more widely used authentication protocol than v1 if at all NTLM is used. Hence enabling this as default with a flag to disable is a good change. |
PR is ready for review. Thanks! |
Release Notes Persisted
|
I was unable to backport this PR to "7-3-x" cleanly; |
I have automatically backported this PR to "10-x-y", please check out #23916 |
@deepak1556 has manually backported this PR to "8-x-y", please check out #23933 |
@deepak1556 has manually backported this PR to "9-x-y", please check out #23934 |
@deepak1556 has manually backported this PR to "7-3-x", please check out #23935 |
…23934) * build: fix for "enable_desktop_capturer = false" (#23864) * build: fix filenames autogen with new BUILDFLAG syntax (#23952) * fix: default to NTLM v2 in the network service for POSIX platforms (#23846) * chore: update patch Co-authored-by: Alexey Kuzmin <alkuzmin@microsoft.com> Co-authored-by: Samuel Attard <sattard@slack-corp.com>
Description of Change
Fixes #22951
This has been the default for a while at the //net layer https://bugs.chromium.org/p/chromium/issues/detail?id=22532 , the network service configures the default incorrectly. I have reported it in upstream, will update here once I have a response.
Checklist
npm test
passesRelease Notes
Notes: enable NTLM v2 for POSIX platforms and added --disable-ntlm-v2 switch to disable it.