Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Updated hashing #298

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Updated hashing #298

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 11, 2021

Satisfies #262

@gwarf
Copy link

gwarf commented Sep 30, 2022

I've tested this with a MariaDB database, and it fails saying that Argon2 hash is too long for the length of the pwhash column that is at 48.
Didn't checked much to find what's the appropriate length, but it works with a length of 120.

@gwarf
Copy link

gwarf commented Oct 6, 2022

Apparently this is also breaking other things, like the challenge creation, due to another issue with the column size, and the validation in validate_answer in the static_argon2.py, argon2.PasswordHasher().hash getting more parameters than expected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant