Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 0c4594a84f867406f05736fb5bcb47d7087e4a68
https://github.com/tribe29/checkmk/commit/0c4594a84f867406f05736fb5bcb47d70…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/utils/password_store.py
Log Message:
-----------
Simplify function aliases
Instead of forwarding everything from one function to another,
we bind the destination to another name. This is simpler and
more efficient in every respect and removes code duplication.
CMK-9563
Change-Id: Iebbe77711c0ff637fe29a3d7cf6660e5e4a6bd81
Commit: 96f3a69c1c81a16616b1c367f385cf71eafb531a
https://github.com/tribe29/checkmk/commit/96f3a69c1c81a16616b1c367f385cf71e…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/gui/valuespec.py
M cmk/update_config.py
M cmk/utils/encryption.py
M cmk/utils/password_store.py
M tests/unit/cmk/gui/test_valuespec.py
M tests/unit/cmk/utils/test_encryption.py
M tests/unit/cmk/utils/test_password_store.py
Log Message:
-----------
Encrypter: Move base64 encoding back to ValueSpec
The encoding is only required for the HTML rendering: This is
the responsibility of the ValueSpec as can be seen in
ImageUpload and SSHKeyPair.
This lets us further simplify the Encrypter and
PasswordStoreObfuscater and removes the requirement for the C
plugins to decode the base64 encoding.
The new typing lets us use an actual number for the protocol
version instead of an untyped "int-string". We can also remove
the type checks from the unit tests (we use mypy here) and the
equality checks between encrypted and clear-text: there cannot
be equality anymore because encrypted and clear-text have
different types.
CMK-9563
Change-Id: I3219186ac0f72650e70ac28fe5b6f0524befe280
Commit: f7e1ca6e4ed44eacc06c00809fee12727af4cc90
https://github.com/tribe29/checkmk/commit/f7e1ca6e4ed44eacc06c00809fee12727…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/update_config.py
M cmk/utils/password_store.py
M tests/unit/cmk/utils/test_password_store.py
Log Message:
-----------
Fix typo: Obfuscater -> Obfuscator
CMK-9563
Change-Id: I73c0dded7a0d83abefec72f727a41958864becad
Compare:
https://github.com/tribe29/checkmk/compare/fb2fb725485f...f7e1ca6e4ed4