-
Notifications
You must be signed in to change notification settings - Fork 6k
Added support for authentication codes for the VM service #8527
Conversation
| return args.toArray(argsArray); | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why this line changed, but I'm guessing it's something to do with Vim. I tried to fix it but wasn't having much luck. If it's a problem, I'll go and fight with it some more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your editor (or maybe git) is adding a newline at the end of the file.
|
|
||
| // Determines whether an authentication code is required to communicate with | ||
| // the VM service. | ||
| bool disable_service_auth_codes = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this not be a negative please? enable_service_auth_codes = false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is meant to be temporary and will be enabled by default later. I'd really rather avoid having to change everything only to have to change it back in the next day or so.
chinmaygarde
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The flag is enable-service-auth-codes but the field in the settings is disable_service_auth_codes. The negation is unnecessary and confusing.
|
Thanks! |
flutter/engine@72986c3...f804c29 git log 72986c3..f804c29 --no-merges --oneline f804c29 Roll src/third_party/skia 3b60397fd35d..f74fff660084 (3 commits) (flutter/engine#8556) 1b448e5 Roll Dart 15b11b018364ce032eae50d78fc8a52b541e2bce...a8f3a5dae6203d1064726a5953cf06a7d484249c (flutter/engine#8555) 99259ae Roll src/third_party/skia 36477b49c2ef..3b60397fd35d (6 commits) (flutter/engine#8554) f37220d Roll src/third_party/skia c33e6dcc700b..36477b49c2ef (8 commits) (flutter/engine#8552) d84d204 Android Embedding PR30: Make FlutterView focusable so that the keyboard can interact with it. (flutter/engine#8551) a344015 [fuchsia] Add flutter:: to scene_host.cc (flutter/engine#8549) 711d843 Roll src/third_party/skia 76e626d9bb55..c33e6dcc700b (4 commits) (flutter/engine#8547) 82e6d68 Eliminate unused write to local (flutter/engine#8541) f53e477 Correct nullability for FlutterStandardReader (flutter/engine#8537) c00364a [font_collection] Add missing semicolon (flutter/engine#8546) ae4df6f Revert "Change Rect internal representation from Float32List to Float64List (#8524)" (flutter/engine#8545) ffdddb0 Roll src/third_party/skia 6d60534e95d8..76e626d9bb55 (1 commits) (flutter/engine#8544) 5ac728e Roll src/third_party/skia 4d657d5e894a..6d60534e95d8 (3 commits) (flutter/engine#8543) ee462ff Roll src/third_party/skia 99d792276740..4d657d5e894a (1 commits) (flutter/engine#8542) 18816c5 Roll src/third_party/skia 42280f8961fa..99d792276740 (8 commits) (flutter/engine#8539) 892591d Android Embedding PR28: Report app is active to Flutter in FlutterFragment.onResume() instead of onPostResume() forwarded from Activity. (flutter/engine#8536) 330c6c1 Use code cache dir for engine cache on API >= 21 (#14704). (flutter/engine#8534) c10ae2b Add an option to build the GLFW shell on macOS (flutter/engine#8531) 29aa5fc Roll src/third_party/skia b5c685991faa..42280f8961fa (32 commits) (flutter/engine#8535) 0a2869e Added support for authentication codes for the VM service (flutter/engine#8527) 36d2135 Redo a fix for cull rect calculation on TransformLayers with a perspective transform (flutter/engine#8528) 0b36d3e Change Rect internal representation from Float32List to Float64List (flutter/engine#8524) b1ae0cc Roll src/third_party/skia 10bf7020aa15..b5c685991faa (3 commits) (flutter/engine#8526) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff ([email protected]), and stop the roller if necessary.
Previously, a valid web socket connection would use the following URI:
ws://127.0.0.1/wsNow, if enabled, the VM service requires a connection to be made with a
URI similar to the following:
ws://127.0.0.1:8181/Ug_U0QVsqFs=/wswhere
Ug_U0QVsqFsis an authentication code generated and shared by theservice.
This behavior can be enabled with the
--enable-service-auth-codesflag.