python3 -c 'import tpm2_pytss'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/tpm2_pytss/__init__.py", line 19, in <module>
from .ESAPI import ESAPI
File "/usr/lib/python3.11/site-packages/tpm2_pytss/ESAPI.py", line 2, in <module>
from .types import *
File "/usr/lib/python3.11/site-packages/tpm2_pytss/types.py", line 24, in <module>
from tpm2_pytss.internal.crypto import (
File "/usr/lib/python3.11/site-packages/tpm2_pytss/internal/crypto.py", line 223, in <module>
class _MyRSAPrivateNumbers(rsa.RSAPrivateNumbers):
TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers' is not an acceptable base type
Hi, seeing this with cryptography 42.0.1