Merge pull request #43 from bashclub/testing

Update opnsense_checkmk_agent.py
This commit is contained in:
Thorsten Spille 2023-10-11 19:58:30 +02:00 committed by GitHub
commit 6760b7935b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,7 +169,7 @@ class checkmk_checker(object):
SALT = b"Salted__" SALT = b"Salted__"
_backend = crypto_default_backend() _backend = crypto_default_backend()
_kdf_key = PBKDF2HMAC( _kdf_key = PBKDF2HMAC(
algorithm = hashes.SHA256, algorithm = hashes.SHA256(),
length = KEY_LENGTH + IV_LENGTH, length = KEY_LENGTH + IV_LENGTH,
salt = SALT, salt = SALT,
iterations = PBKDF2_CYCLES, iterations = PBKDF2_CYCLES,