Werk #8837: check_mk_agent.linux: Modification of agent's encryption functionality in order to accomodate for newer digest functions

Component Checks & agents
Title check_mk_agent.linux: Modification of agent's encryption functionality in order to accomodate for newer digest functions
Date Aug 7, 2019
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The agent's encryption functionality is extended with this change. The agent automatically identifies the used openssl version. It uses the sha-256 algorithm to encrypt the information if the openssl version is higher than version 1.0.0. In the other case where the identified version is below version 1.0.0, the agent will continue to use the md5 algorithm. This ensures that that the information from the agent is secured with the most secure, available option.

To the list of all Werks