mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-28 19:40:54 +00:00
- 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. |
||
---|---|---|
.. | ||
auth | ||
rights | ||
storage | ||
__init__.py | ||
__main__.py | ||
config.py | ||
ical.py | ||
log.py | ||
xmlutils.py |