Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve robustness of the initrd sdk
This commit: - Implements LUKS and TPM2 toolchain checks and enforcement in order to avoid issues originating from uninitialized hardware and driver modules. - Improves the "testability" of the code - Changes the configuration workflow of the unlock-mount-luks.sh to rely on a config file instead of positional cmdline arguments in order to make configuration more explicit and easier to debug. - Ads script used for tpm2.0 persistent secret unsealing - Ads a config file with value presets intended for testing - Implements support for disks where only the root partition need decryption by the unlock-mount-luks.sh - Implements auto discovery for root partition based on GPT partition label - Implements auto discovery for config drive partition based on GPT partition label - Implement support for environments where only the config-drive is encrypted - Reorganizes and updates comments - Fixes evaluation bug of the "key_command" - Typo fixes - Exclude .swp files via .gitignore - Fix incorrect config drive partition name generation in relation to disks types that doesn't use partition prefixes - Introduce config option to skip the preparation "phase" intended for testing - Add support for use-case where encryption is not present and the tool chain is also missing Signed-off-by: Adam Rozman <adam.rozman@est.tech>
- Loading branch information