Nun, deine Form wäre ok bei luksOpen, also bei
existierenden Keys. Bei neuen
Keys (luksFormat, luksAddKeys ersetzt die Datei quasi stdin, also die Eingabe per
Tastatur)
Die man page sagt das IMHO sehr deutlich:
--key-file, -d
use file as key material. With LUKS, key material supplied in key files via -d are always
used for existing passphrases. If you want to set a new key via a key file, you have to use a
positional arg to luksFormat or luksAddKey. If the key file is "-", stdin will be used.
Ablageort: genau so wie du es sagst