-
Notifications
You must be signed in to change notification settings - Fork 2
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
Security checklist.. #61
Comments
From the v2 roadmap in #58 ... logs
settings
session
data validation
Error handling
Misc
|
From those, the biggest missing feature is that it doesn't support account lockout at the moment. The next biggest warning sign is forcing password changes every N days, which could imply keeping track of the previous password. But more than that, when taken with the configurable salt + iteration count, it could mean we need to keep track of when passwords were created, and the previous iteration count. |
We might need to overwrite some seneca actions from seneca-user. Right now the implementation of seneca-user is using the iteration count from seneca-user's options: https://github.com/senecajs/seneca-user/blob/master/user.js#L381 On the other hand we can change the seneca-user implementation to allow specifying on change_password and register user a specific rounds value - but as you said, this should then be saved in the user entity - and make sure is not reported externally, when the retrieve user action is executed. |
Another thing about:
is that in the current implementation the iteration count cannot be changed during the lifespan of the application, as if we are changing it, the existing users will not be able to login anymore until they will reset their passwords. So we should save the iteration count in the user entity. |
Some overlap with #48 but want to be sure we support this:
The text was updated successfully, but these errors were encountered: