securesauce / precli

Precaution CLI - command line static application security testing tool
https://precli.readthedocs.io/
Other
22 stars 3 forks source link

Ensure the tests import hashlib #385

Closed ericwb closed 7 months ago

ericwb commented 7 months ago

There were a number of hmac tests that didn't import hashlib. This should have caused precli to be unable to resolve it, but because it is an attribute in this case instead of a call, it's probably getting treated as a string which just works.

Also made sure files have no hyphens (md5-sha1)