News for hackers. Stuff that matters.
Re:Ask HN: Why is PayPal's password length limit still a thing? by eyeball on Monday March 19, 2018 @01:15PM (#16620324)
I also enjoy sites that prevent pasting into password fields. Makes using a password manager a pita.
Re:Ask HN: Why is PayPal's password length limit still a thing? by kileywm on Monday March 19, 2018 @01:23PM (#16620469)
I feel the same way. A bandaid for the situation: you can use browser extensions/add-ons to restore paste functionality on these web pages. For example, I use this one:

https://github.com/aaronraimist/DontFuckWithPaste

Re:Ask HN: Why is PayPal's password length limit still a thing? by ExactoKnight on Monday March 19, 2018 @07:27PM (#16624391)
I had an idea for Firefox, which is to restrict copy/paste overriding completely from the DOM.

This would put a stop to Google's BS of overriding normal links top google-analytics-full redirect urls.

Re:Ask HN: Why is PayPal's password length limit still a thing? by CraftThatBlock on Tuesday March 20, 2018 @02:43AM (#16626421)
You can disable this API in about:config fully and natively.
Re:Ask HN: Why is PayPal's password length limit still a thing? by guitarbill on Tuesday March 20, 2018 @04:34AM (#16626825)
To save people some time, it's `dom.event.clipboardevents.enabled` in about:config.
Re:Ask HN: Why is PayPal's password length limit still a thing? by peeters on Monday March 19, 2018 @01:48PM (#16620882)
Also their cousin; those that allow programmatic entry/pasting, but then detect whether the user has provided a value based on keystroke listeners rather than current field value. So you still need to hit space+backspace in the field to let the client JS know you've entered something.
Re:Ask HN: Why is PayPal's password length limit still a thing? by sowbug on Monday March 19, 2018 @06:14PM (#16623748)
The scary cousin of this antipattern: the login form that browsers' built-in password managers can't see. Building the DOM using pathologically dynamic methods, using nonstandard input fields, giving the username/password fields ridiculous names, etc.

This tells me that the developers don't use password managers themselves, which means they probably use hunter2 for all their passwords, which means they don't know or care about conscientious security practices... not the folks I want to have built the site I'm about to use.

Re:Ask HN: Why is PayPal's password length limit still a thing? by jim_d on Tuesday March 20, 2018 @10:07AM (#16628635)
Agreed, I always double check that the browser password manager works, but it's tricky because there is no standard around what the fields should be called to make it always work. The best way to make sure it works is to put the username directly above the password in the same form, that will result in most password managers working, and this is especially important on registration forms.

Also for those that don't know why hunter2 was used above, enjoy! http://i0.kym-cdn.com/photos/images/original/001/065/965/989...

Re:Ask HN: Why is PayPal's password length limit still a thing? by matt_wulfeck on Monday March 19, 2018 @01:24PM (#16620484)
I can’t believe this is a thing. It makes me rage every time. I have to go into dev tools and just insert the value myself.
Re:Ask HN: Why is PayPal's password length limit still a thing? by Bokagha on Monday March 19, 2018 @02:27PM (#16621476)
On macOS I use https://github.com/EugeneDae/Force-Paste to get around this. It uses virtual keyboard to type in the text from your clipboard. Also helpful for using the password in programs that don't allow paste.
Re:Ask HN: Why is PayPal's password length limit still a thing? by exalsy on Monday March 19, 2018 @01:30PM (#16620581)
The GNOME DE does this as well. Whenever I have a fresh Linux install and I try to enter the passwords in the "Online Accounts" section I'm reminded of it... so frustrating.
Re:Ask HN: Why is PayPal's password length limit still a thing? by na85 on Monday March 19, 2018 @05:27PM (#16623353)
Yet another reason not to use Gnome. They seem to have decided to make the DE as unusable and obtuse as possible.
Re:Ask HN: Why is PayPal's password length limit still a thing? by rasz on Monday March 19, 2018 @07:00PM (#16624147)
document.getElementById("password").value = "myvoiceismypassword";

var event = new Event('change');

document.getElementById("password").dispatchEvent(event);

done

Re:Ask HN: Why is PayPal's password length limit still a thing? by askvictor on Monday March 19, 2018 @10:33PM (#16625544)
My general solution here is, if I can possibly avoid it, to not use that site/service.
Re:Ask HN: Why is PayPal's password length limit still a thing? by shmerl on Monday March 19, 2018 @01:27PM (#16620543)
Some password managers (like keepassxc) can emulate keyboard input.
Re:Ask HN: Why is PayPal's password length limit still a thing? by larkeith on Monday March 19, 2018 @02:18PM (#16621368)
Generally speaking, that's one of the best ways to get me to not use your site - It's both inconvenient and shows your security team to be incompetent.
Re:Ask HN: Why is PayPal's password length limit still a thing? by oasisbob on Monday March 19, 2018 @01:39PM (#16620737)
Is this restriction more common in certain countries?

In the US, I've fortunately never seen paste blocked on a login page. Wondering why.

Re:Ask HN: Why is PayPal's password length limit still a thing? by adrr on Monday March 19, 2018 @06:00PM (#16623636)
Its common in the US, i see it every couple weeks. It effected me last night on the Costco Travel site when creating an account. It let me paste the password but not the confirm password field.
Re:Ask HN: Why is PayPal's password length limit still a thing? by colejohnson66 on Monday March 19, 2018 @10:21PM (#16625491)
I’ve seen it when entering in my bank’s routing and account number. Like, seriously? I’m less likely to type a digit incorrectly if I copy and paste...
Re:Ask HN: Why is PayPal's password length limit still a thing? by raverbashing on Monday March 19, 2018 @01:24PM (#16620485)
It's like a physician recommending the USDA food pyramid (the one filled with HFCS)