WIP: added hash #5

Draft
izziehe wants to merge 1 commit from izziehe/2026-prague-git:hash into main
Member

hello, this is our solution to hashing the passwords. Please pull it into the upstream request. Thank you!

hello, this is our solution to hashing the passwords. Please pull it into the upstream request. Thank you!
@ -14,0 +17,4 @@
password = input(f'Enter password for {username}: ').encode('utf-8')
hashed_password = hashlib.sha256(password).hexdigest()
pwdb[username] = hashed_password
Owner

are you storing binaries in the json file? IOW: what type is hashed_password?

are you storing binaries in the json file? IOW: what type is `hashed_password`?
Author
Member

no, we are storing strings because the of the .hexdigest() at the end.

no, we are storing strings because the of the .hexdigest() at the end.
This pull request has changes conflicting with the target branch.
  • auth.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u hash:izziehe-hash
git switch izziehe-hash

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff izziehe-hash
git switch izziehe-hash
git rebase main
git switch main
git merge --ff-only izziehe-hash
git switch izziehe-hash
git rebase main
git switch main
git merge --no-ff izziehe-hash
git switch main
git merge --squash izziehe-hash
git switch main
git merge --ff-only izziehe-hash
git switch main
git merge izziehe-hash
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/2026-prague-git!5
No description provided.