]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Add note on Encrypt=yes to Passphrase= docs
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 12 Sep 2025 07:05:21 +0000 (09:05 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 12 Sep 2025 08:26:38 +0000 (10:26 +0200)
Fixes #3886

mkosi/resources/man/mkosi.1.md

index 84cfae16d287e5495f4b056eddd0ad90c215613f..9303f6cde2cc4f576775720e38cbe79bd0c913af 100644 (file)
@@ -1350,6 +1350,11 @@ boolean argument: either `1`, `yes`, or `true` to enable, or `0`, `no`,
     `/etc/crypttab` expect the passphrase files). The file must have an
     access mode of 0600 or less.
 
+    Note that this setting on its own does not enable any encryption.
+    You also have to add one or more partition definition files to
+    `mkosi.repart/` with `Encrypt=key-file` to add encrypted partitions
+    to the image.
+
 `Checksum=`, `--checksum=`
 :   Generate a `<output>.SHA256SUMS` file of all generated artifacts
     after the build is complete.