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

can you add "plain" passwords file support for htpass files? #20

Closed
elico opened this issue Dec 15, 2015 · 2 comments
Closed

can you add "plain" passwords file support for htpass files? #20

elico opened this issue Dec 15, 2015 · 2 comments

Comments

@elico
Copy link

elico commented Dec 15, 2015

can you add "plain" passwords file support for htpass files?
There are two implementations for that one.
The nginx version which uses ":{PLAIN}" as a separator between the user and the password.
The apache version which uses the first ":" as a separator between the user and the password.
I have seen examples of it at:
http://aspirine.org/htpasswd_en.html

@abbot
Copy link
Owner

abbot commented May 8, 2016

I'm not sure it's possible to reliably distinguish "plain" password from DES-crypted password for a generic enough solution to be included into this library. But nothing should stop you from implementing a SecretProvider which suites your specific file formats.

@elico
Copy link
Author

elico commented May 11, 2016

@abbot OK. I will see if I need it later.
But one thing that I was unsure about was the limit of the encrypted password.
I found out that in couple cases it was weird that there is a limit to it.

@abbot abbot closed this as completed Jun 29, 2017
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

No branches or pull requests

2 participants