Werk #17504: Do not crash when attempting to bake and sign agents with empty password

Component Agent bakery
Title Do not crash when attempting to bake and sign agents with empty password
Date Feb 7, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p27 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When pressing "Bake and sign" without entering a password for the signing key, the UI crashed with the error message "Internal error: Password must not be empty". As of this werk, the UI will instead show a standard validation error in case of an empty password.

To the list of all Werks