You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Lam 512f6de6de
feat: allow passwords with length > 73 characters (#8818)
* feat: allow passwords longer than 73 characters

Context: A bcrypt/blowfish limitation means that password length is capped at 72 characters. We can get around this without compromising on security
by hashing all incoming passwords with SHA512, and then sending that to bcrypt.

https://dropbox.tech/security/how-dropbox-securely-stores-your-passwords

* feat: add additional test for passwords > 73 chars

* fix: remove 'password-too-long' error message and all invocations

* test: added test to show that a super long password won't bring down NodeBB

* fix: remove debug log

* Revert "fix: remove 'password-too-long' error message and all invocations"

This reverts commit 1e312bf7ef7e119fa0f1bd3517d756ca013d5e79.

* fix: added back password length checks, but at 512 chars

As processing a large string still uses a lot of memory
5 years ago
..
jobs feat: move export functions into child processes 5 years ago
admin.js refactor: getUsersCSV to use batch lib 5 years ago
approval.js refactor: async/await src/user/approval 5 years ago
auth.js performance improvements (#8795) 5 years ago
bans.js feat: added PUT/DELETE /api/v1/users/:uid/ban routes 5 years ago
blocks.js refactor: simpler check in user.blocks.filter 5 years ago
categories.js feat: #7964, change all categories at once 6 years ago
create.js feat: allow passwords with length > 73 characters (#8818) 5 years ago
data.js performance improvements (#8795) 5 years ago
delete.js Admin/users (#8762) 5 years ago
digest.js feat: #6594, add top/popular sections to digest email (#8709) 5 years ago
email.js Admin/users (#8762) 5 years ago
follow.js fix: follower count going out of sync with real follower count 5 years ago
index.js feat: remove administrator property from public routes 5 years ago
info.js refactor: expose new method for appending moderation note 5 years ago
invite.js don't invite an already invited email (#8688) 5 years ago
jobs.js feat: #7743 6 years ago
notifications.js feat: display stack trace on winston.error 5 years ago
online.js fix: add missing await 5 years ago
password.js feat: allow passwords with length > 73 characters (#8818) 5 years ago
picture.js feat: add missing name to profile image upload 5 years ago
posts.js Admin/users (#8762) 5 years ago
profile.js feat: allow passwords with length > 73 characters (#8818) 5 years ago
reset.js feat: allow passwords with length > 73 characters (#8818) 5 years ago
search.js Admin/users (#8762) 5 years ago
settings.js fix: remove setCategorySort and setTopicSort 5 years ago
topics.js feat: #7743, finish user module 6 years ago
uploads.js fix: delete upload 5 years ago