mirror of
https://github.com/bashclub/check-opnsense.git
synced 2024-11-08 00:31:58 +01:00
Update opnsense_checkmk_agent.py
Fix encrypted agent output
This commit is contained in:
parent
26a02a1853
commit
50cf4b1128
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user