Questions tagged [htdigest]

7 questions
9
votes
3 answers

How do you htdigest 400 user accounts?

How do you generate user accounts for 400 users to do a load testing? Htdigest forces you to type in a password each time, I have tried dos pipes like echo password > htdigest -c realm username%1 htdigest -c realm username%1 < password.txt but…
zeroin23
  • 1,821
  • 4
  • 20
  • 26
7
votes
3 answers

htdigest file format

I'm trying to write some code to work with an htdigest password file. The documentation I can find seems to claim that the format of that file is: user:realm:MD5(user:realm:pass) If that is the case, then why doesn't this work for me? I created a…
wxs
  • 5,617
  • 5
  • 36
  • 51
5
votes
1 answer

Convert passwords from htpasswd to htdigest

On a Server I like to switch from Apache auth_basic to auth_digest for security reasons. Is there a way to convert the old .htpasswd file to the htdigest format?
pixelsucht
  • 228
  • 2
  • 8
2
votes
2 answers

How can I create a user using htdigest without prompting for password

I'm writing a DockerFile to build an image with apache2 and u2fval, and I need to create credentials for one user using apache2 digest. But the command: htdigest -c /whatever/myfile.digest "realm" user will always ask user for password, is there a…
1
vote
1 answer

best way to have apache signal a php script on invalid htdigest (http authentication) logins?

so, we have a few folders in our source base that are htdigest protected. we would like to log invalid logins via our own custom php handler. i was hoping on doing this via the apache ErrorDocument directive. so i guess my question is two tiered. a)…
anonymous-one
  • 14,454
  • 18
  • 60
  • 84
0
votes
1 answer

Is there a module to manipulate an htdigest password file in Perl?

I operate a small development cluster and repository system for a couple of open-source project groups to use. I run these systems on a volunteer basis. Recently, people have expressed concern at the repository system using basic authentication to…
Kai
  • 1
0
votes
2 answers

tracd login Error

I am trying to use tracd but i cannot get past the authentication part. I created a digest file based on their wiki description: admin:ITC:98e7d6e0a7506cd5558067794aed9cce PS C:\Users\22193\AppData\Roaming\Python\Scripts> .\tracd.exe --port 8000…
sham1810
  • 173
  • 1
  • 11