DM-Crypt Archive mirror
 help / color / mirror / Atom feed
From: Volker Dormeyer <vd@d7informatics.de>
To: dm-crypt@saout.de
Subject: [dm-crypt] Reading the passphrase from a key-file
Date: Fri, 14 May 2021 13:51:22 +0200	[thread overview]
Message-ID: <bf22ed9b-280c-57ca-ee29-af6c72f4a542@d7informatics.de> (raw)

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 -- dm-crypt@saout.de
To unsubscribe send an email to dm-crypt-leave@saout.de

             reply	other threads:[~2021-05-14 11:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 11:51 Volker Dormeyer [this message]
2021-05-14 13:41 ` [dm-crypt] Re: Reading the passphrase from a key-file Milan Broz
2021-05-14 13:53   ` Arno Wagner
2021-05-14 14:12   ` Christoph Anton Mitterer
2021-05-14 15:22   ` Clemens Fruhwirth
2021-05-14 15:50     ` Milan Broz
2021-05-14 18:10       ` Clemens Fruhwirth
2021-05-14 20:43         ` Milan Broz
2021-05-15  7:08           ` Clemens Fruhwirth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bf22ed9b-280c-57ca-ee29-af6c72f4a542@d7informatics.de \
    --to=vd@d7informatics.de \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).