[systemd-devel] crypto: to show stars or not to show them

Jan Engelhardt jengelh at medozas.de
Tue Mar 29 10:17:37 PDT 2011


On Tuesday 2011-03-29 19:06, Lennart Poettering wrote:

>On Tue, 29.03.11 18:56, Jan Engelhardt (jengelh at medozas.de) wrote:
>
>> 
>> On Tuesday 2011-03-29 18:41, Lennart Poettering wrote:
>> >
>> >Ah, ok. I see. If BS is handled like this only as very first keypress
>> >(and not later on anymore) this indeed makes more sense.
>> >
>> >I have now fixed git to accept both TAB and BS as silent mode switch
>> >key. TAB at any time, and BS only if pressed as very first key on the
>> >prompt. 
>> >Everybody happy?
>> 
>> No. We don't need two keys to perform the same action. \t can go away.
>
>I think it has one big advantage: if you types something and then want
>to hide it you can use that. Think: you type your passphrase, you notice
>somebody looks over your shoulder, you press TAB and he's left in the
>dark.

You did not seem to have troubles with the stars, so why are you now 
discontent with how they are hidden? This \t thing and switching to 
noecho mode on the Nth key smells terribly like overdesign.


More information about the systemd-devel mailing list