diff options
author | PMR <pmr@pmr-lander> | 2019-08-27 12:55:38 +0000 |
---|---|---|
committer | PMR <pmr@pmr-lander> | 2019-08-27 12:55:38 +0000 |
commit | 0393c6e9138844f635829f5695e04c4615f336b3 (patch) | |
tree | c075a43bf30b835aaff35845849e65f4a902d4d1 /units/disk | |
parent | f86587bb535f6f63d247f6e6d41edf1d7c308108 (diff) | |
parent | ad45c9c7a04935ea569526401b84ff8f159effc7 (diff) |
Merge #371726 from ~pieq/plainbox-provider-checkbox:check-fde-tpm
Diffstat (limited to 'units/disk')
-rw-r--r-- | units/disk/encryption.pxu | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/units/disk/encryption.pxu b/units/disk/encryption.pxu index b7d41c8f..dea0637c 100644 --- a/units/disk/encryption.pxu +++ b/units/disk/encryption.pxu @@ -18,4 +18,31 @@ command: {%- else %} fde_tests.py desktop {% endif -%} -estimated_duration: 2.0 \ No newline at end of file +estimated_duration: 2.0 + +id: disk/encryption/check-fde-tpm +_summary: Disk decryption after TPM change +_description: + Check that the data partition cannot be decrypted (and therefore the device + cannot boot) if PCR7 value is modified. +category_id: com.canonical.plainbox::disk +estimated_duration: 45m +plugin: manual +_purpose: + The device partition is encrypted using TPM master key. To unseal the master + key from TPM, PCR7 (Platform Configuration Register 7) needs to be identical + to the value it had when the master key was sealed into TPM. Every time the + device boots, it checks PCR7 to unseal TPM and retrieves master key from TPM + to decrypt its data partition. If TPM PCR7 is modified (e.g. by flashing the + BIOS), the device won't be able to get the master key and decrypt its data + partition. +_steps: + 1. Install the image and make sure it boots and you can log in. + 2. Turn the device off and upgrade/downgrade the BIOS + 3. Make sure the BIOS is set up properly (e.g. TPM enabled, UEFI boot mode) + 4. Start the device +_verification: + Mark this test as "Passed" if the device cannot boot anymore. + Note: You must flash the BIOS back to the latest version and re-install the + image afterwards. + |