Descriptionservice,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 #
Messages
Total messages: 6 (0 generated)
|