diff --git a/docker/ceph/ceph-mon/fetch_ceph_keys.py b/docker/ceph/ceph-mon/fetch_ceph_keys.py index 3303bdf5c0..f0f4a71540 100644 --- a/docker/ceph/ceph-mon/fetch_ceph_keys.py +++ b/docker/ceph/ceph-mon/fetch_ceph_keys.py @@ -49,8 +49,10 @@ def read_file(filename): with open(filename_path, 'rb') as f: raw_data = f.read() + # TODO(mnasiadka): Remove sha1 in U return {'content': base64.b64encode(zlib.compress(raw_data)), 'sha1': hashlib.sha1(raw_data).hexdigest(), + 'sha256': hashlib.sha256(raw_data).hexdigest(), 'filename': filename}