News for hackers. Stuff that matters.
Re:But why can't I send people their passwords? by stonemetal on Wednesday June 25, 2014 @11:59AM (#7944757)
Have fun running bcrypt on 100TB of /dev/urandom. Insanely large password limit? Sure sounds like good business to me. No password length limit? Sounds like a DOS attack waiting to happen.
Re:But why can't I send people their passwords? by omervk on Wednesday June 25, 2014 @12:33PM (#7945032)
What would you suggest as a sane upper bound?
Re:But why can't I send people their passwords? by stonemetal on Wednesday June 25, 2014 @01:53PM (#7945616)
No idea, especially as pass phrases have become more popular the max length of a password that you might see in the wild has gone up quite a bit. Lets say someone is willing to type for 1 min to login to a site. According to Google the fastest typing speed recorded is 216 words per min. According to the words per min Wikipedia entry a "word"(They give examples of "I run" counts as one word, but "rhinoceros" counts as 2) is 5 characters long so that gives us a max password length of 1080 characters. According to wikipedia War and Peace is just shy of 600 thousand words long or approximately 3 million characters.

Therefore 1000 is a good minimum max length but 3 million is way to long.

Re:But why can't I send people their passwords? by masklinn on Wednesday June 25, 2014 @02:22PM (#7945810)
You're probably good with 1k FWIW Django added a 4k limit (4096 bytes) last September: https://www.djangoproject.com/weblog/2013/sep/15/security/
Re:But why can't I send people their passwords? by TallGuyShort on Wednesday June 25, 2014 @02:00PM (#7945653)
const int PW_MAX = strlen("correct horse battery staple")