summaryrefslogtreecommitdiff
path: root/support/htdbm.c
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2020-12-08 14:06:16 +0000
committerYann Ylavic <ylavic@apache.org>2020-12-08 14:06:16 +0000
commit542f66501b547cc8a03908323e891a31b6f2a6f5 (patch)
tree35e877a1c3fe66b80e5d3ed3295bb352fb98c2d3 /support/htdbm.c
parent7bb1b3dbd6e7872ca49c9c6f47a35a6114828c45 (diff)
downloadhttpd-542f66501b547cc8a03908323e891a31b6f2a6f5.tar.gz
Fix misleading crypt vs hash terminology in ht* and dbmmanage tools.
What the htpasswd, htdbm and dbmmanage tools do is hashing passwords, not encrypting them, so fix the terminology in manpages, docs, --help, comments and function names. Submitted by: Michele Preziuso <mpreziuso kaosdynamics.com> Reviewed by: ylavic Github: closes #153 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1884207 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/htdbm.c')
-rw-r--r--support/htdbm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/support/htdbm.c b/support/htdbm.c
index 40a3d23293..c2f8f3f01a 100644
--- a/support/htdbm.c
+++ b/support/htdbm.c
@@ -290,13 +290,13 @@ static void htdbm_usage(void)
" -n Don't update database; display results on stdout.\n"
" -b Use the password from the command line rather than prompting for it.\n"
" -i Read password from stdin without verification (for script usage).\n"
- " -m Force MD5 encryption of the password (default).\n"
- " -B Force BCRYPT encryption of the password (very secure).\n"
+ " -m Force MD5 hashing of the password (default).\n"
+ " -B Force BCRYPT hashing of the password (very secure).\n"
" -C Set the computing time used for the bcrypt algorithm\n"
" (higher is more secure but slower, default: %d, valid: 4 to 31).\n"
- " -d Force CRYPT encryption of the password (8 chars max, insecure).\n"
- " -s Force SHA encryption of the password (insecure).\n"
- " -p Do not encrypt the password (plaintext, insecure).\n"
+ " -d Force CRYPT hashing of the password (8 chars max, insecure).\n"
+ " -s Force SHA hashing of the password (insecure).\n"
+ " -p Do not hash the password (plaintext, insecure).\n"
" -T DBM Type (SDBM|GDBM|DB|default).\n"
" -l Display usernames from database on stdout.\n"
" -v Verify the username/password.\n"