-
Notifications
You must be signed in to change notification settings - Fork 1
Comparing changes
Open a pull request
base repository: oldium/clevis
base: v21
head repository: oldium/clevis
compare: v21_tpm1
- 11 commits
- 28 files changed
- 1 contributor
Commits on Sep 28, 2024
-
Ensure the shutdown dependency is present
The DefaultDependencies=yes option adds conflicting dependency on the shutdown.target automatically to ensure the service is terminated during the shutdown, so add it when we use DefaultDependencies=no. Signed-off-by: Oldřich Jedlička <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78ff0d8 - Browse repository at this point
Copy the full SHA 78ff0d8View commit details -
Allow reading used set of pins by clevis scripts
Signed-off-by: Oldřich Jedlička <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 300ff3c - Browse repository at this point
Copy the full SHA 300ff3cView commit details -
Supply cryptsetup password through pipe in Dracut
Current Dracut integration ignores all cryptsetup options, which are usually handled by Dracut itself (like reading /etc/crypttab). We need to hook into the Dracut cryptsetup process in order to allow Dracut handling the options and us handling the password only. Dracut uses generated udev rules to create cryptsetup unlocking scripts in initqueue/settled dynamically when the corresponding device appears. The unlocking tries to unlock by the key file first and then by password read from user. We can hook into the key file reading stage by providing our own pipe and send the password via the pipe similarly to how the initramfs-tools clevisloop is doing it. There is one difference, though, we have only one try to unlock, but that should be enough. For the network pins (tang and sss/tang at the moment) we can move the generated Dracut cryptsetup unlocking scripts to initqueue/online to ensure the unlocking happens at the right time. Signed-off-by: Oldřich Jedlička <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8a71c1 - Browse repository at this point
Copy the full SHA d8a71c1View commit details -
Support printing the null pin configuration
This is useful during testing. Signed-off-by: Oldřich Jedlička <oldium.pro.gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 76f719e - Browse repository at this point
Copy the full SHA 76f719eView commit details -
Added encrypt and decrypt support for TPM 1.2 as tpm1 pin
Signed-off-by: Oldřich Jedlička <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec4aede - Browse repository at this point
Copy the full SHA ec4aedeView commit details -
Signed-off-by: Oldřich Jedlička <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29bede3 - Browse repository at this point
Copy the full SHA 29bede3View commit details -
Signed-off-by: Oldřich Jedlička <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ecbb4dd - Browse repository at this point
Copy the full SHA ecbb4ddView commit details -
Ensure TCSD is started before Clevis for tpm1 pin functionality
This is a weak requirement, so when TCSD is missing, it does not influence the Clevis askpass service startup. Similarly if the TCSD startup fails, it does not affect the Clevis askpass service startup. Signed-off-by: Oldřich Jedlička <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5fa3dd2 - Browse repository at this point
Copy the full SHA 5fa3dd2View commit details -
Added TPM 1.2 support for initramfs-tools
Signed-off-by: Oldřich Jedlička <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c83ec45 - Browse repository at this point
Copy the full SHA c83ec45View commit details -
Added TPM 1.2 support for Dracut
Signed-off-by: Oldřich Jedlička <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b96e490 - Browse repository at this point
Copy the full SHA b96e490View commit details -
Mention TPM 1.2 support in README
Signed-off-by: Oldřich Jedlička <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 20bdb2f - Browse repository at this point
Copy the full SHA 20bdb2fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v21...v21_tpm1