mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
The usedforsecurity keyword argument of the hashlib functions was introduced in python 3.9. To achieve compatibility with versions below that, we only use it once it is available. The usedforsecurity argument forces use of secure hash functions in specially compiled versions of python. In this case it would force to upgrade sha256 to a different hash function should sha256 be deemeed insecure in the future. The podman hash we are comparing against is (currently) always sha256. As sha256 is still considered secure, removing this option for older python versions should be acceptable. Signed-off-by: johnsonlien <johnsonlien95@gmail.com> |
||
|---|---|---|
| .. | ||
| become | ||
| connection | ||
| module_utils | ||
| modules | ||