Skip to content

feat: add possibility to check against hashed keys#4

Draft
thpiron wants to merge 1 commit intodtomlinson91:mainfrom
thpiron:feat/allow_usage_of_hashed_key_instead_of_plain_text
Draft

feat: add possibility to check against hashed keys#4
thpiron wants to merge 1 commit intodtomlinson91:mainfrom
thpiron:feat/allow_usage_of_hashed_key_instead_of_plain_text

Conversation

@thpiron
Copy link

@thpiron thpiron commented Aug 14, 2023

Hello,

this is a draft PR for hashed keys. I'm open to suggestions/improvements.
I added a way to very simply cache hashed key because bcrypt checking can be very slow (by bcrypt design itself).

Supporting bcrypt and sha1 for now, as htpasswd md5 based algorithm seems painful to replicate.

If it looks good enough for you I'll add some tests.

Signed-off-by: Thibault Piron <thibault.a.piron@gmail.com>
@dtomlinson91
Copy link
Owner

@thpiron apologies i've taken so long to get back to you on this, i'll have a look tomorrow and we can merge this in 👍

@benshalev849
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants