Skip to content

Commit 19f8b9f

Browse files
committed
update the example key file command to pipe the output directly into
cryptsetup Signed-off-by: Zen <[email protected]>
1 parent 3424a07 commit 19f8b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ugrd/crypto/cryptsetup.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cryptsetup_autoretry = true
2222
"ugrd.crypto.cryptsetup" = [ "crypt_init" ]
2323

2424
[cryptsetup_key_types.keyfile]
25-
key_command = "cat {key_file} >"
25+
key_command = "cat {key_file} |"
2626

2727
[custom_parameters]
2828
cryptsetup_key_type = "str" # The default key type to use for unlocking devices

0 commit comments

Comments
 (0)