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

Issue 422623004: Add a Clone method to ProofVerifyDetails to allow for the proof verify (Closed)

Created:
6 years, 4 months ago by Ryan Hamilton
Modified:
6 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add a Clone method to ProofVerifyDetails to allow for the proof verify details to be copied when initiailizing a CachedState from a canonical entry. BUG=398465 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286305

Patch Set 1 #

Patch Set 2 : add comment #

Total comments: 12

Patch Set 3 : Fix comments #

Patch Set 4 : fix more comments #

Patch Set 5 : Rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -2 lines) Patch
M net/quic/crypto/proof_verifier.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/crypto/proof_verifier_chromium.h View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M net/quic/crypto/proof_verifier_chromium.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M net/quic/crypto/quic_crypto_client_config.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 2 comments Download
M net/quic/crypto/quic_crypto_client_config_test.cc View 1 2 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Ryan Hamilton
6 years, 4 months ago (2014-07-28 23:23:06 UTC) #1
wtc
Patch set 2 LGTM. Note the bugs. https://codereview.chromium.org/422623004/diff/20001/net/quic/crypto/proof_verifier_chromium.cc File net/quic/crypto/proof_verifier_chromium.cc (right): https://codereview.chromium.org/422623004/diff/20001/net/quic/crypto/proof_verifier_chromium.cc#newcode36 net/quic/crypto/proof_verifier_chromium.cc:36: other->cert_verify_result.CopyFrom(cert_verify_result); I ...
6 years, 4 months ago (2014-07-29 01:48:24 UTC) #2
Ryan Hamilton
https://codereview.chromium.org/422623004/diff/20001/net/quic/crypto/proof_verifier_chromium.cc File net/quic/crypto/proof_verifier_chromium.cc (right): https://codereview.chromium.org/422623004/diff/20001/net/quic/crypto/proof_verifier_chromium.cc#newcode36 net/quic/crypto/proof_verifier_chromium.cc:36: other->cert_verify_result.CopyFrom(cert_verify_result); On 2014/07/29 01:48:24, wtc wrote: > > I ...
6 years, 4 months ago (2014-07-29 17:04:50 UTC) #3
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 4 months ago (2014-07-29 17:05:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/422623004/40001
6 years, 4 months ago (2014-07-29 17:06:37 UTC) #5
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 4 months ago (2014-07-29 17:36:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/422623004/60001
6 years, 4 months ago (2014-07-29 17:37:51 UTC) #7
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 4 months ago (2014-07-29 18:23:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/422623004/80001
6 years, 4 months ago (2014-07-29 18:25:04 UTC) #9
wtc
Patch set 5 LGTM.
6 years, 4 months ago (2014-07-29 19:26:11 UTC) #10
ramant (doing other things)
lgtm https://codereview.chromium.org/422623004/diff/80001/net/quic/crypto/quic_crypto_client_config.cc File net/quic/crypto/quic_crypto_client_config.cc (right): https://codereview.chromium.org/422623004/diff/80001/net/quic/crypto/quic_crypto_client_config.cc#newcode289 net/quic/crypto/quic_crypto_client_config.cc:289: } nit: drive by. Should we consider adding ...
6 years, 4 months ago (2014-07-29 21:40:04 UTC) #11
commit-bot: I haz the power
Change committed as 286305
6 years, 4 months ago (2014-07-29 21:42:17 UTC) #12
Ryan Hamilton
6 years, 4 months ago (2014-07-29 21:59:19 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/422623004/diff/80001/net/quic/crypto/quic_cry...
File net/quic/crypto/quic_crypto_client_config.cc (right):

https://codereview.chromium.org/422623004/diff/80001/net/quic/crypto/quic_cry...
net/quic/crypto/quic_crypto_client_config.cc:289: }
On 2014/07/29 21:40:04, ramant wrote:
> nit: drive by. Should we consider adding a DCHECK if
proof_verify_details_.get()
> is NULL then server_config_valid_ is false? thanks.

It's worth a shot.  Though there are 2 caveats:
1) The internal proof verifier does not generate proof verify details ever, so
we'd need to implement that. wtc is taking a look at this
2) We don't have proof verify details for insecure QUIC connections. Does the
CachedState know if it's secure? Oh, I guess we could key off of certs being
non-empty?

Powered by Google App Engine
This is Rietveld 408576698