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

Issue 6801020: service,cryptohome: wire up lockbox to dbus (Closed)

Created:
9 years, 8 months ago by Will Drewry
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, Chris Masone, fes, kmixter1
Visibility:
Public.

Description

service,cryptohome: wire up lockbox to dbus Lockbox provides install-time, tamper evident data. This change wires it up to DBus. BUG=chromium-os:13129 TEST=clear the tpm and reboot check /var/log/cryptohomed.log for Init message run cryptohome --action=status and check lockbox output run cryptohome --action=lockbox_test run cryptohome --action=status and check new fields exist reboot run cryptohome --action=status and ensure it is locked and has the data I haven't yet figured out how to best integrate this into an autotest. Basically, we need to save the TPM Owner password to disk and be able to tell cryptohomed to load it on demand to simulate a TpmClear event. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=2b5cdc3

Patch Set 1 #

Patch Set 2 : fix up policy #

Patch Set 3 : update unittests to be lockbox friendly #

Patch Set 4 : removed a comment; add two data types in the test #

Patch Set 5 : fix spaces #

Total comments: 9

Patch Set 6 : large refactor. need ot fix up some presubmit issues still #

Patch Set 7 : presubmit cleanup #

Patch Set 8 : cleanup #

Patch Set 9 : cleanup #

Patch Set 10 : rebased to new installattrs branch #

Patch Set 11 : boolean rename #

Patch Set 12 : ensure chronos can acces InstallAttributes #

Patch Set 13 : add IsEnabled check to detect a physical/enabled tpm #

Patch Set 14 : rebase #

Patch Set 15 : auto-Finalization on Mount #

Total comments: 8

Patch Set 16 : rebase to IsNvramDefined #

Patch Set 17 : commandline interface; use new IsReady #

Patch Set 18 : clean up * placement #

Patch Set 19 : last upload before push #

Unified diffs Side-by-side diffs Delta from patch set Stats (+453 lines, -9 lines) Patch
M cryptohome.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +130 lines, -1 line 0 comments Download
M cryptohome.xml View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +28 lines, -0 lines 0 comments Download
M etc/Cryptohome.conf View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +25 lines, -0 lines 0 comments Download
M interface.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +29 lines, -0 lines 0 comments Download
M interface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +54 lines, -0 lines 0 comments Download
M service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +32 lines, -4 lines 0 comments Download
M service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 14 chunks +148 lines, -4 lines 0 comments Download
M service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Will Drewry
PTAL! (3/3)
9 years, 8 months ago (2011-04-07 22:24:04 UTC) #1
gauravsh
Sorry for doing this out of order. That's a quite a lot of code. :) ...
9 years, 8 months ago (2011-04-11 04:03:20 UTC) #2
Will Drewry
PTAL - thanks! http://codereview.chromium.org/6801020/diff/7002/service.cc File service.cc (right): http://codereview.chromium.org/6801020/diff/7002/service.cc#newcode113 service.cc:113: // be called across multiple threads ...
9 years, 8 months ago (2011-04-13 16:04:59 UTC) #3
gauravsh
http://codereview.chromium.org/6801020/diff/7002/service.cc File service.cc (right): http://codereview.chromium.org/6801020/diff/7002/service.cc#newcode722 service.cc:722: lockbox_data += StringPrintf( On 2011/04/13 16:04:59, Will Drewry wrote: ...
9 years, 8 months ago (2011-04-14 07:39:52 UTC) #4
Will Drewry
PTAL - Thanks! http://codereview.chromium.org/6801020/diff/19009/cryptohome.cc File cryptohome.cc (right): http://codereview.chromium.org/6801020/diff/19009/cryptohome.cc#newcode70 cryptohome.cc:70: ACTION_INSTALL_ATTRIBUTES_TEST }; On 2011/04/14 07:39:52, gauravsh ...
9 years, 8 months ago (2011-04-15 01:31:48 UTC) #5
gauravsh
9 years, 8 months ago (2011-04-15 02:37:50 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698