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

Issue 2448213007: Support different Google attestation (Privacy CA) servers. (Closed)

Created:
4 years, 1 month ago by The one and only Dr. Crash
Modified:
4 years, 1 month ago
CC:
chromium-reviews, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, dkrahn+watch_chromium.org, dkalin1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support different Google attestation (Privacy CA) servers. Add a --attestation-server flag that allows to pick the default or the test server, and pass the appropriate value to cryptohomed for operations involving requests sent to the attestation servers. Also use the appropriate endpoints for the various servers when sending requests. BUG=660260 TEST=unit tests Committed: https://crrev.com/05374163a5a02f6768c72c1fe73c5f26723cb808 Cr-Commit-Position: refs/heads/master@{#428869}

Patch Set 1 #

Patch Set 2 : Simplified. #

Patch Set 3 : Period. Lint #

Total comments: 1

Patch Set 4 : Up to date w/ master. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -9 lines) Patch
M chrome/browser/chromeos/attestation/attestation_ca_client.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/attestation/attestation_ca_client.cc View 1 2 4 chunks +45 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc View 1 2 3 chunks +61 lines, -4 lines 0 comments Download
M chromeos/attestation/attestation_constants.h View 1 chunk +1 line, -0 lines 1 comment Download
M chromeos/chromeos_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (19 generated)
The one and only Dr. Crash
pastarmovj, can you take a look? Thanks!
4 years, 1 month ago (2016-10-28 04:54:13 UTC) #3
The one and only Dr. Crash
On 2016/10/28 04:54:13, The one and only Dr. Crash wrote: > pastarmovj, can you take ...
4 years, 1 month ago (2016-10-28 04:56:55 UTC) #4
The one and only Dr. Crash
Now can be reviewed entirely by apronin or dkrahn.
4 years, 1 month ago (2016-10-28 05:24:43 UTC) #6
Mattias Nissler (ping if slow)
https://codereview.chromium.org/2448213007/diff/40001/chromeos/attestation/attestation_constants.h File chromeos/attestation/attestation_constants.h (right): https://codereview.chromium.org/2448213007/diff/40001/chromeos/attestation/attestation_constants.h#newcode51 chromeos/attestation/attestation_constants.h:51: TEST_PCA, // The test version of the Google-operated Privacy ...
4 years, 1 month ago (2016-10-28 11:34:22 UTC) #8
The one and only Dr. Crash
I agree in general, but that value has never been used. So I deliberately put ...
4 years, 1 month ago (2016-10-28 15:10:14 UTC) #11
dkrahn
On 2016/10/28 15:10:14, The one and only Dr. Crash wrote: > I agree in general, ...
4 years, 1 month ago (2016-10-28 17:27:16 UTC) #14
The one and only Dr. Crash
Because I do not want to mix concerns here, which also will help if later ...
4 years, 1 month ago (2016-10-28 21:48:30 UTC) #15
apronin
lgtm
4 years, 1 month ago (2016-10-31 19:26:16 UTC) #16
The one and only Dr. Crash
4 years, 1 month ago (2016-10-31 19:39:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2448213007/60001
4 years, 1 month ago (2016-10-31 19:39:53 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/293396)
4 years, 1 month ago (2016-10-31 19:47:24 UTC) #24
dkrahn
https://codereview.chromium.org/2448213007/diff/60001/chromeos/attestation/attestation_constants.h File chromeos/attestation/attestation_constants.h (right): https://codereview.chromium.org/2448213007/diff/60001/chromeos/attestation/attestation_constants.h#newcode51 chromeos/attestation/attestation_constants.h:51: TEST_PCA, // The test version of the Google-operated Privacy ...
4 years, 1 month ago (2016-10-31 20:40:03 UTC) #25
The one and only Dr. Crash
Yes we are pretty sure this won't break anything, there is no piece of code ...
4 years, 1 month ago (2016-10-31 21:09:09 UTC) #26
dkrahn
On 2016/10/31 21:09:09, The one and only Dr. Crash wrote: > Yes we are pretty ...
4 years, 1 month ago (2016-10-31 22:20:32 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2448213007/60001
4 years, 1 month ago (2016-10-31 22:21:55 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/293594)
4 years, 1 month ago (2016-10-31 22:30:22 UTC) #31
Darren Krahn
On 2016/10/31 22:30:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 1 month ago (2016-10-31 23:29:26 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2448213007/60001
4 years, 1 month ago (2016-10-31 23:43:14 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-31 23:50:14 UTC) #37
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/05374163a5a02f6768c72c1fe73c5f26723cb808 Cr-Commit-Position: refs/heads/master@{#428869}
4 years, 1 month ago (2016-10-31 23:54:52 UTC) #39
kjellander_chromium
4 years, 1 month ago (2016-11-01 07:33:20 UTC) #40
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2466273002/ by kjellander@chromium.org.

The reason for reverting is: Breaks unit_tests:
https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%2....

Powered by Google App Engine
This is Rietveld 408576698