Open
Conversation
This commit introduces a custom disk layout different from default configuration offerings by ubiquity/partman, therefore spoofing it in casper stage to dismiss partition setup at earliest possible. Added d-i question dell-recovery/encryption defauled false, toggle it on in the preseed file to enable disk encryption. Custom partition layout fresh added keystore to host all the key files, for instance the key-file for rootfs OS partition. Both the keystore and rootfs partitions are default LUKS encrypted. Initially, 3 key slots are reserved for keystore decryption. The third slot is created only if user decided to adopt measured boot. key slot 0: hardware identity key slot 1: user passphrase key slot 2: random generated fs-unlock firstly finds tpm sealing object if present will retrieve the key according to PCR policy verification on successful will salt chosen PCRs, otherwise simply unlock the rootfs by pre-defined hardware identity.
New added d-i question dell-recovery/use_zfs to enable zfs custom disk layout in the preseed file.
Changes: 1. add zfs-unload-encryption.conf to user-runtime-dir@ systemd 2. add /usr/sbin/zfs-unload-encryption to unload encryption key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New d-i questions:
dell-recovery/encryption boolean (default: false)
dell-recovery/use_zfs boolean (default: false)
Screenshot for reference:
