]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
python-common/cryptotools: fix error path in verify tls function
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 23 Apr 2025 15:25:07 +0000 (11:25 -0400)
committerKefu Chai <k.chai@proxmox.com>
Thu, 5 Feb 2026 02:50:07 +0000 (10:50 +0800)
commit504090750cd568d29fde754dbb63b33b183235dd
tree844c33aba5b212731c61b66321c45c1f92f2d2f6
parent867e8d4f0393be285e83c089e0868d4ec0a01903
python-common/cryptotools: fix error path in verify tls function

The remote verify_tls function was not raising errors when it should.
Fix the function so that it always returns an object when it succeeds or
fails gracefully. Always parse that function in the crypto caller class.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 96a7a72cf414a3dc5c8587d34e80838cc64b71a4)
src/python-common/ceph/cryptotools/cryptotools.py
src/python-common/ceph/cryptotools/remote.py