-
Notifications
You must be signed in to change notification settings - Fork 32
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
Investigate text encoding for passwords #186
Comments
I'm also not sure what the best practice here is but as far as preventing this error goes it seems to be a problem with the password validation. Perhaps a short term fix could be to validate the password before creating the |
You have to be careful with full Unicode passwords since you don't want to allow passwords that users won't be able to type. Unicode is full of surprises and edge cases. For now, let's stick with ASCII and if you want to go beyond that, do some research on the state-of-the-art and implement what's done elsewhere in a separate, future commit. |
Tfw no emoji passwords 😭 |
TIL https://tools.ietf.org/html/rfc8265 E: also I have someone in mind to ask about sources of how to handle Unicode correctly. |
Interesting rootspam from last night:
I assume this is from someone trying to use non-ascii character in their password. I am not sure what the best practices for this are, but we should investigate this further and see if we can avoid using the
ascii
encoding.The text was updated successfully, but these errors were encountered: