Skip to content

Commit 807c1c6

Browse files
committed
add example for a plain keyfile
Signed-off-by: Zen <[email protected]>
1 parent e350862 commit 807c1c6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

examples/gpg_keyfile.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This is an example configuration for using a GPG protected keyfile on external storage.
2+
3+
modules = [
4+
"ugrd.kmod.usb",
5+
"ugrd.kmod.standard_mask",
6+
"ugrd.crypto.gpg",
7+
]
8+
9+
# This is necessary if the keyfile is on another device.
10+
# The keyfile could be added as a dependency if it's on the same device.
11+
[mounts.boot]
12+
type = "vfat"
13+
uuid = "4886-A631"
14+
15+
# Information about the LUKS volume
16+
[cryptsetup.root]
17+
key_type = "gpg"
18+
key_file = "/boot/rootfs.luks.gpg"

0 commit comments

Comments
 (0)