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

Issue 3592008: AU: Verify delta payload signature and signed hash. (Closed)

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

Description

AU: Verify delta payload signature and signed hash. The signature and hash are verified only if the public key file exists. This means that currently this feature is desabled until we install a public key. BUG=5663 TEST=unit tests, applied a signed delta update on the server Change-Id: I5be72f7fde88400587f8aae0c7d5745c79fc4428 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=d7061ab

Patch Set 1 #

Patch Set 2 : minor fixes #

Patch Set 3 : update some comments #

Total comments: 6

Patch Set 4 : address review comments #

Patch Set 5 : rename pubkey.pem to key.pub.pem #

Patch Set 6 : move /tmp files to /var/run #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -70 lines) Patch
M .gitignore View 1 chunk +1 line, -0 lines 0 comments Download
M SConstruct View 4 chunks +42 lines, -0 lines 0 comments Download
M action_processor.h View 1 chunk +1 line, -0 lines 0 comments Download
M delta_performer.h View 1 2 6 chunks +37 lines, -10 lines 0 comments Download
M delta_performer.cc View 1 2 3 4 8 chunks +71 lines, -17 lines 0 comments Download
M delta_performer_unittest.cc View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M download_action.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M omaha_hash_calculator.h View 2 chunks +8 lines, -2 lines 0 comments Download
M omaha_hash_calculator.cc View 2 chunks +9 lines, -4 lines 0 comments Download
M omaha_hash_calculator_unittest.cc View 2 chunks +25 lines, -6 lines 0 comments Download
M payload_signer.h View 1 chunk +6 lines, -0 lines 0 comments Download
M payload_signer.cc View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
M payload_signer_unittest.cc View 1 2 3 4 5 2 chunks +57 lines, -31 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
petkov
10 years, 2 months ago (2010-10-05 22:00:50 UTC) #1
adlr
http://codereview.chromium.org/3592008/diff/8001/9002 File delta_performer.cc (right): http://codereview.chromium.org/3592008/diff/8001/9002#newcode454 delta_performer.cc:454: CHECK_EQ(buffer_offset_, manifest_.signatures_offset()); maybe test and return false here and ...
10 years, 2 months ago (2010-10-05 23:22:10 UTC) #2
petkov
PTAL. Also renamed the public key. http://codereview.chromium.org/3592008/diff/8001/9002 File delta_performer.cc (right): http://codereview.chromium.org/3592008/diff/8001/9002#newcode454 delta_performer.cc:454: CHECK_EQ(buffer_offset_, manifest_.signatures_offset()); On ...
10 years, 2 months ago (2010-10-06 04:36:08 UTC) #3
petkov
Also moved the signature verification temp files to root-only /var/run. We should really use the ...
10 years, 2 months ago (2010-10-06 12:49:37 UTC) #4
adlr
10 years, 2 months ago (2010-10-06 21:26:57 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698