[dm-crypt] Reading the passphrase from a key-file

Volker Dormeyer <[email protected]> Fri, 14 May 2021 13:51:22 +0200
Newsgroups de.saout.dm-crypt
Message-ID <[email protected]>
Hello,

today I have another question regading the key-file option. I am 
scripting something where the passphare is given by STDIN, with the 
following options:

cryptsetup luksOpen /dev/sde hdd --header header.img --key-file -

If I enter this line on a command line it prompts me with "Enter 
passphrase for /dev/sde", I was suspecting nothing. How can I make sure 
that the passphrase is being read form STDIN?

ThankĀ  You!

Best Regards,
Volker



_______________________________________________
dm-crypt mailing list -- [email protected]
To unsubscribe send an email to [email protected]