Skip to content

cryptography 37.0.0 and above break license.verify method #10

@sconcina

Description

@sconcina

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions