by godinaa · 8y ago · 0 comments
Edit: The app is quiting when I try to scroll through Ars Technica in List view.
Edit: Its fixed now. Increased to 128
Why it doesn't first hash the password so it's `1000000 + len(hash) * 2^16` is beyond me, and something a crypto expert will have to answer.
In practice this means that setting an arbitrarily high limit on password size would open you up to a DOS attack via (effectively) quadratic time password hashing.
5.1.1.2: "Verifiers SHALL require subscriber-chosen memorized secrets to be at least 8 characters in length. Verifiers SHOULD permit subscriber-chosen memorized secrets at least 64 characters in length." [1]
[1] https://pages.nist.gov/800-63-3/sp800-63b.html or https://doi.org/10.6028/NIST.SP.800-63b
I generally use 128-char passwords by default, and only use shorter ones when a service requires it.
https://www.owasp.org/index.php/Authentication_Cheat_Sheet#P...