mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Python: Align cryptodome tests
This commit is contained in:
@@ -58,8 +58,8 @@ print("signature={}".format(signature))
|
||||
|
||||
print()
|
||||
|
||||
|
||||
verifier = pss.new(public_key)
|
||||
|
||||
hasher = SHA256.new(message)
|
||||
verifier.verify(hasher, signature)
|
||||
print("Signature verified (as expected)")
|
||||
|
||||
Reference in New Issue
Block a user