add salting to hash function #21

Open
romaingu wants to merge 1 commit from romaingu/2024-heraklion-git:add_salt into main
Member

as you asked us to do boss ;)

as you asked us to do boss ;)
romaingu added 1 commit 2024-08-26 14:58:45 +02:00
Owner

wait, but this way the salt is not saved in the database, and if I am using the same library for two different websites, the salt is going to be predictable, which will help me if I want to brute force. The salt should be unique for each password database, at least.

wait, but this way the salt is not saved in the database, and if I am using the same library for two different websites, the salt is going to be predictable, which will help me if I want to brute force. The salt should be unique for each password database, at least.
This pull request has changes conflicting with the target branch.
  • auth.py
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u add_salt:romaingu-add_salt
git checkout romaingu-add_salt

Merge

Merge the changes and update on Forgejo.
git checkout main
git merge --no-ff romaingu-add_salt
git checkout main
git merge --ff-only romaingu-add_salt
git checkout romaingu-add_salt
git rebase main
git checkout main
git merge --no-ff romaingu-add_salt
git checkout main
git merge --squash romaingu-add_salt
git checkout main
git merge --ff-only romaingu-add_salt
git checkout main
git merge romaingu-add_salt
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 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: ASPP/2024-heraklion-git#21
No description provided.