Python: Align cryptodome tests

This commit is contained in:
Rasmus Wriedt Larsen
2021-03-01 10:21:09 +01:00
parent 2c0df8e656
commit 1b2ed9d99a
5 changed files with 90 additions and 1 deletions

View File

@@ -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)")