News for hackers. Stuff that matters.
Re:When it comes to composition and length, passwords mostly... by neotek on Thursday July 11, 2019 @09:44PM (#20417426)
My old bank used to "encrypt" your password as you typed it into the input field, on keydown it would take the character you typed and — and I'm not making this up — ROT13 it. This had the effect of making it impossible to paste anything into the input field since the script would capture your ctrl+v and replace it with the letter "i".

The icing on the cake is that when I called to complain about it, the support agent insisted in very sombre tones that it was a measure to stop keyloggers. I don't use that bank any more.

Re:When it comes to composition and length, passwords mostly... by gruez on Thursday July 11, 2019 @10:44PM (#20417672)
>since the script would capture your ctrl+v and replace it with the letter "i".

not an issue on firefox because you can toggle the dom.event.clipboardevents.enabled to false, and sites won't be able to hijack your pastes.

Re:When it comes to composition and length, passwords mostly... by neotek on Thursday July 11, 2019 @11:21PM (#20417838)
The only problem with that is that the stupid ROT13 step wouldn't be performed so the site would reject your login attempt anyway. It was one of the dumbest design decisions I've ever seen, honestly.
Re:When it comes to composition and length, passwords mostly... by Zancarius on Friday July 12, 2019 @12:23AM (#20418136)
I'm guessing the solution would've then been to 1) disable the update event and 2) paste the ROT13'd password, either into the browser or into the input field value via the inspector.

Like you, whenever I run into sites that do weird things like that, I always find it hard to shake a bit of suspicion about how their backend is implemented (or not, depending on the case). For instance, when they start rejecting characters like "%" or "'" which have special meaning in SQL. I can't help but wonder if they're storing things in plain text.

I've run into at least two vendors I can think off the top of my head that limit what characters you can use for a password. That always makes me uneasy, and I don't buy anything from them on principle. Who knows what else they're doing that's not immediately obvious.

Re:When it comes to composition and length, passwords mostly... by adjkant on Thursday July 11, 2019 @11:17PM (#20417808)
My guess is if you did that and pasted "password" you would get "passworq" and then your password would be wrong according to their "encryption" method.
Re:When it comes to composition and length, passwords mostly... by mNovak on Friday July 12, 2019 @12:09AM (#20418060)
This reminds me of the time I was trying to explain to the Verizon store rep why I was concerned that my SIM suddenly went offline, and they told me "Oh hun, nobody steals a phone number!"
Re:When it comes to composition and length, passwords mostly... by shalmanese on Friday July 12, 2019 @12:42AM (#20418231)
Wouldn’t the solution be to just ctrl + i your password?