You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue aims to implement unit tests to verify that user passwords are being hashed correctly before being saved to the database. It is crucial to ensure that plain text passwords are not stored, thereby enhancing the security of user data.
Context
Proper hashing of passwords is a fundamental security practice. It ensures that even if the database is compromised, the actual passwords cannot be easily retrieved. The tests will focus on validating that the hashing function is correctly implemented and that passwords are stored in a hashed format.
Objectives
Implement unit tests for the password hashing function.
Ensure that the hashing function does not store passwords in plain text.
Verify that the hashed passwords match the expected hash format (e.g., bcrypt).
Acceptance Criteria
The hashing function must not return the plain text password.
The hashed password must match the expected format (e.g., bcrypt hash format).
Tests should include validation of both the hash and compare functions to ensure consistency.
Tasks
Create and initialize a new working branch
Use the branch name following the conventions specified in the CONTRIBUTING.md guide.
Branch name format: test/issue-number-password-hashing
Implement unit tests for the password hashing function.
Verify that the passwords are not stored in plain text.
Validate that the hashed passwords conform to the expected format.
Write the commit message
Ensure the commit message follows the naming conventions as specified in the CONTRIBUTING.md guide.
Create the Pull Request
Ensure the Pull Request follows the naming and description conventions as specified in the CONTRIBUTING.md guide.
Summary
This issue aims to implement unit tests to verify that user passwords are being hashed correctly before being saved to the database. It is crucial to ensure that plain text passwords are not stored, thereby enhancing the security of user data.
Context
Proper hashing of passwords is a fundamental security practice. It ensures that even if the database is compromised, the actual passwords cannot be easily retrieved. The tests will focus on validating that the hashing function is correctly implemented and that passwords are stored in a hashed format.
Objectives
Acceptance Criteria
Tasks
test/issue-number-password-hashing
Resources
UML Diagrams References
Branch Name
test/issue-number-password-hashing
The text was updated successfully, but these errors were encountered: