add additionalKeyFiles option to luks

This commit is contained in:
arch authored and mergify[bot] committed 2023-07-14 08:51:17 +00:00
1 parent 68eb09b183
commit 7eb0940839
4 files changed
+10

No files matched your search

+1
View File
@@ -32,6 +32,7 @@
type = "luks";
name = "crypted1";
settings.keyFile = "/tmp/secret.key";
additionalKeyFiles = ["/tmp/additionalSecret.key"];
extraFormatArgs = [
"--iter-time 1" # unsecure but fast for tests
];
+1
View File
@@ -33,6 +33,7 @@
# if you want to use the key for interactive login be sure there is no trailing newline
# for example use `echo -n "password" > /tmp/secret.key`
settings.keyFile = "/tmp/secret.key";
additionalKeyFiles = ["/tmp/additionalSecret.key"];
content = {
type = "lvm_pv";
vg = "pool";