[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LUKS password gets printed as stars



On Wed, 20 Dec 2017, root kea wrote:
> I want *default* password agent to be consistent with traditional *Nix
> password handling. And that is echoing NOTHING at all.

You can just recompile systemd-ask-password and set ASK_PASSWORD_SILENT
true. This probably should be a command-line option, though. I suspect
that a bug report with a patch will be well received.

> I am amazed that at times I had to defend not wanting stars(*) getting
> echoed on terminal on *Linux* box. That should have been other way
> around. That is the onus to defend should be on the one who wants
> stars(*) being echoed on Terminal.

The default is this way because it's less surprising to users who aren't
used to this style of password prompt. I personally prefer the other way
around, but that's because I already know what is going on and can
change it if I care.

-- 
Don Armstrong                      https://www.donarmstrong.com

Whatever you do will be insignificant, but it is very important that
you do it.
 -- Mohandas Karamchand Gandhi


Reply to: