Werk #15367: Special characters in passwords in password store are now fully supported with active checks written in c

Component Checks & agents
Title Special characters in passwords in password store are now fully supported with active checks written in c
Date Jul 14, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p35 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p45 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When using special characters in passwords stored in the password store for an active check that is implemented in c (for example the legacy active check check_http) the following error message was shown:

Invalid --pwstore= option: Password is too long for argument.

This was due to the c implementation calculated the length of the password in UTF-8 encoded bytes, but the python implementation counted UTF characters.

To the list of all Werks