public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [PATCH v7 0/4] initramfs-crypt-hook patch
@ 2025-06-16  9:30 Claudius Heine
  2025-06-16  9:30 ` [PATCH v7 1/4] initramfs-crypt-hook: store initial encryption key in TPM2 Claudius Heine
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Claudius Heine @ 2025-06-16  9:30 UTC (permalink / raw)
  To: cip-dev
  Cc: Jan Kiszka, Quirin Gylstorff, Heinisch Alexander, Cetin Gokhan,
	Claudius Heine

Hi,

here is v7 of my patchset.

I readded `tpm2_createpolicy` for clevis.

Kind regards,
Claudius

---
Changes in v7:
- readded tpm2_createpolicy for clevis
- Link to v6: https://lore.kernel.org/r/20250320-initramfs-crypt-hook-patches-2-v6-0-ef10c11cad94@denx.de

Changes in v6:
- luks formatting of format-if-empty will now be redone when if it is a
  luks partition without a TPM2 token, this makes it a bit more
  power-fail save
- Link to v5: https://lore.kernel.org/r/20250313-initramfs-crypt-hook-patches-2-v5-0-fc62d4a2ad29@denx.de

Changes in v5:
- Switch to use TPM2 protected password instead of static initial
  password for encryption
- Link to v4: https://lore.kernel.org/r/20250305-initramfs-crypt-hook-patches-2-v4-0-4170912e5261@denx.de

Changes in v4:
 - improve documentation and commit messages
 - reorder commits, to put re-encryption recovery up front
 - extract static temporary encryption key patch into its own
 - switch from lsblk to blkid

Changes in v3:
 - Rebase on current next
 - Extended `noencrypt` documentation
 - support clevis tokens for re-encryption recovery

Changes in v2:
 - Added more descriptive commit message
 - Added more descriptive documentation about noencrypt option
 - Fixed typos in documentation
 - removed unnecessary setting of /conf/param.conf in initramfs-crypt-hook
 - added re-encryption recovery patch

---
Claudius Heine (4):
      initramfs-crypt-hook: store initial encryption key in TPM2
      initramfs-crypt-hook: add re-encryption recovery
      initramfs-crypt-hook: implement 'noencrypt' option
      initramfs-crypt-hook: add 'format-if-empty' feature

 doc/README.tpm2.encryption.md                      |  25 +++-
 .../initramfs-crypt-hook/files/local-top-complete  | 127 +++++++++++++++++++--
 .../initramfs-crypt-hook_0.7.bb                    |  13 ++-
 3 files changed, 147 insertions(+), 18 deletions(-)
---
base-commit: 8f93ab805738001fc33dd1f918c6e7f73a90e744
change-id: 20250305-initramfs-crypt-hook-patches-2-9cc4a027c89a

Best regards,
-- 
Claudius Heine <ch@denx.de>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-06-26  9:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-16  9:30 [PATCH v7 0/4] initramfs-crypt-hook patch Claudius Heine
2025-06-16  9:30 ` [PATCH v7 1/4] initramfs-crypt-hook: store initial encryption key in TPM2 Claudius Heine
2025-06-16 10:06   ` Jan Kiszka
2025-06-26  9:09     ` Claudius Heine
2025-06-16  9:30 ` [PATCH v7 2/4] initramfs-crypt-hook: add re-encryption recovery Claudius Heine
2025-06-16  9:30 ` [PATCH v7 3/4] initramfs-crypt-hook: implement 'noencrypt' option Claudius Heine
2025-06-16  9:30 ` [PATCH v7 4/4] initramfs-crypt-hook: add 'format-if-empty' feature Claudius Heine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox