docs(luks): add an example using keyFile options

This commit is contained in:
rogarb 2023-07-23 22:07:39 +02:00
parent 7b186e0f81
commit 66b762d3ac
No known key found for this signature in database

View file

@ -58,7 +58,11 @@
content = {
type = "luks";
name = "crypted2";
settings.keyFile = "/tmp/secret.key";
settings = {
keyFile = "/tmp/secret.key";
keyFileSize = 8;
keyFileOffset = 2;
};
extraFormatArgs = [
"--iter-time 1" # unsecure but fast for tests
];