forked from shaba/openuds
Updated criptography part to be compatible with older releases of crpytography package
This commit is contained in:
parent
9e462478fc
commit
38490e184e
@ -179,7 +179,7 @@ def verifySignature(script, signature):
|
||||
from cryptography.hazmat.primitives import serialization, hashes
|
||||
from cryptography.hazmat.primitives.asymmetric import utils, padding
|
||||
|
||||
public_key = serialization.load_pem_public_key(data=PUBLIC_KEY)
|
||||
public_key = serialization.load_pem_public_key(data=PUBLIC_KEY, backend=default_backend())
|
||||
|
||||
try:
|
||||
public_key.verify(
|
||||
|
Loading…
Reference in New Issue
Block a user