CiscoDevNet / BootIntegrityValidator

Python module that validates the Boot Integrity Visibility output generated on a Cisco IOS-XE device
MIT License
6 stars 3 forks source link

Switch to pycryptodome instead of pycrypto #18

Closed ministryofjay closed 2 years ago

ministryofjay commented 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.

ministryofjay commented 2 years ago

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