Public bug reported:

This bug is opened to include the upstream patch by falencastro into the
Ubuntu release of python3-cepces

Upstream Bug report: https://github.com/openSUSE/cepces/issues/41

python-cryptography version 37.0.0 dropped the `signer` and `verifier`
methods, replacing them with `sign` and `verify`
(https://github.com/pyca/cryptography/blob/43.0.x/CHANGELOG.rst#3700---
2022-04-26)

From upstream report:

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> 
About Ubuntu
2) The version of the package you are using, via 'apt-cache policy pkgname' or 
by checking in Software Center

OS:                     Ubuntu 24.04.1 LTS
Python:                 3.12.3
python3-cepces:         0.3.7-0ubuntu1
python3-cryptography:   41.0.7-4ubuntu0.1

3) What you expected to happen:

AD enrolled systems can auto-fetch certificates from the server

4) What happened instead:

Sep 17 16:33:49 server1.domain1.local certmonger[37970]:   File 
"/usr/lib/python3/dist-packages/cepces/core.py", line 250, in 
_verify_certificate_signature
Sep 17 16:33:49 server1.domain1.local certmonger[37970]:     verifier = 
issuer_public_key.verifier(
Sep 17 16:33:49 server1.domain1.local certmonger[37970]:                
^^^^^^^^^^^^^^^^^^^^^^^^^^
Sep 17 16:33:49 server1.domain1.local certmonger[37970]: AttributeError: 
'_RSAPublicKey' object has no attribute 'verifier'


PR with fix:
https://github.com/openSUSE/cepces/pull/42

** Affects: python-cepces (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081751

Title:
  python3-cepces calling deprecated method from cryptography

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-cepces/+bug/2081751/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to