You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/01/04 17:29:13 UTC

[Bug 58798] New: Misleading terminology

https://bz.apache.org/bugzilla/show_bug.cgi?id=58798

            Bug ID: 58798
           Summary: Misleading terminology
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: support
          Assignee: bugs@httpd.apache.org
          Reporter: mpreziuso@kaosdynamics.com

Created attachment 33398
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33398&action=edit
Fixes usage terminology

Htpasswd has the following usage:

    apr_file_printf(errfile, "Usage:" NL
        "\thtpasswd [-cimBdpsDv] [-C cost] passwordfile username" NL
        "\thtpasswd -b[cmBdpsDv] [-C cost] passwordfile username password" NL
        NL
        "\thtpasswd -n[imBdps] [-C cost] username" NL
        "\thtpasswd -nb[mBdps] [-C cost] username password" NL
        " -c  Create a new file." NL
        " -n  Don't update file; display results on stdout." NL
        " -b  Use the password from the command line rather than prompting "
            "for it." NL
        " -i  Read password from stdin without verification (for script
usage)." NL
        " -m  Force MD5 encryption of the password (default)." NL
        " -B  Force bcrypt encryption of the password (very secure)." NL
        " -C  Set the computing time used for the bcrypt algorithm" NL
        "     (higher is more secure but slower, default: %d, valid: 4 to 31)."
NL
        " -d  Force CRYPT encryption of the password (8 chars max, insecure)."
NL
        " -s  Force SHA encryption of the password (insecure)." NL
        " -p  Do not encrypt the password (plaintext, insecure)." NL
        " -D  Delete the specified user." NL
        " -v  Verify password for the specified user." NL
        "On other systems than Windows and NetWare the '-p' flag will "
            "probably not work." NL
        "The SHA algorithm does not use a salt and is less secure than the "
            "MD5 algorithm." NL,
        BCRYPT_DEFAULT_COST
    );

This is reflected to the documentation as well, however encryption != hashing.
MD5, SHA(1), Bcrypt, CRYPT(3) are not encryption functions, they are hashing
functions instead.
Terminology should be fixed and when talking about SHA, as there are multiple
versions of the SHA algorithm, it should be specified that htpasswd uses the
first.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58798] Misleading terminology

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58798

mpreziuso@kaosdynamics.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Windows NT                  |All
           Hardware|PC                          |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58798] Misleading terminology

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58798

mpreziuso@kaosdynamics.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpreziuso@kaosdynamics.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58798] Misleading terminology

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58798

mpreziuso@kaosdynamics.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from mpreziuso@kaosdynamics.com ---
Fixed here: https://github.com/apache/httpd/pull/153 /
http://svn.apache.org/r1884207

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org