diff options
author | Andrew de los Reyes <adlr@chromium.org> | 2011-04-07 14:18:56 -0700 |
---|---|---|
committer | Andrew de los Reyes <adlr@chromium.org> | 2011-04-07 14:18:56 -0700 |
commit | 21816e18f2aa38e84206cfff7008748b93b61a13 (patch) | |
tree | d006b0ccc41a4ee87c0045502609f534cd44c2a3 /action_processor.h | |
parent | 2a0fd7439504216a842587887b6e62f04296cae7 (diff) |
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
Review URL: http://codereview.chromium.org/6792065
Diffstat (limited to 'action_processor.h')
-rw-r--r-- | action_processor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/action_processor.h b/action_processor.h index ef06181f..7f7862ab 100644 --- a/action_processor.h +++ b/action_processor.h @@ -41,6 +41,7 @@ enum ActionExitCode { kActionCodeNewRootfsVerificationError = 15, kActionCodeNewKernelVerificationError = 16, kActionCodeSignedDeltaPayloadExpectedError = 17, + kActionCodeDownloadPayloadPubKeyVerificationError = 18, kActionCodeOmahaRequestEmptyResponseError = 200, kActionCodeOmahaRequestXMLParseError = 201, kActionCodeOmahaRequestNoUpdateCheckNode = 202, |