-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
Hello, containerd-2.0 does not have /dev/stdin
device in container.
scaleway-csi/pkg/driver/luks_utils.go
Line 26 in da008b4
"--key-file", "/dev/stdin", // read the passphrase from stdin |
This simple changes fix it
args := []string{
"-q", // don't ask for confirmation
"luksFormat", // format
"--hash", defaultLuksHash, // hash algorithm
"--cipher", defaultLuksCipher, // the cipher used
"--key-size", defaultLuksKeyize, // the size of the encryption key
devicePath, // device to encrypt
"--key-file=-" // read the passphrase from stdin
}
need to replace from "--key-file", "/dev/stdin"
to --key-file=-
everywhere
Thanks
Metadata
Metadata
Assignees
Labels
No labels