Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 16c4deece5160050fc8a18fce4b17ba3ef48b05c
https://github.com/tribe29/checkmk/commit/16c4deece5160050fc8a18fce4b17ba3e…
Author: Hannes Rantzsch <hannes.rantzsch(a)tribe29.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/userdb/htpasswd.py
M cmk/gui/plugins/webapi/webapi.py
M cmk/gui/userdb.py
A cmk/utils/crypto/__init__.py
A cmk/utils/crypto/password_hashing.py
M omd/packages/omd/omdlib/main.py
M tests/unit/cmk/gui/test_userdb.py
M tests/unit/cmk/gui/test_userdb_htpasswd_connector.py
Log Message:
-----------
Extract passlib functionality to a wrapper module
Change-Id: I3e45027ec1270b81426435666677e5ebc38fe788
Commit: 9f962e1fc1c0b5e6e422301704da3a47166080c9
https://github.com/tribe29/checkmk/commit/9f962e1fc1c0b5e6e422301704da3a471…
Author: Hannes Rantzsch <hannes.rantzsch(a)tribe29.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M cmk/gui/plugins/userdb/htpasswd.py
M cmk/gui/userdb.py
M cmk/utils/crypto/password_hashing.py
M tests/unit/cmk/gui/test_userdb.py
M tests/unit/cmk/gui/test_userdb_htpasswd_connector.py
A tests/unit/cmk/utils/crypto/test_password_hashing.py
Log Message:
-----------
Redesign password hashing API
The password hashing module now offers the three functions
hash_password, sha256_crypt (deprecated), and verify (replacing
check_password).
The hashing functions no longer allow specifying the number of rounds,
which was only used for test code. The tests now monkeypatch the number
of rounds instead.
verify will now raise a PasswordInvalidError rather than returning
True or False. This makes it harder for using code to accidentally
ignore failing verifications.
The doctest have been moved to proper unit tests as they were not
contributing to readability.
Change-Id: If4efb707930743596668dd317c4f6b4a50dd69d9
Commit: cb50df842aedbe5d28e8fde908db6677f2a05fd2
https://github.com/tribe29/checkmk/commit/cb50df842aedbe5d28e8fde908db6677f…
Author: Hannes Rantzsch <hannes.rantzsch(a)tribe29.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M cmk/utils/crypto/password_hashing.py
M omd/packages/omd/omdlib/main.py
M tests/unit/cmk/utils/crypto/test_password_hashing.py
Log Message:
-----------
Remove the ability to create sha256-crypt hashes
omdlib should make sure to switch to an older version when catering to
older sites that don't support bcrypt.
Change-Id: I562f37d2b74b57d66e1d3c392359cd3531208690
Commit: aa86fc879cb45e30cb499cc8246e2d7495b222bf
https://github.com/tribe29/checkmk/commit/aa86fc879cb45e30cb499cc8246e2d749…
Author: Maximilian Wirtz <maximilian.wirtz(a)tribe29.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M cmk/utils/crypto/password_hashing.py
M tests/unit/cmk/utils/crypto/test_password_hashing.py
Log Message:
-----------
Use `2y` as bcrypt ident
Apache does not understand the `2b` ident. They are supposed to be
interchangeable.
Change-Id: Ieb49cdee887728d4f92b9a8f53b60691d9713f53
Commit: 6d0d74184608c04a8956d5feba6aeb91902ef7db
https://github.com/tribe29/checkmk/commit/6d0d74184608c04a8956d5feba6aeb919…
Author: Hannes Rantzsch <hannes.rantzsch(a)tribe29.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M cmk/gui/plugins/userdb/htpasswd.py
M cmk/utils/crypto/password_hashing.py
A cmk/utils/store/htpasswd.py
R tests/unit/cmk/gui/plugins/userdb/test_htpasswd.py
M tests/unit/cmk/gui/test_userdb.py
M tests/unit/cmk/gui/test_userdb_htpasswd_connector.py
A tests/unit/cmk/utils/test_store_htpasswd.py
Log Message:
-----------
refactor: extract htpasswd store wrapper
Htpasswd now lives in store utils, method to save a single user's
password has been added, tests have been consolidated.
CMK-11516
Change-Id: I6af40e2b181a753d086cb68d336e0c6a52919929
Commit: 0a6aefa7e17892d3b08e597ac131138049050b5b
https://github.com/tribe29/checkmk/commit/0a6aefa7e17892d3b08e597ac13113804…
Author: Hannes Rantzsch <hannes.rantzsch(a)tribe29.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M cmk/gui/userdb.py
M cmk/utils/store/htpasswd.py
Log Message:
-----------
use Htpasswd wrapper to load users in userdb
Change-Id: I8f0a54386cb290f5b1d5a4442de5e6a8fa86a590
Compare:
https://github.com/tribe29/checkmk/compare/a3d996df1f82...0a6aefa7e178