]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerNizamudeen A <nia@redhat.com>
Mon, 5 Jan 2026 10:44:33 +0000 (16:14 +0530)
commit824be4ca0d58455bb828e04d9ddf21b78d24f840
tree6680af808d43eebff0b06cced807eb4f9f9d345a
parent89538405082cb4df69e4de3c9f80be72b862dd56
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