summaryrefslogtreecommitdiff
path: root/support/htpasswd.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2012-06-22 14:56:44 +0000
committerStefan Fritsch <sf@apache.org>2012-06-22 14:56:44 +0000
commit6367f6a183073783ed085e4e3eea4ccd08966e61 (patch)
tree3cadbf4bfcf057839dc71379b1d86203ccd821ec /support/htpasswd.c
parent46afd8fd2e7442c0b1d6e692d09e74f98f867c51 (diff)
downloadhttpd-6367f6a183073783ed085e4e3eea4ccd08966e61.tar.gz
note more prominently that SHA and crypt are insecure
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1352910 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/htpasswd.c')
-rw-r--r--support/htpasswd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/support/htpasswd.c b/support/htpasswd.c
index 16e55a0630..993ce625e3 100644
--- a/support/htpasswd.c
+++ b/support/htpasswd.c
@@ -283,9 +283,10 @@ static void usage(void)
" (default)"
"." NL);
apr_file_printf(errfile, " -d Force CRYPT encryption of the password"
- "." NL);
+ " (8 chars max, insecure)." NL);
apr_file_printf(errfile, " -p Do not encrypt the password (plaintext)." NL);
- apr_file_printf(errfile, " -s Force SHA encryption of the password." NL);
+ apr_file_printf(errfile, " -s Force SHA encryption of the password"
+ " (insecure)." NL);
apr_file_printf(errfile, " -b Use the password from the command line "
"rather than prompting for it." NL);
apr_file_printf(errfile, " -D Delete the specified user." NL);