Commit 0cb3560d authored by Martin Kraemer's avatar Martin Kraemer
Browse files

Add random notes about possible weaknesses

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@329779 13f79535-47bb-0310-9956-ffa450edef68
parent 8d607086
Loading
Loading
Loading
Loading
+9 −0
Changes for docs/manual/programs/htpasswd.xml: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -190,6 +190,15 @@ distribution.</seealso>

    <p>The use of the <code>-b</code> option is discouraged, since when it is
    used the unencrypted password appears on the command line.</p>

    <p>When using the <code>crypt()</code> algorithm, note that only the first
    8 characters of the password are used  to form the password. If the supplied
    password is longer, the extra characters will be silently discarded.</p>

    <p>The SHA encryption format does not use salting: for a given password,
    there is only one encrypted representation. The <code>crypt()</code> and
    MD5 formats permute the representation by prepending a random salt string,
    to make dictionary attacks against the passwords more difficult.</p>
</section>

<section id="restrictions"><title>Restrictions</title>