DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Boot Prompt Text
Date: Tue, 18 Feb 2014 18:48:21 +0100	[thread overview]
Message-ID: <20140218174821.GA16597@tansi.org> (raw)
In-Reply-To: <53038DEF.8020308@gmail.com>

On Tue, Feb 18, 2014 at 17:44:31 CET, Milan Broz wrote:
> On 02/18/2014 05:21 PM, Arno Wagner wrote:
> > On Tue, Feb 18, 2014 at 12:33:49 CET, Richard Z wrote:
> >> On Mon, Feb 17, 2014 at 06:57:25PM +0100, Arno Wagner wrote:
> 
> >> seems there are other ways to do it because on my Fedora 19 with 
> >> out of the box encrypted hard disk I do not see any prompt - just 
> >> an entry box without any text where I can type the password.
> > 
> > Interesting. Can you find out what the difference is?
> > The OP might want to know.
> 
> BTW Fedora used plymouth (graphical and text boot frontend)
> for password prompt, then it pushed password to cryptsetup directly.

Interesting.
 
> Recent versions use systemd, password prompt depends
> on configuration (I think it can be still still plymouth) but unlocking
> of disk is done by systemd itself (resp. system-cryptsetup
> generator parsing /etc/crypttab translating it to separate systemd units).
> 
> Unlocking uses libcryptsetup only.
> IIRC in Fedora boot process there is no cryptsetup binary used at all.

While I do not like that they do it, I think this is the right 
way to do it from c code. Of course it places all responsibility 
for the user interface on them.
 
> I would suggest to ask on systemd or Fedora devel list if you want
> to change prompt then.

Probably the best first approach.

Arno
-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno@wagner.name
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -  Plato

  reply	other threads:[~2014-02-18 17:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-17 11:28 [dm-crypt] Boot Prompt Text Andrew Dunn
2014-02-17 13:04 ` Arno Wagner
2014-02-17 13:19   ` Thomas Bächler
2014-02-17 14:39     ` Arno Wagner
2014-02-17 15:02       ` Thomas Bächler
2014-02-17 15:18         ` Sven Eschenberg
2014-02-17 15:28           ` Thomas Bächler
2014-02-17 15:36             ` .. ink ..
2014-02-17 15:38             ` Arno Wagner
2014-02-17 15:40             ` Sven Eschenberg
2014-02-17 15:27         ` Arno Wagner
2014-02-17 17:57       ` Arno Wagner
2014-02-17 18:58         ` Dave Reisner
2014-02-17 20:09           ` Arno Wagner
2014-02-18 11:33         ` Richard Z
2014-02-18 16:21           ` Arno Wagner
2014-02-18 16:44             ` Milan Broz
2014-02-18 17:48               ` Arno Wagner [this message]
2014-02-18 16:34           ` Thomas Bächler

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=20140218174821.GA16597@tansi.org \
    --to=arno@wagner.name \
    --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