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

Issue 6778029: AU: detect failure when using public key verification (Closed)

Created:
9 years, 8 months ago by adlr
Modified:
9 years ago
Reviewers:
petkov
CC:
chromium-os-reviews_chromium.org, petkov, adlr
Visibility:
Public.

Description

AU: detect failure when using public key verification This makes public key verification non-fatal. A future CL will use this knowledge to report statistics. Change-Id: I9440155dd71621662e5c0f4011b3001bbc65e6d7 BUG=chromium-os:13341 TEST=unittests Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=fb830ba

Patch Set 1 #

Total comments: 6

Patch Set 2 : cleanup for review #

Total comments: 6

Patch Set 3 : fix NULL checks #

Total comments: 2

Patch Set 4 : merge master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -20 lines) Patch
M delta_performer.h View 1 chunk +4 lines, -1 line 0 comments Download
M delta_performer.cc View 1 2 2 chunks +35 lines, -9 lines 0 comments Download
M delta_performer_unittest.cc View 1 1 chunk +12 lines, -9 lines 0 comments Download
M download_action.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
adlr
9 years, 8 months ago (2011-03-30 20:36:23 UTC) #1
petkov
http://codereview.chromium.org/6778029/diff/1/delta_performer.cc File delta_performer.cc (right): http://codereview.chromium.org/6778029/diff/1/delta_performer.cc#newcode593 delta_performer.cc:593: if (!utils::FileExists(key_path.c_str())) { I assume you have full confidence ...
9 years, 8 months ago (2011-03-30 21:04:42 UTC) #2
adlr
PTAL. Thanks! http://codereview.chromium.org/6778029/diff/1/delta_performer.cc File delta_performer.cc (right): http://codereview.chromium.org/6778029/diff/1/delta_performer.cc#newcode593 delta_performer.cc:593: if (!utils::FileExists(key_path.c_str())) { On 2011/03/30 21:04:42, petkov ...
9 years, 8 months ago (2011-03-30 21:52:19 UTC) #3
petkov
http://codereview.chromium.org/6778029/diff/4001/delta_performer.cc File delta_performer.cc (right): http://codereview.chromium.org/6778029/diff/4001/delta_performer.cc#newcode606 delta_performer.cc:606: TEST_SET_TRUE_RET_TRUE(*signature_failed, !signatures_message_data_.empty()); This doesn't check for signature_failed != NULL? ...
9 years, 8 months ago (2011-03-30 22:10:21 UTC) #4
petkov
http://codereview.chromium.org/6778029/diff/4001/delta_performer.cc File delta_performer.cc (right): http://codereview.chromium.org/6778029/diff/4001/delta_performer.cc#newcode602 delta_performer.cc:602: if (!utils::FileExists(key_path.c_str())) { you could probably just do a ...
9 years, 8 months ago (2011-03-30 22:12:39 UTC) #5
adlr
Thank for the quick review. PTAL http://codereview.chromium.org/6778029/diff/4001/delta_performer.cc File delta_performer.cc (right): http://codereview.chromium.org/6778029/diff/4001/delta_performer.cc#newcode602 delta_performer.cc:602: if (!utils::FileExists(key_path.c_str())) { ...
9 years, 8 months ago (2011-03-30 22:30:05 UTC) #6
petkov
LGTM http://codereview.chromium.org/6778029/diff/5006/download_action.cc File download_action.cc (right): http://codereview.chromium.org/6778029/diff/5006/download_action.cc#newcode167 download_action.cc:167: NULL)) { Intentionally removed the TODO, I assume?
9 years, 8 months ago (2011-03-30 22:36:23 UTC) #7
adlr
9 years, 8 months ago (2011-04-04 23:27:13 UTC) #8
forgot to publish this note

http://codereview.chromium.org/6778029/diff/5006/download_action.cc
File download_action.cc (right):

http://codereview.chromium.org/6778029/diff/5006/download_action.cc#newcode167
download_action.cc:167: NULL)) {
On 2011/03/30 22:36:23, petkov wrote:
> Intentionally removed the TODO, I assume?

Yeah, I think it makes this CL cleaner

Powered by Google App Engine
This is Rietveld 408576698