Debian Codegraph @

debian/initramfs/conf-hook

raw
1 #
2 # Configuration file for the cryptroot initramfs hook.
3 #
4
5 #
6 # KEYFILE_PATTERN: ...
7 #
8 # The value of this variable is interpreted as a shell pattern.
9 # Matching key files from the crypttab(5) are included in the initramfs
10 # image. The associated devices can then be unlocked without manual
11 # intervention. (For instance if /etc/crypttab lists two key files
12 # /etc/keys/{root,swap}.key, you can set KEYFILE_PATTERN="/etc/keys/*.key"
13 # to add them to the initrd.)
14 #
15 # If KEYFILE_PATTERN if null or unset (default) then no key file is
16 # copied to the initramfs image.
17 #
18 # Note that the glob(7) is not expanded for crypttab(5) entries with a
19 # 'keyscript=' option. In that case, the field is not treated as a file
20 # name but given as argument to the keyscript.
21 #
22 # WARNING:
23 # * If the initramfs image is to include private key material, you'll
24 # want to create it with a restrictive umask in order to keep
25 # non-privileged users at bay. For instance, set UMASK=0077 in
26 # /etc/initramfs-tools/initramfs.conf
27 # * If you use cryptsetup-suspend, private key material inside the
28 # initramfs will be in memory during suspend period, defeating the
29 # purpose of cryptsetup-suspend.
30 #
31
32 #KEYFILE_PATTERN=
33
34 #
35 # ASKPASS: [ y | n ]
36 #
37 # Whether to include the askpass binary to the initramfs image. askpass
38 # is required for interactive passphrase prompts, and ASKPASS=y (the
39 # default) is implied when the hook detects that same device needs to be
40 # unlocked interactively (i.e., not via keyfile nor keyscript) at
41 # initramfs stage. Setting ASKPASS=n also skips `cryptroot-unlock`
42 # inclusion as it requires the askpass executable.
43
44 #ASKPASS=y