-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML: passwordrules attribute #61
Comments
Cementing this into a standard would somewhat agree with the status quo, I'm with Tab on this. I had a proposal that merely permitted a site selecting the entropy which would restrict the length and also inform the password manager how long it should be safe to store. For example most sites aren't going to want a 50mb password but also a 50 character one might be overkill for a voucher token. |
On the one hand, I think it would be very helpful to get hints for what a site wants for passwords. It helps password generators come up with something for the user faster. However, I think this proposal is moving in the wrong direction. As @jonathanKingston points out, it cements – even encourages – bad practices, without promoting good practices (e.g., minimum length). My personal opinion would be we lean toward |
I see some positives for sites with hard-to-change backends not thwarting password managers, but perhaps that's best catalogued in https://github.com/apple/password-manager-resources and not the frontend of those sites. @linuxwolf are you interested in writing a PR for this, as nobody contested your comment and the one above? |
For the most part I agree with whatwg/html#3518 (comment) from Chromium but I also have some other concerns:
Without even taking into account whatwg/html#3518 (comment) is the approach we were planning to take after supporting IMO this new attribute would be harmful if it encourages new password restrictions or if authors use it instead of |
In whatwg/html#3518 Apple engineers propose a new attribute for
<input type=password>
that'll assist password generators doing the right thing.I'm personally enthusiastic about the idea.
(There's many small incremental features like this added to WHATWG standards. It's not quite clear to me if we want an issue for each of them, but we probably do want a Mozilla position on each of them, so... Filing this one as a test.)
The text was updated successfully, but these errors were encountered: