Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add authentication support with hashed credentials #8

Merged
merged 2 commits into from
Dec 28, 2023

Conversation

ryanbekhen
Copy link
Owner

This update adds support for authenticating users with hashed credentials. It introduces the CREDENTIALS environment variable to accommodate this feature. The bcrypt Golang library is used to compare hashed passwords, ensuring secure authentication. Instructions for generating compatible hashed credentials are included in the README.md.

This update adds support for authenticating users with hashed credentials. It introduces the `CREDENTIALS` environment variable to accommodate this feature. The `bcrypt` Golang library is used to compare hashed passwords, ensuring secure authentication. Instructions for generating compatible hashed credentials are included in the `README.md`.
@ryanbekhen ryanbekhen linked an issue Dec 28, 2023 that may be closed by this pull request
The test credentials in the SOCKS5 and credential tests have been updated from plain text to hashed values. This is a more accurate reflection of how credentials would be stored in a real scenario, thus making the tests more reliable.
@ryanbekhen ryanbekhen self-assigned this Dec 28, 2023
@ryanbekhen ryanbekhen added the enhancement New feature or request label Dec 28, 2023
@ryanbekhen ryanbekhen changed the title Add authentication support with hashed credentials feat: Add authentication support with hashed credentials Dec 28, 2023
@ryanbekhen ryanbekhen merged commit cd2a8d0 into master Dec 28, 2023
2 checks passed
@ryanbekhen ryanbekhen deleted the 7-feature-authentication branch December 28, 2023 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Authentication
1 participant