You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ variables have special uses:
54
54
55
55
Variable | Description
56
56
-------------------|-------------
57
-
rootfs.fstype | Root filesystem time. Defaults to "squashfs"
57
+
rootfs.fstype | Root filesystem type. Defaults to "squashfs"
58
58
rootfs.path | Root filesystem path. Defaults to "/dev/mmcblk0p2"
59
59
rootfs.encrypted | True if the filesystem is encrypted. Defaults to `false`
60
60
rootfs.cipher | The cipher used to encrypt the filesystem. For example, "aes-cbc-plain"
@@ -65,6 +65,11 @@ uboot_env.modified | True if something has modified the U-Boot block and it diff
65
65
uboot_env.start | The block offset of the U-Boot environment. (512 byte blocks)
66
66
uboot_env.count | The number of blocks in the environment. Defaults to 256.
67
67
run_repl | True to run a REPL before booting. This is useful for debug. Defaults to `false`
68
+
dm_crypt.n.path | The extra encrypted filesystem path.Where `n` is the index of the extra filesystem.
69
+
dm_crypt.n.cipher | The cipher used to encrypt the extra filesystem. Where `n` is the index of the extra filesystem.
70
+
dm_crypt.n.secret | The secret key as hex digits for the extra filesystem. Where `n` is the index of the extra filesystem.
71
+
72
+
_for more information about configuring extra encrypted filesystems see [Mounting extra encrypted filesystems](#mounting-extra-encrypted-file-systems)_
68
73
69
74
It's also possible to call built-in functions:
70
75
@@ -180,3 +185,22 @@ This is illustrative, but obviously quite insecure. The current route to
180
185
obtaining the secret key is to edit the C code to this project to integrate it
181
186
with platform-specific way of keeping or hiding secrets. It is hoped that
182
187
alternatives can be shared in the future.
188
+
189
+
### Mounting extra encrypted file systems
190
+
191
+
If you want to mount more encrypted file systems outside of the `rootfs` you
192
+
can use the `dm_crypt` variable to configure the extra filesystems. The
193
+
`dm_crypt` variable works using a number to under the `dm_crypt` variable
194
+
namespace like so: `dm_crypt.n.path`.
195
+
196
+
Here's an example configuration file with configuration two more filesystems:
0 commit comments