From 50cf4b112828490e3a071ad0eb7fc09103857b82 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Wed, 11 Oct 2023 19:55:35 +0200 Subject: [PATCH] Update opnsense_checkmk_agent.py Fix encrypted agent output --- opnsense_checkmk_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opnsense_checkmk_agent.py b/opnsense_checkmk_agent.py index ef20866..224bfc9 100644 --- a/opnsense_checkmk_agent.py +++ b/opnsense_checkmk_agent.py @@ -169,7 +169,7 @@ class checkmk_checker(object): SALT = b"Salted__" _backend = crypto_default_backend() _kdf_key = PBKDF2HMAC( - algorithm = hashes.SHA256, + algorithm = hashes.SHA256(), length = KEY_LENGTH + IV_LENGTH, salt = SALT, iterations = PBKDF2_CYCLES,