
- 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.
Radicale is a free and open-source CalDAV and CardDAV server. For complete documentation, please visit the Radicale online documentation (http://www.radicale.org/documentation).
Description
Languages
Python
90.4%
JavaScript
8.3%
HTML
1.2%
Dockerfile
0.1%