If we know the password's length, it saves us from guessing any shorter passwords. For example, for a numeric password, knowing the length is 4 saves us from having to guess [blank], 0-9, 00-99 and 000-999. This lowers the number of possibilities from 1111 to 1000. The password has 90% of it's original strength. A [0-9a-zA-Z] password retains 98% of it's original strength
Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
191–200 of 421 posts
Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
#192Earlier quoted context omitted.
Purpose: > That way you can be certain whether or not you entered a character
It's surprising to see an OS, dominant as a sever platform, now optimizing catering to people who are unsure whether they've pressed a button on their keyboard. What's next, replacing asterisks with a progress bar?
You can no longer filter out power users of computers based on their choice of OS alone. :D
Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
#193They could have just made it an option to enable the new behavior. There was no need to change the default. As for security: 'shoulder surfing' may not be as much of a concern, but watching a livestream or presentation of someone who uses sudo will now expose the password length over the internet (and it's recorded for posterity, so all the hackers can find it later!). They've just introduced a new vulnerability to t…
Besides, I can just amplify their stream to hear their keypresses.
Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
#194Earlier quoted context omitted.
And just sticking to counting, a not exceptionally well-trained ear could already count how many letters you typed and if you pressed backspace (at least with the double-width backspace, sound is definitely different)
Yeah I recall that there was an attack researchers demonstrated years back of using recordings of typing with an AI model to predict the typed text with some accuracy. Something to do with the timings of letter pairings, among other things.
> When trained on keystrokes recorded by a nearby phone, the classifier achieved an accuracy of 95%, the highest accuracy seen without the use of a language model. When trained on keystrokes recorded using the video-conferencing software Zoom, an accuracy of 93% was achieved, a new best for the medium.
Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
#195This fixes another issue with that if you make a typo in your password, you don't know how many characters you need to delete, but now you would.
I find it's usually faster to hit ctrl-u and start over anyway.
I know sudo-rs will likely not allow viewing the password in the short term, but the benefit to being able to have some visual feedback, is that it lets me use a more complex password.
Other example: if I'm on a ssh link with very high latency (ex: on a phone), I might type one character at the time, make sure they register correctly, and continue. If I can't do that, then I'll type the password in a text editor, then copy-paste it into the password prompt.
Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
#196I kind of hate typing in my password all the time. Is there a way to sacrifice some security and do something like... ask for my password but automatically input it if my phone is detected via Bluetooth? (not connected, just detected). I don't really want to just disable passwords. I recall that causing technical pains. And this is a desktop PC in my home office and I'm just generally okay with the associated securit…
Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
#197If it is a new tool, why not call it something else than sudo? The expectation with sudo is silent passwords.
Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
#198If it is a new tool, why not call it something else than sudo? The expectation with sudo is silent passwords.
Because if you name it something different it's harder to do the "extinguish" step of "embrace, extend, extinguish".
Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
#199They could have just made it an option to enable the new behavior. There was no need to change the default. As for security: 'shoulder surfing' may not be as much of a concern, but watching a livestream or presentation of someone who uses sudo will now expose the password length over the internet (and it's recorded for posterity, so all the hackers can find it later!). They've just introduced a new vulnerability to t…
Also, I think the vulnerability of knowing that someone's password is exactly 19 characters long is low enough to be worth the tradeoff. Especially since someone on a livestream can also figure that out by listening for the keypresses.
Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
#200I don’t know why this keeps coming up. Has this been a big deal for everyone else? Like ok usability improvement, but the number of times I have read an article about this is silly.