summaryrefslogtreecommitdiff
path: root/passlib/apache.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2017-01-30 21:24:25 -0500
committerEli Collins <elic@assurancetechnologies.com>2017-01-30 21:24:25 -0500
commit39b8e96a1ff27462dcf8ed90d8747b31abc7b53f (patch)
tree417abf683d07e39e1d945500df910f7e792ad407 /passlib/apache.py
parent724af9c14f7ccee0e2f09d06600b244d79931cdf (diff)
downloadpasslib-39b8e96a1ff27462dcf8ed90d8747b31abc7b53f.tar.gz
passlib.apache: updated internal comments
Diffstat (limited to 'passlib/apache.py')
-rw-r--r--passlib/apache.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/passlib/apache.py b/passlib/apache.py
index af1fb8b..04a64d0 100644
--- a/passlib/apache.py
+++ b/passlib/apache.py
@@ -482,8 +482,8 @@ def _init_htpasswd_context():
# (https://bz.apache.org/bugzilla/show_bug.cgi?id=49288)
"bcrypt",
- # not supported by apache (unless natively), but useful for editing htpasswd under
- # windows and then deploying under unix.
+ # support not "builtin" to apache, instead it requires support through host's crypt().
+ # adding them here to allow editing htpasswd under windows and then deploying under unix.
"sha256_crypt",
"sha512_crypt",
"des_crypt",
@@ -499,8 +499,8 @@ def _init_htpasswd_context():
]
# apache can verify anything supported by the native crypt(),
- # though htpasswd can only generate des_crypt hashes.
- # (may overlap w/ builtin apache schemes)
+ # though htpasswd tool can only generate a limited set of hashes.
+ # (this list may overlap w/ builtin apache schemes)
schemes.extend(registry.get_supported_os_crypt_schemes())
# hack to remove dups and sort into preferred order