From 5cc7941f30f14964abe14f7907e480e91a612ba2 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 1 Aug 2024 09:23:36 -0400 Subject: [PATCH] Correct usage of public_key_algorithm_oid in ipalib/x509 public_key_algorithm_oid is property of underlying Certificate object that is not supposed to be callable. I missed that it contained () at the end. Fixes: https://pagure.io/freeipa/issue/9641 Signed-off-by: Rob Crittenden Reviewed-By: Alexander Bokovoy --- ipalib/x509.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipalib/x509.py b/ipalib/x509.py index 5eb0906bf..fd0823896 100644 --- a/ipalib/x509.py +++ b/ipalib/x509.py @@ -298,7 +298,7 @@ class IPACertificate(crypto_x509.Certificate): """ Returns the ObjectIdentifier of the public key. """ - return self._cert.public_key_algorithm_oid() + return self._cert.public_key_algorithm_oid @property def tbs_certificate_bytes(self):