]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: replace md5_hash with FIPS-safe config_hash 68638/head
authorKobi Ginon <kginon@redhat.com>
Mon, 27 Apr 2026 19:08:54 +0000 (22:08 +0300)
committerKobi Ginon <kginon@redhat.com>
Tue, 28 Apr 2026 11:50:45 +0000 (14:50 +0300)
commite6db4be354b5c1378048a326e9f7a097611ae10c
tree31109bd5e5d7872640db562b02d2d271e3621756
parent2722364a1fc8e038e65828689fa1d86d06e1082f
mgr/cephadm: replace md5_hash with FIPS-safe config_hash

Replace md5_hash() usages in cephadm dependency hashing with an
algorithm-agnostic config_hash() helper. config_hash() is backed by
SHA-256, making dependency hash generation unconditionally FIPS-safe
while preserving change-detection behavior.

Fixes: https://tracker.ceph.com/issues/76185
Signed-off-by: Kobi Ginon <kginon@redhat.com>
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/services/ingress.py
src/pybind/mgr/cephadm/services/monitoring.py
src/pybind/mgr/cephadm/services/nfs.py
src/pybind/mgr/cephadm/utils.py