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

Issue 1309813003: Implement an openssl version of a QUIC ProofSource. (Closed)

Created:
5 years, 4 months ago by Ryan Hamilton
Modified:
5 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Ryan Sleevi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement an openssl version of a QUIC ProofSource. BUG=525144, 514472 Committed: https://crrev.com/9f6d72eecc98aec5c085b0e995413182bf3718a9 Cr-Commit-Position: refs/heads/master@{#347831}

Patch Set 1 #

Patch Set 2 : add proof_source_chromium_openssl.cc #

Total comments: 19

Patch Set 3 : Fix comments #

Patch Set 4 : Fix comments #

Total comments: 12

Patch Set 5 : Enable CryptoServerTest.DefaultCert #

Patch Set 6 : fix comments #

Patch Set 7 : fix build issues #

Patch Set 8 : Cleanup and working tests #

Patch Set 9 : Rebase #

Patch Set 10 : add quic_chain.crt #

Patch Set 11 : fix iOS #

Patch Set 12 : endif #

Patch Set 13 : Add NSS version of ProofSourceChromium::Initialize #

Patch Set 14 : fix #

Patch Set 15 : Attempt to fix iOS #

Patch Set 16 : Use MockCertVerifier #

Patch Set 17 : cleanup #

Patch Set 18 : re-add new files #

Patch Set 19 : More iOS fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -37 lines) Patch
M net/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
A net/data/ssl/certificates/quic_chain.crt View 1 2 3 4 5 6 7 8 9 16 17 1 chunk +226 lines, -0 lines 0 comments Download
A net/data/ssl/certificates/quic_test.example.com.key.pkcs8 View 16 17 Binary file 0 comments Download
M net/net.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -1 line 0 comments Download
M net/net_common.gypi View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M net/quic/crypto/crypto_server_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +5 lines, -1 line 0 comments Download
M net/quic/crypto/proof_source_chromium.h View 3 chunks +12 lines, -1 line 0 comments Download
D net/quic/crypto/proof_source_chromium.cc View 1 chunk +0 lines, -24 lines 0 comments Download
A + net/quic/crypto/proof_source_chromium_nss.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 16 17 1 chunk +7 lines, -1 line 0 comments Download
A net/quic/crypto/proof_source_chromium_openssl.cc View 1 2 3 4 5 16 17 1 chunk +113 lines, -0 lines 0 comments Download
M net/quic/quic_crypto_server_stream_test.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -2 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +5 lines, -2 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils_chromium.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +22 lines, -5 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
Ryan Hamilton
davidben: Ok, here's my attempt to do an OpenSSL (boringSSL?) only version of a QUIC ...
5 years, 4 months ago (2015-08-24 21:39:18 UTC) #2
ramant (doing other things)
lgtm https://codereview.chromium.org/1309813003/diff/20001/net/quic/crypto/proof_source_chromium_openssl.cc File net/quic/crypto/proof_source_chromium_openssl.cc (right): https://codereview.chromium.org/1309813003/diff/20001/net/quic/crypto/proof_source_chromium_openssl.cc#newcode42 net/quic/crypto/proof_source_chromium_openssl.cc:42: X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_encoded_cert); overly nit: should we consider checking ...
5 years, 4 months ago (2015-08-24 22:31:30 UTC) #3
davidben
Here's an initial set of comments. I haven't looked at it too careful yet, though ...
5 years, 4 months ago (2015-08-24 22:50:24 UTC) #4
Ryan Hamilton
Thanks for the comments! https://codereview.chromium.org/1309813003/diff/20001/net/quic/crypto/proof_source_chromium_openssl.cc File net/quic/crypto/proof_source_chromium_openssl.cc (right): https://codereview.chromium.org/1309813003/diff/20001/net/quic/crypto/proof_source_chromium_openssl.cc#newcode42 net/quic/crypto/proof_source_chromium_openssl.cc:42: X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_encoded_cert); On 2015/08/24 22:31:30, ...
5 years, 4 months ago (2015-08-24 23:29:55 UTC) #5
ramant (doing other things)
Thanks for fixing the long a TODO thing. LGTM.
5 years, 4 months ago (2015-08-24 23:32:25 UTC) #6
davidben
lgtm https://codereview.chromium.org/1309813003/diff/60001/net/quic/crypto/proof_source_chromium_openssl.cc File net/quic/crypto/proof_source_chromium_openssl.cc (right): https://codereview.chromium.org/1309813003/diff/60001/net/quic/crypto/proof_source_chromium_openssl.cc#newcode6 net/quic/crypto/proof_source_chromium_openssl.cc:6: This should include: #include <openssl/digest.h> #include <openssl/evp.h> #include ...
5 years, 4 months ago (2015-08-25 19:33:03 UTC) #7
Ryan Sleevi
Could you add a BUG to this description, to clearly indicate what's being added to ...
5 years, 4 months ago (2015-08-25 21:19:20 UTC) #9
Ryan Hamilton
On 2015/08/25 21:19:20, Ryan Sleevi wrote: > Could you add a BUG to this description, ...
5 years, 3 months ago (2015-08-26 18:52:02 UTC) #10
Ryan Hamilton
https://codereview.chromium.org/1309813003/diff/60001/net/quic/crypto/proof_source_chromium_openssl.cc File net/quic/crypto/proof_source_chromium_openssl.cc (right): https://codereview.chromium.org/1309813003/diff/60001/net/quic/crypto/proof_source_chromium_openssl.cc#newcode6 net/quic/crypto/proof_source_chromium_openssl.cc:6: On 2015/08/25 19:33:02, David Benjamin wrote: > This should ...
5 years, 3 months ago (2015-08-26 18:52:14 UTC) #11
Ryan Hamilton
Ok, so I get the sense that davidben likes this approach, but sleevi prefers the ...
5 years, 3 months ago (2015-08-26 18:54:07 UTC) #12
davidben
On 2015/08/26 18:54:07, Ryan Hamilton wrote: > Ok, so I get the sense that davidben ...
5 years, 3 months ago (2015-08-26 19:19:07 UTC) #13
Ryan Hamilton
On 2015/08/26 19:19:07, David Benjamin wrote: > On 2015/08/26 18:54:07, Ryan Hamilton wrote: > > ...
5 years, 3 months ago (2015-08-27 19:54:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1309813003/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1309813003/400001
5 years, 3 months ago (2015-09-08 23:15:52 UTC) #19
commit-bot: I haz the power
Committed patchset #19 (id:400001)
5 years, 3 months ago (2015-09-08 23:45:08 UTC) #20
commit-bot: I haz the power
5 years, 3 months ago (2015-09-08 23:45:49 UTC) #21
Message was sent while issue was closed.
Patchset 19 (id:??) landed as
https://crrev.com/9f6d72eecc98aec5c085b0e995413182bf3718a9
Cr-Commit-Position: refs/heads/master@{#347831}

Powered by Google App Engine
This is Rietveld 408576698