Closed ministryofjay closed 2 years ago
The old pycrypto library is deprecated. We should switch to the newer library.
In addition any hash operations should probably be done using the hashlib standard library rather than an external library.
hashlib
The verifier.verify function expects to take the Crypto.Hash.xxxx hash object not bytes or a hashlib object, so we'll continue with using the pycryptodome hash objects
verifier.verify
Crypto.Hash.xxxx
pycryptodome
The old pycrypto library is deprecated. We should switch to the newer library.
In addition any hash operations should probably be done using the
hashlib
standard library rather than an external library.