fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.33k stars 306 forks source link

feature request: to not showing asterisk at all #642

Closed xnuk closed 2 months ago

xnuk commented 2 months ago

Same request was #282 (which was rejected). I hope something like bash -c 'read -s -p "Password: " password', which does not move cursor and does not show asterisk at all.

We don't need a specific option to achieve this, simply replace the asterisk character by a space in the config

Since Zig rewrite (1.0.0), asterisk = cannot set to a space character. Because, well, INI format, you know.

but I mean, space is visible by cursor movement to the right, so that it is not too hard to guess the length of the password.

Cursor still moves both 1.0 and 0.x.

AnErrupTion commented 2 months ago

@xnuk This is a duplicate of issue #637.