]> git.apps.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)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 7 Jul 2025 13:32:24 +0000 (09:32 -0400)
commit96a7a72cf414a3dc5c8587d34e80838cc64b71a4
treee069f05cdde3f18c0aa2632f9c8daa7081b0581f
parent218d84fc15d818d2df56c92cd71aeb2aa85f1590
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>
src/python-common/ceph/cryptotools/cryptotools.py
src/python-common/ceph/cryptotools/remote.py