Peter Bieringer
cf914450ee
remove obsolete code and comment as constant execution time is now done by __init__.py
2025-01-03 07:02:29 +01:00
Peter Bieringer
6f0ac545f0
code fix
2025-01-02 08:08:22 +01:00
Peter Bieringer
0a5ae5b0b4
extend startup logging for htpasswd
2025-01-01 17:31:16 +01:00
Peter Bieringer
5a591b6471
use different token
2025-01-01 16:41:11 +01:00
Peter Bieringer
8604dacad0
fix typing
2025-01-01 16:40:55 +01:00
Peter Bieringer
ca665c4849
add a dummy delay action
2025-01-01 16:32:07 +01:00
Peter Bieringer
8fdbd0dbf6
log cosmetics
2025-01-01 16:31:47 +01:00
Peter Bieringer
46fe98f60b
make htpasswd cache optional
2025-01-01 16:31:31 +01:00
Peter Bieringer
6ebca08423
extend copyright
2025-01-01 15:47:22 +01:00
Peter Bieringer
c1be04abd1
fixes suggested by tox
2024-12-31 18:26:43 +01:00
Peter Bieringer
5357e692d9
[auth] htpasswd: module 'bcrypt' is no longer mandatory in case digest method not used in file
2024-12-31 17:09:21 +01:00
Peter Bieringer
2489356dda
implement htpasswd file caching
2024-12-31 16:14:38 +01:00
Peter Bieringer
4f2990342d
add additional debug line
2024-12-31 07:57:13 +01:00
Peter Bieringer
9af15e6656
fixes triggered by tox
2024-12-30 05:25:10 +01:00
Peter Bieringer
ddd099accd
debug log which password hash method was used
2024-12-30 08:17:59 +01:00
Mathieu Dupuy
47bc966a13
fix misspellings
2024-07-24 12:29:13 +02:00
IM
239e17d735
added compatibility with a case-insensitive authentication provider
2024-04-17 18:31:51 +03:00
Peter Bieringer
f0f4213760
fix log message related to bcrypt+autodetect
2024-03-18 06:51:14 +01:00
Peter Bieringer
9a2d42afab
align log text
2024-03-16 08:56:04 +01:00
Peter Bieringer
36285143ce
fix for incomplete https://github.com/Kozea/Radicale/pull/1425 and test
2024-03-12 07:38:40 +01:00
Peter Bieringer
29a2a80bfd
extend htpasswd_encryption options with sha256/512/autodetect
2024-03-12 06:09:02 +01:00
Peter Bieringer
f407915227
next forgotten leftover related to passlib[bcrypt] replacement
2024-03-07 07:28:43 +01:00
Peter Bieringer
1593742ce2
make flake8 happy
2024-03-06 22:46:07 +01:00
Peter Bieringer
438d5f1735
fix for https://github.com/Kozea/Radicale/issues/1350 replacing passlib[bcrypt] with direct call to bcrypt
2024-03-06 22:42:37 +01:00
Unrud
bbaf0ebd8c
Change name in file header
2021-12-09 16:55:46 +01:00
Unrud
cecb17df03
More type hints
2021-09-26 22:24:45 +02:00
Unrud
562d3aacec
Add unicode support to htpasswd
2020-01-19 21:07:54 +01:00
Unrud
6108d8d759
Remove unsecure methods from htpasswd and make md5 default
2020-01-19 21:07:54 +01:00
Unrud
e07df9fd1d
Prefix internal attributes with underscore
2020-01-19 21:07:54 +01:00
Unrud
88a0af8ba1
Improve documentation
2020-01-12 23:32:28 +01:00
Unrud
b7590f8c84
Rework configuration
2019-06-17 04:18:09 +02:00
Unrud
63e6d091b9
Update copyright
2019-06-17 04:13:24 +02:00
Unrud
1a26df865c
passlib: use hash() instead of deprecated encrypt()
2018-09-08 14:57:55 +02:00
Unrud
5e0a387ed9
remove whitespace before email
2018-09-04 03:33:47 +02:00
Unrud
8869b34470
refactor
2018-08-28 16:19:43 +02:00
Guillaume Ayoub
1001bcb676
Remove extra auth, rights and storage modules
2016-04-07 19:02:52 +02:00
Guillaume Ayoub
434cb533e9
Remove Python 2 support
2016-03-31 19:57:40 +02:00
Guillaume Ayoub
b4438d25f7
Cosmetics in htpasswd
2015-07-29 14:00:49 +02:00
Jan-Philip Gehrcke
3abbdcf671
htpasswd.py: add optional MD5-APR1 and BCRYPT support via passlib.
...
- 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.
2015-07-29 13:12:18 +02:00
Marc Kleine-Budde
13c61bf936
auth/htpasswd: add support for salted sha1 passwords
...
This patch adds support for salted sha1 passwords.
2014-11-09 01:00:23 +01:00
Christian Roeder
8673717838
Allow tilde expansion for htpasswd file
...
Call os.path.expanduser on the location given by the config parameter.
This will allow to use settings like
htpasswd_filename = ~/.config/radicale/users
2014-05-14 01:42:19 +02:00
Guillaume Ayoub
406bb6e8cc
Update copyright years
2013-04-26 01:28:03 +02:00
Guillaume Ayoub
98bbe61f67
Use relative imports
2012-08-09 17:31:36 +02:00
Guillaume Ayoub
45afac5353
Code cleaned and modules renamed
...
*Radicale is probably broken now*
2012-08-08 18:29:09 +02:00