summaryrefslogtreecommitdiff
path: root/support/passwd_common.h
Commit message (Collapse)AuthorAgeFilesLines
* Windows : do not include ap_config_auto.h Steffen Land2020-05-131-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1877693 13f79535-47bb-0310-9956-ffa450edef68
* Add support for SHA-2 crypt() algorithm in htpasswd.Joe Orton2019-06-211-1/+5
| | | | | | | | | | | | | | | | | * configure.in: Detect SHA-2 support in crypt(). * support/passwd_common.h: Define ALG_CRYPT_SHA256, ALG_CRYPT_SHA512, include ap_config_auto.h. * support/htpasswd.c (check_args): Allow -2, -5, -r arguments for SHA-256, SHA-256 and rounds options respectively. * support/passwd_common.c (parse_common_options): Parse -2, -5, -r args. (mkhash): Generate crypt hash for SHA256/SHA512 algorithms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861793 13f79535-47bb-0310-9956-ffa450edef68
* block bcrypt on EBCDIC -- lots of ascii-isms in apr-util's bcrypt.Eric Covener2015-10-241-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710403 13f79535-47bb-0310-9956-ffa450edef68
* Added header protection.Guenter Knauf2013-06-011-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1488496 13f79535-47bb-0310-9956-ffa450edef68
* htpasswd: Add -v option to verify a passwordStefan Fritsch2013-04-051-1/+2
| | | | | | | htpasswd and htdbm could use some more refactoring... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465116 13f79535-47bb-0310-9956-ffa450edef68
* htdbm, htpasswd: print error message if out of memoryStefan Fritsch2012-12-251-0/+6
| | | | | | | PR: 54345 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425775 13f79535-47bb-0310-9956-ffa450edef68
* Optionally read passwords from stdinStefan Fritsch2012-10-071-1/+2
| | | | | | | | PR: 40243 Submitted by: Adomas Paltanavicius <adomas paltanavicius gmail com>, sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1395256 13f79535-47bb-0310-9956-ffa450edef68
* add support for bcryptStefan Fritsch2012-10-071-0/+14
| | | | | | | PR: 49288 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1395255 13f79535-47bb-0310-9956-ffa450edef68
* Start refactoring of htpasswd and htdbmStefan Fritsch2012-10-071-0/+95
- Move many common code parts into separate source file. This adds some of htpasswd's recent improvements to htdbm. - Rework salt generation to use the full 48bit of entropy for MD5 Previously, it would only generate 2^32 different salts on a given platform. - Use apr_getopt(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1395253 13f79535-47bb-0310-9956-ffa450edef68