5 ms·
Even worse, when on top of all these they add an arbitrary length requirement: It can't be less than 8 letters OR more than 12. :|
by piyush_soni 3y ago
Even worse, when on top of all these they add an arbitrary length requirement: It can't be less than 8 letters OR more than 12. :|
- oneeyedpigeon 3y ago"look, just tell me what you want my password to goddam be, and I'll go with that!"
- dwighttk 3y ago“Sure but you can’t copy it out”
- tracker1 3y agoThat one irks me too... When I built an auth/rbac app previously I did make Max length configurable and it would display a night if set. I set a hidden hard limit to 1k only to reduce attack surfaces that would only display and error if exceeded. Default was a min-length of 15 as the only requirement with the default hint of "try using a short sentence" I also had optional use of zxcvbn and haveibeenpwned checks during new passphrase creation. I really wanted to open source the application but couldn't get approval to do so. It was a pretty nice little simple auth application that issued RSA signed JWT to configured applications. It was interested into a few internal apps as well as for clients that didn't have something like azure ad, okta, etc. where we wrote bridge apps for auth. If I had my configuration doc, I'd probably recreate it exactly, but with a Rust backend with HTMX instead of C#+react. The date store used SQLite as a KV store, with simple methods for access that allowed an exception later for the values. Also wrote support for PostgreSQL and MS-SQL so they could be used where available. Spent a lot of time on same defaults, hashing and encryption along with required configuration options for a few clients. Aside: more devs really need to better understand public/private key generation and usage... Like not using the same keys for different environments.
- rmetzler 3y agoDon’t worry, all of this is necessary because the passwords are stored in plain text in the database.
- cdr 3y agoEven worse, some will simply arbitrarily silently truncate the password. But not everywhere! The sign up page might silently truncate and then the actual login page might not.
- piyush_soni 3y agoWow. That would be a wonderful game of treasure hunt. Fortunately I've not come across that so far :D
- _0ffh 3y agoWhat happened to me once is that a long-time password of mine got truncated as the website lowered it's maximum password length, and the login page didn't truncate, so my full correct password suddenly stopped working. The pain.
- erhaetherth 3y agoPretty sure Microsoft did this at some point. Maybe for Hotmail.
- anshorei 3y agoEven worse, when the password has an arbitrary length requirement of 20, but the site doesn't tell you and just cuts of any trailing characters exceeding the requirement during account creation. You have no idea how long it took me to figure that one out.
- tomsmeding 3y agoThat sounds suspiciously like a VARCHAR(20) somewhere...
- thedanbob 3y agoSlightly easier to figure out but no less annoying is when the maxLength attributes on the password fields for the two forms (create account and login) are different.
- lapcat 3y agoSeveral comments mention passwords getting silently truncated by input maxlength. FWIW my extension provides a visible warning when this occurs: https://underpassapp.com/StopTheMadness/ https://underpassapp.com/StopTheMadness/
- a_vanderbilt 3y agoI love this extension so much. Nothing satisfies me more than forcing stupid websites into cooperation.
- encom 3y agoProprietary, mac only, app store-ware. More madness.
- lapcat 3y ago> mac only Also iOS.
- 0x0203 3y agoThis all reminds me of the password game: https://neal.fun/password-game/ https://neal.fun/password-game/ I'd call it amusing if it weren't so often real. For a more entertaining take, I really enjoy this use of it against scammers and thieves: https://www.youtube.com/watch?v=knhQ2f8anT8 https://www.youtube.com/watch?v=knhQ2f8anT8