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

Issue 2324793003: Do a better job at faking simple challenge signatures. (Closed)

Created:
4 years, 3 months ago by The one and only Dr. Crash
Modified:
4 years, 3 months ago
Reviewers:
xiyuan, achuithb
CC:
chromium-reviews, hashimoto+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, dkrahn+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do a better job at faking simple challenge signatures. (Redo due to http://crbug.com/645052) By returning a signed simple challenge that can actually be parsed as SignedData, we allow callers of the FakeCryptohomeClient to extract the original data back and process it, making for better fake behavior and simpler tests. Note that the signature is purposedly not verifiable in the FakeCryptohomeClient. BUG=643245 TEST=chromeos_unittests; unit_tests and components_unittests also pass TBR=xiyuan@chromium.org Committed: https://crrev.com/911199cb30f608636c79d47e50dca84735e3a08f Cr-Commit-Position: refs/heads/master@{#417118} patch from issue 2297193006 at patchset 120001 (http://crrev.com/2297193006#ps120001) Committed: https://crrev.com/7da3d8b32b30123c741dfd31371e45416c680bd4 Cr-Commit-Position: refs/heads/master@{#417509}

Patch Set 1 #

Patch Set 2 : Fixed includes for protos and lint warnings. #

Patch Set 3 : A bit too quick on that private: #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -48 lines) Patch
M chrome/browser/chromeos/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
D chrome/browser/chromeos/attestation/attestation_signed_data.proto View 1 chunk +0 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/attestation/platform_verification_flow.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_initializer.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chromeos/BUILD.gn View 5 chunks +12 lines, -0 lines 0 comments Download
M chromeos/chromeos.gyp View 3 chunks +16 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_cryptohome_client.h View 1 2 chunks +13 lines, -5 lines 0 comments Download
M chromeos/dbus/fake_cryptohome_client.cc View 13 chunks +48 lines, -22 lines 0 comments Download
A chromeos/dbus/fake_cryptohome_client_unittest.cc View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
A + chromeos/dbus/proto/attestation.proto View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
The one and only Dr. Crash
Fixed includes to refer to chromeos/attestation/attestation.pb.h instead of the old attestation_signed_data.pb.h in another location, plus ...
4 years, 3 months ago (2016-09-08 23:09:13 UTC) #4
achuithb
Since I'm unfamiliar with the original CL, I think Xiyuan would be more efficient at ...
4 years, 3 months ago (2016-09-08 23:10:44 UTC) #7
The one and only Dr. Crash
I put him as a TBR. But if you look at the diffs between base ...
4 years, 3 months ago (2016-09-08 23:17:20 UTC) #8
achuithb
lgtm
4 years, 3 months ago (2016-09-09 00:26:40 UTC) #9
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/2324793003/40001
4 years, 3 months ago (2016-09-09 00:46:42 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/126281)
4 years, 3 months ago (2016-09-09 00:57:45 UTC) #13
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/2324793003/40001
4 years, 3 months ago (2016-09-09 04:30:24 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-09 05:40:43 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 05:44:50 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7da3d8b32b30123c741dfd31371e45416c680bd4
Cr-Commit-Position: refs/heads/master@{#417509}

Powered by Google App Engine
This is Rietveld 408576698