Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Issue 2519133005: Enable SecureSocket on Fuchsia using BoringSSL (Closed)

Created:
4 years ago by rmacnak
Modified:
4 years ago
Reviewers:
Cutch, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Enable SecureSocket on Fuchsia using BoringSSL and compiled-in certificates from dart-sdk/root_certificates. Implement OS::CurrentTimeMicros in terms of gettimeofday. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/8d57e3d54078423af909c664bd1595c29e0f9059

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 8

Patch Set 6 : . #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -20 lines) Patch
M runtime/bin/BUILD.gn View 3 chunks +2 lines, -4 lines 1 comment Download
M runtime/bin/directory_fuchsia.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/secure_socket.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/secure_socket_boringssl.cc View 1 2 3 4 5 5 chunks +7 lines, -4 lines 0 comments Download
M runtime/tests/vm/dart/hello_fuchsia_test.dart View 1 2 3 4 5 3 chunks +34 lines, -5 lines 2 comments Download
M runtime/vm/os_fuchsia.cc View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M tools/gn.py View 1 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
rmacnak
Requires copying sdk/third_party/root_certificates to fuchsia/third_party/root_certificates. Yields: Trusting compiled-in roots SSL_connect status: -1 SSL_connect error: 2 ...
4 years ago (2016-11-23 02:12:37 UTC) #1
rmacnak
On 2016/11/23 02:12:37, rmacnak wrote: > Requires copying sdk/third_party/root_certificates to > fuchsia/third_party/root_certificates. > > Yields: ...
4 years ago (2016-11-23 18:12:59 UTC) #3
siva
lgtm https://codereview.chromium.org/2519133005/diff/80001/runtime/bin/secure_socket_boringssl.cc File runtime/bin/secure_socket_boringssl.cc (right): https://codereview.chromium.org/2519133005/diff/80001/runtime/bin/secure_socket_boringssl.cc#newcode62 runtime/bin/secure_socket_boringssl.cc:62: static const bool SSL_LOG_STATUS = true; Something you ...
4 years ago (2016-11-23 18:36:04 UTC) #6
rmacnak
https://codereview.chromium.org/2519133005/diff/80001/runtime/bin/secure_socket_boringssl.cc File runtime/bin/secure_socket_boringssl.cc (right): https://codereview.chromium.org/2519133005/diff/80001/runtime/bin/secure_socket_boringssl.cc#newcode62 runtime/bin/secure_socket_boringssl.cc:62: static const bool SSL_LOG_STATUS = true; On 2016/11/23 18:36:04, ...
4 years ago (2016-11-23 18:43:02 UTC) #7
rmacnak
Committed patchset #6 (id:100001) manually as 8d57e3d54078423af909c664bd1595c29e0f9059 (presubmit successful).
4 years ago (2016-11-23 18:48:23 UTC) #9
Cutch
4 years ago (2016-11-23 19:31:20 UTC) #11
Message was sent while issue was closed.
DBC

https://codereview.chromium.org/2519133005/diff/100001/runtime/bin/BUILD.gn
File runtime/bin/BUILD.gn (right):

https://codereview.chromium.org/2519133005/diff/100001/runtime/bin/BUILD.gn#n...
runtime/bin/BUILD.gn:10: dart_use_fallback_root_certificates = true
why are we changing the default arguments here? Can't the Fuchsia build override
this?

https://codereview.chromium.org/2519133005/diff/100001/runtime/tests/vm/dart/...
File runtime/tests/vm/dart/hello_fuchsia_test.dart (right):

https://codereview.chromium.org/2519133005/diff/100001/runtime/tests/vm/dart/...
runtime/tests/vm/dart/hello_fuchsia_test.dart:334: Future
testGoogleHttp(SecurityContext context, String outcome) async {
how can this test fail outside of checked mode?

https://codereview.chromium.org/2519133005/diff/100001/runtime/tests/vm/dart/...
runtime/tests/vm/dart/hello_fuchsia_test.dart:343: assert('pass' == outcome);
this should be an expect so that non-checked mode checks this.

Powered by Google App Engine
This is Rietveld 408576698