From: Quirin Gylstorff <Quirin.Gylstorff@siemens.com>
To: cip-dev@lists.cip-project.org, christian.storm@siemens.com,
jan.kiszka@siemens.com
Subject: [cip-dev][isar-cip-core][PATCH v4 2/7] KConfig: add tpm option
Date: Mon, 6 Mar 2023 13:39:21 +0100 [thread overview]
Message-ID: <20230306123926.243471-3-Quirin.Gylstorff@siemens.com> (raw)
In-Reply-To: <20230306123926.243471-1-Quirin.Gylstorff@siemens.com>
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
Kconfig | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Kconfig b/Kconfig
index 7d72094..7ce87d0 100644
--- a/Kconfig
+++ b/Kconfig
@@ -193,4 +193,15 @@ config KAS_INCLUDE_SWUPDATE_SECBOOT
default "kas/opt/ebg-swu.yml" if IMAGE_SWUPDATE && !IMAGE_SECURE_BOOT
default "kas/opt/ebg-secure-boot-snakeoil.yml" if IMAGE_SECURE_BOOT
+config IMAGE_TPM2_ENCRYPTION
+ bool "Encrypt partitions on first boot with TPM2 (Demo)"
+ depends on TARGET_QEMU_AMD64
+ help
+ This enables TPM2 encryption for the partition given in the variable
+ CRYPT_PARTITIONS from recipes-initramfs/initramfs-crypt-hook.
+
+config KAS_INCLUDE_TPM2_ENCRYPTION
+ string
+ default "kas/opt/tpm.yml" if IMAGE_TPM2_ENCRYPTION
+
endif
--
2.39.2
next prev parent reply other threads:[~2023-03-06 12:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 12:39 [cip-dev][isar-cip-core][PATCH v4 0/7] Encrypt Partition in initramfs Quirin Gylstorff
2023-03-06 12:39 ` [cip-dev][isar-cip-core][PATCH v4 1/7] use bullseye backports for systemd-cryptenroll Quirin Gylstorff
2023-03-06 12:39 ` Quirin Gylstorff [this message]
2023-03-06 17:27 ` [cip-dev][isar-cip-core][PATCH v4 2/7] KConfig: add tpm option Jan Kiszka
2023-03-07 18:32 ` Gylstorff Quirin
2023-03-09 7:32 ` Jan Kiszka
2023-03-06 12:39 ` [cip-dev][isar-cip-core][PATCH v4 3/7] start-qemu.sh: Create a tpm2 device Quirin Gylstorff
2023-03-06 12:39 ` [cip-dev][isar-cip-core][PATCH v4 4/7] Add initramfs hook to encrypt a partition Quirin Gylstorff
2023-03-06 12:39 ` [cip-dev][isar-cip-core][PATCH v4 5/7] overlay: add prerequisite 'encrypt_partition' Quirin Gylstorff
2023-03-06 12:39 ` [cip-dev][isar-cip-core][PATCH v4 6/7] .gitlabci: Add ci build Quirin Gylstorff
2023-03-06 12:39 ` [cip-dev][isar-cip-core][PATCH v4 7/7] Add README for encrypted partitions Quirin Gylstorff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230306123926.243471-3-Quirin.Gylstorff@siemens.com \
--to=quirin.gylstorff@siemens.com \
--cc=christian.storm@siemens.com \
--cc=cip-dev@lists.cip-project.org \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).