All of lore.kernel.org
 help / color / mirror / Atom feed
* [cip-dev][isar-cip-core][PATCH 0/7] Add option to encrypt the rootfs
@ 2024-04-19  8:20 Quirin Gylstorff
  2024-04-19  8:20 ` [cip-dev][isar-cip-core][PATCH 1/7] wic/*: Add part-labels to system partition Quirin Gylstorff
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Quirin Gylstorff @ 2024-04-19  8:20 UTC (permalink / raw)
  To: johnxw, cip-dev, jan.kiszka

From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

This adds the option to encrypt both root file system partions(systema
and systemb). The encrypted partition can be updated with SWUpdate.

Currently an update will lead to a reencryption of the update partition as
the underlying device(/dev/sdaX) is written instead of the device mapper
partition.

Changes from https://lists.cip-project.org/g/cip-dev/message/15512:
 - add partition labels for a/b partitions
 - use a/b rootfs configuration instead seperate wks file


Quirin Gylstorff (7):
  wic/*: Add part-labels to system partition
  initramfs: allow empty mountpoint for crypt hooks
  fix: disk formatting
  initramfs-crypt: Only resize partition if ext* formatted
  use luks2 to identify encrypted partition
  Kconfig: Add option to encrypt the rootfs
  README: Add rootfs encryption

 Kconfig                                       | 20 ++++++++++++++--
 doc/README.tpm2.encryption.md                 | 12 +++++++++-
 kas/opt/encrypt-rootfs.yml                    | 22 +++++++++++++++++
 .../files/encrypt_partition.script            | 24 ++++++++++++++-----
 .../files/mount_crypt_partitions.script       |  4 +++-
 wic/bbb-efibootguard.wks.in                   |  4 ++--
 wic/hihope-rzg2m-efibootguard.wks.in          |  4 ++--
 wic/qemu-amd64-efibootguard-secureboot.wks.in |  4 ++--
 wic/qemu-arm64-efibootguard-secureboot.wks.in |  4 ++--
 wic/qemu-arm64-efibootguard.wks.in            |  4 ++--
 wic/qemu-riscv64-efibootguard.wks.in          |  4 ++--
 wic/x86-efibootguard.wks.in                   |  4 ++--
 12 files changed, 86 insertions(+), 24 deletions(-)
 create mode 100644 kas/opt/encrypt-rootfs.yml

-- 
2.43.0



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

end of thread, other threads:[~2024-04-19 16:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19  8:20 [cip-dev][isar-cip-core][PATCH 0/7] Add option to encrypt the rootfs Quirin Gylstorff
2024-04-19  8:20 ` [cip-dev][isar-cip-core][PATCH 1/7] wic/*: Add part-labels to system partition Quirin Gylstorff
2024-04-19 16:29   ` Jan Kiszka
2024-04-19  8:20 ` [cip-dev][isar-cip-core][PATCH 2/7] initramfs: allow empty mountpoint for crypt hooks Quirin Gylstorff
2024-04-19  8:20 ` [cip-dev][isar-cip-core][PATCH 3/7] fix: disk formatting Quirin Gylstorff
2024-04-19 16:29   ` Jan Kiszka
2024-04-19  8:20 ` [cip-dev][isar-cip-core][PATCH 4/7] initramfs-crypt: Only resize partition if ext* formatted Quirin Gylstorff
2024-04-19  8:20 ` [cip-dev][isar-cip-core][PATCH 5/7] use luks2 to identify encrypted partition Quirin Gylstorff
2024-04-19 16:29   ` Jan Kiszka
2024-04-19  8:20 ` [cip-dev][isar-cip-core][PATCH 6/7] Kconfig: Add option to encrypt the rootfs Quirin Gylstorff
2024-04-19 16:34   ` Jan Kiszka
2024-04-19  8:20 ` [cip-dev][isar-cip-core][PATCH 7/7] README: Add rootfs encryption Quirin Gylstorff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.