[dm-crypt] Boot Prompt Text

Arno Wagner arno at wagner.name
Tue Feb 18 18:48:21 CET 2014


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 at 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


More information about the dm-crypt mailing list