Werk #5793: Agent Encryption: No longer trying to decrypt all incoming tcp data when a "Encryption" rule with an arbitrary value was set

Component Checks & agents
Title Agent Encryption: No longer trying to decrypt all incoming tcp data when a "Encryption" rule with an arbitrary value was set
Date Mar 16, 2018
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.5.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The agent output decryption function was incorrectly called for hosts with a specifically "Encryption" rule set. In most scenarios the decryption failed, because the plain text was obviously not decrypted correctly. The fallback of the decryption error was to use the plain text instead for further processing - this was conincidentally the right bevhaviour.

However, sometimes the decryption succeeded, which lead to garbled agent output and missing agent sections.

To the list of all Werks