Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cryptography 37.0.0 and above break license.verify method #10

Open
sconcina opened this issue Jul 1, 2022 · 1 comment
Open

cryptography 37.0.0 and above break license.verify method #10

sconcina opened this issue Jul 1, 2022 · 1 comment

Comments

@sconcina
Copy link

sconcina commented Jul 1, 2022

had a simple license checker that worked until I upgraded to cryptography 37.0.2, which removed the 'verifier' method altogether (it had been deprecated for a while). I had to downgrade to 36.0.0 to be able to keep it working as is.

....
license.verify(certificate)

File "XXXX.truepy_license.py", line 210 in verify
verifier = self._verifier(certificate)
File "XXXX.truepy_license.py", line 190 in _verifier
return public_key.verifier(
AttributeError: '_RSAPublicKey' object has no attribute 'verifier'

@ngoquanghuy99
Copy link

@sconcina Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants