- Update docstring for optional MD5-APR1/BCRYPT support via passlib. - Support the "md5" and "bcrypt" htpasswd_encryption config values. - Conditionally import the required passlib components if either "md5" or "bcrypt" is requested in the configuration file. - Test bcrypt backend availability upon import. - First define verification functions, then conditionally import external dependencies. - Consolidate: use context manager for reading credential file. - Consolidate: save one call to strip() while parsing. - Consolidate: break long lines, clarify comments and docstrings. - Consolidate: use verification function mapping for improving maintainability. |
||
|---|---|---|
| .. | ||
| IMAP.py | ||
| LDAP.py | ||
| PAM.py | ||
| __init__.py | ||
| courier.py | ||
| htpasswd.py | ||
| http.py | ||
| remote_user.py | ||