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

Issue 6792065: AU: Detect and report public key verify failures, but continue updating. (Closed)

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

Description

AU: Detect and report public key verify failures, but continue updating. Make a new OmahaEvent (Type: 14 (kTypeUpdateDownloadFinished), Result: 0 (kResultError), ErrorCode: 18 (kActionCodeDownloadPayloadPubKeyVerificationError)). This event is sent if we have a successful download that fails public key verification. Currently this is a non-fatal failure, but we plan to make it fatal in future clients. BUG=chromium-os:13341 TEST=unittests; 3 on device tests: w/o public key on device, w/ pub key and matching download, w/ pub key and non-matching download Change-Id: Ib6589c78449c2dfcbffa4c85ab679f7fe844584b Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=21816e1

Patch Set 1 #

Total comments: 3

Patch Set 2 : fixes for review #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -2 lines) Patch
M action_processor.h View 1 chunk +1 line, -0 lines 0 comments Download
M download_action.h View 1 3 chunks +8 lines, -0 lines 1 comment Download
M download_action.cc View 1 4 chunks +10 lines, -2 lines 0 comments Download
M update_attempter.cc View 1 3 chunks +17 lines, -0 lines 0 comments Download
M update_attempter_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
adlr
Hey Gaurav, normally I'd have Petkov review this, but he's on vacation. Can you do ...
9 years, 8 months ago (2011-04-05 23:40:26 UTC) #1
adlr
[+cc: josafat]
9 years, 8 months ago (2011-04-05 23:40:52 UTC) #2
gauravsh
I don't understand the unit test portion of it - are the test cases part ...
9 years, 8 months ago (2011-04-06 00:07:23 UTC) #3
gauravsh
On Tue, Apr 5, 2011 at 5:45 PM, <adlr@chromium.org> wrote: > Hm, I can't seem ...
9 years, 8 months ago (2011-04-06 01:52:05 UTC) #4
adlr
PTAL. Thanks
9 years, 8 months ago (2011-04-06 02:00:21 UTC) #5
gauravsh
http://codereview.chromium.org/6792065/diff/7001/download_action.h File download_action.h (right): http://codereview.chromium.org/6792065/diff/7001/download_action.h#newcode141 download_action.h:141: // Called if the download fails OR (download success ...
9 years, 8 months ago (2011-04-06 02:40:23 UTC) #6
gauravsh
9 years, 8 months ago (2011-04-07 02:13:56 UTC) #7
a belated lgtm

Powered by Google App Engine
This is Rietveld 408576698