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

Issue 15793005: Per discussion, implement the Omaha Client Update Protocol (CUP) in src/crypto. (Closed)

Created:
7 years, 6 months ago by Ryan Myers (chromium)
Modified:
7 years, 6 months ago
Reviewers:
Ryan Sleevi, Jói
CC:
chromium-reviews
Visibility:
Public.

Description

Per discussion, implement the Omaha Client Update Protocol (CUP) in src/crypto. Since this will not be used on Android or iOS, only the NSS implementation is complete; OpenSSL is stubbed out. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204755

Patch Set 1 : #

Total comments: 46

Patch Set 2 : #

Total comments: 18

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 1

Patch Set 8 : #

Total comments: 44

Patch Set 9 : #

Patch Set 10 : #

Total comments: 10

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+739 lines, -0 lines) Patch
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A google_apis/cup/OWNERS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A google_apis/cup/client_update_protocol.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +138 lines, -0 lines 0 comments Download
A google_apis/cup/client_update_protocol.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +305 lines, -0 lines 0 comments Download
A google_apis/cup/client_update_protocol_nss.cc View 1 2 3 4 5 6 7 8 1 chunk +81 lines, -0 lines 0 comments Download
A google_apis/cup/client_update_protocol_openssl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +27 lines, -0 lines 0 comments Download
A google_apis/cup/client_update_protocol_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +165 lines, -0 lines 0 comments Download
M google_apis/google_apis.gyp View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Ryan Myers (chromium)
Previous advice/thread was greatly appreciated. On to round two! I've moved the entire CUP protocol ...
7 years, 6 months ago (2013-05-29 23:20:36 UTC) #1
agl
(I'm just about to head out and I'll be away until Monday.)
7 years, 6 months ago (2013-05-29 23:29:24 UTC) #2
Ryan Sleevi
I have only done an initial pass getting familiar with the high level design. My ...
7 years, 6 months ago (2013-05-30 02:28:08 UTC) #3
Ryan Myers (chromium)
Thanks! https://codereview.chromium.org/15793005/diff/27001/crypto/cup.cc File crypto/cup.cc (right): https://codereview.chromium.org/15793005/diff/27001/crypto/cup.cc#newcode16 crypto/cup.cc:16: // See cup_nss.cc or cup_openssl.cc for implementations of ...
7 years, 6 months ago (2013-05-30 21:01:10 UTC) #4
wtc
Review comments on patch set 2: I reviewed cup_nss.cc carefully and cup.h (just a cursory ...
7 years, 6 months ago (2013-05-30 21:38:56 UTC) #5
Ryan Myers (chromium)
Thanks. Changes made. Regarding location, there's currently a single consumer for this code, but there ...
7 years, 6 months ago (2013-05-30 21:55:11 UTC) #6
Ryan Sleevi
actually, seems like src/google_apis is a *perfect* place to put this :) It's allowed to ...
7 years, 6 months ago (2013-06-01 00:29:17 UTC) #7
Ryan Myers (chromium)
Sounds good. I've moved it to google_apis, and added Joi as reviewer for that dir. ...
7 years, 6 months ago (2013-06-04 18:54:25 UTC) #8
Ryan Sleevi
https://codereview.chromium.org/15793005/diff/86001/google_apis/cup/client_update_protocol.h File google_apis/cup/client_update_protocol.h (right): https://codereview.chromium.org/15793005/diff/86001/google_apis/cup/client_update_protocol.h#newcode78 google_apis/cup/client_update_protocol.h:78: const std::vector<uint8>& key_source) = 0; You don't need to ...
7 years, 6 months ago (2013-06-04 18:58:02 UTC) #9
Ryan Myers (chromium)
On 2013/06/04 18:58:02, Ryan Sleevi wrote: > https://codereview.chromium.org/15793005/diff/86001/google_apis/cup/client_update_protocol.h > File google_apis/cup/client_update_protocol.h (right): > > https://codereview.chromium.org/15793005/diff/86001/google_apis/cup/client_update_protocol.h#newcode78 ...
7 years, 6 months ago (2013-06-04 19:06:30 UTC) #10
Ryan Sleevi
On 2013/06/04 19:06:30, Ryan Myers (chromium) wrote: > On 2013/06/04 18:58:02, Ryan Sleevi wrote: > ...
7 years, 6 months ago (2013-06-04 19:25:47 UTC) #11
Ryan Myers (chromium)
On 2013/06/04 19:25:47, Ryan Sleevi wrote: > On 2013/06/04 19:06:30, Ryan Myers (chromium) wrote: > ...
7 years, 6 months ago (2013-06-04 20:56:13 UTC) #12
Jói
The addition of this directory to //google_apis and the change to the .gyp files LGTM. ...
7 years, 6 months ago (2013-06-04 22:27:51 UTC) #13
Ryan Myers (chromium)
On 2013/06/04 22:27:51, Jói wrote: > The addition of this directory to //google_apis and the ...
7 years, 6 months ago (2013-06-06 18:06:26 UTC) #14
Ryan Sleevi
First pass: Style & Design changes (not the crypto review) https://codereview.chromium.org/15793005/diff/95004/google_apis/cup/client_update_protocol.cc File google_apis/cup/client_update_protocol.cc (right): https://codereview.chromium.org/15793005/diff/95004/google_apis/cup/client_update_protocol.cc#newcode85 ...
7 years, 6 months ago (2013-06-06 19:59:10 UTC) #15
Ryan Myers (chromium)
Thanks! https://codereview.chromium.org/15793005/diff/95004/google_apis/cup/client_update_protocol.cc File google_apis/cup/client_update_protocol.cc (right): https://codereview.chromium.org/15793005/diff/95004/google_apis/cup/client_update_protocol.cc#newcode85 google_apis/cup/client_update_protocol.cc:85: return hmac.Verify(ByteVectorToSP(hashes), ByteVectorToSP(server_proof)); On 2013/06/06 19:59:10, Ryan Sleevi ...
7 years, 6 months ago (2013-06-06 21:09:09 UTC) #16
Ryan Sleevi
I did not review the unit tests beyond style - I'm assuming they're intentionally chosen ...
7 years, 6 months ago (2013-06-06 22:45:15 UTC) #17
Ryan Myers (chromium)
Thanks! And yes, the unit tests just load a key and perform checks against known ...
7 years, 6 months ago (2013-06-06 23:07:19 UTC) #18
Ryan Sleevi
LGTM. Since this isn't crypto/ or net/, I'm not going to be too pedantic about ...
7 years, 6 months ago (2013-06-06 23:12:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ryanmyers@chromium.org/15793005/164001
7 years, 6 months ago (2013-06-07 02:35:15 UTC) #20
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_net_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=159157
7 years, 6 months ago (2013-06-07 04:49:18 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ryanmyers@chromium.org/15793005/164001
7 years, 6 months ago (2013-06-07 05:25:48 UTC) #22
commit-bot: I haz the power
7 years, 6 months ago (2013-06-07 08:32:32 UTC) #23
Message was sent while issue was closed.
Change committed as 204755

Powered by Google App Engine
This is Rietveld 408576698