logoalt Hacker News

zenethiantoday at 7:32 AM4 repliesview on HN

You got some sources or did you just make that up?

Because to hell with UX when it comes to security. Knowing the exact length of a password absolutely makes it significantly less secure, and knowing the timing of the keystrokes doubly so.


Replies

hrmtst93837today at 9:02 PM

This is security theater. Masking sudo input does nothing against keyloggers, shoulder-surfing, or anyone reading your terminal, and pretending password length is the deciding leak ignores the much larger attack surface around a compromised box. If password length is where your threat model gets scary you've already lost.

9devtoday at 7:39 AM

Yet somehow, none of the other high security tools I have ever interacted with seem to do this for some reason. No auditor flags it. No security standard recommends hiding it.

But SUDO is the one bastion where it is absolutely essential to not offer hiding keystrokes as an obscure config option, but enable for everyone and their mother?

show 2 replies
baqtoday at 9:37 AM

> Because to hell with UX when it comes to security.

I don’t think you have any idea how wrong you are.

plorkyerantoday at 3:07 PM

Bad security UX that results in users bypassing security mechanisms entirely is probably the single biggest source of real-world security problems.