Svn – How does VisualSVN store passwords

passwordsvnversion controlvisualsvn-server

We are running a VisualSVN Server that needs ~300 users to be created. As the need to mass create users is likely to reoccur, I'd prefer not to task someone with data entry for account creation. I've found the htpasswd which has following form:

test:$apr1$5tf$V0ImysKrNpxE6XW5QwyLd0

I've edited password files for other apps/servers in the past that used MD5 hex which this clearly is not. What algorithm is this?

Best Answer

"MD5 "$apr1$" + the result of an Apache-specific algorithm using an iterated (1,000 times) MD5 digest of various combinations of a random 32-bit salt and the password. See the APR source file apr_md5.c for the details of the algorithm."

More details here: http://httpd.apache.org/docs/2.2/misc/password_encryptions.html

Hope that helps!