Multiple password hashing schemes #8

Open
opened 2024-08-08 06:04:30 +00:00 by nu · 4 comments
Owner

More password hashing schemes should be available as an option, with CB not throwing errors if the module for one that's not being used isn't installed. This is to hopefully allow CharmBoard to be run on a wider variety of hardware, like if someone has an old PC lying around that they'd like to host the site on. I think I also need to change the way passwords are stored in the DB to make it note which hashing scheme is used (this is really standard so I'm not sure why I didn't already do it from the get-go)

More password hashing schemes should be available as an option, with CB not throwing errors if the module for one that's not being used isn't installed. This is to hopefully allow CharmBoard to be run on a wider variety of hardware, like if someone has an old PC lying around that they'd like to host the site on. I think I also need to change the way passwords are stored in the DB to make it note which hashing scheme is used (this is really standard so I'm not sure why I didn't already do it from the get-go)
nu added the
security
improvement
database
labels 2024-08-08 06:04:45 +00:00
nu added this to the CharmBoard v1.0 milestone 2024-08-08 06:05:50 +00:00
Author
Owner

I'll have to see if optional use statements are a thing in Perl, like if you can have a use statement activated with an if/else statement or something. This would also be useful for making database drivers optional!

I'll have to see if optional `use` statements are a thing in Perl, like if you can have a `use` statement activated with an if/else statement or something. This would also be useful for making database drivers optional!
Author
Owner

Not use statements, but require statements, a keyword I didn't know existed before now.

See: https://stackoverflow.com/questions/251694/how-can-i-require-an-optional-perl-module-if-installed

Not `use` statements, but `require` statements, a keyword I didn't know existed before now. See: https://stackoverflow.com/questions/251694/how-can-i-require-an-optional-perl-module-if-installed
Author
Owner

Looks like I'll have to completely change up what CharmBoard::Model::Crypt works like, jeez!

Looks like I'll have to completely change up what `CharmBoard::Model::Crypt` works like, jeez!
Author
Owner

https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html

On top of Argon2, scrypt and bcrypt should be implemented

https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html On top of Argon2, scrypt and bcrypt should be implemented
nu added the
new feature
label 2024-08-21 04:17:21 +00:00
nu added this to the Workable alpha/beta project 2024-08-21 05:37:58 +00:00
nu removed this from the Workable alpha/beta project 2024-08-24 07:11:35 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nu/CharmBoard#8
No description provided.