Werk #5792

KomponenteChecks & Agents
TitelAgent Encryption: No longer trying to decrypt all incoming tcp data when a "Encryption" rule with an arbitrary value was set
Datum2018-03-16 13:55:52
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0p27
Level1 - Triviale Änderung
KlasseBug Fix
KompatibilitätCompatible - 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.