1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00
ansible-podman-collections/plugins/modules
Finn Krein-Schuch 95a7edb26a
Use usedforsecurity for hashlib.sha256 only in python version >=3.9 (#904)
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.
2025-02-17 18:54:36 +02:00
..
__init__.py Migration of Podman modules from Ansible to Containers 2020-03-06 16:29:20 +02:00
podman_container.py Convert DNS domain search to a list (#881) 2024-12-13 20:34:17 +02:00
podman_container_copy.py Fix podman_container_copy examples (#882) 2025-01-08 16:24:49 +02:00
podman_container_exec.py Remove unnecessary quotes in podman_container_exec module 2024-02-28 17:55:19 +02:00
podman_container_info.py Update inspection info about objects in modules (#819) 2024-08-16 19:26:35 +03:00
podman_containers.py Fix CI job for podman connection (#655) 2023-10-19 17:20:56 +03:00
podman_export.py Adding volume import and export option (#617) 2023-08-11 16:29:22 +03:00
podman_generate_systemd.py Fix broken example for podman_generate_systemd (#708) 2024-02-04 11:58:28 +02:00
podman_image.py Use usedforsecurity for hashlib.sha256 only in python version >=3.9 (#904) 2025-02-17 18:54:36 +02:00
podman_image_info.py Update inspection info about objects in modules (#819) 2024-08-16 19:26:35 +03:00
podman_import.py Adding volume import and export option (#617) 2023-08-11 16:29:22 +03:00
podman_load.py Fix podman load module for Podman 4 (#503) 2022-10-31 22:23:35 +02:00
podman_login.py podman_login does not support check_mode (#860) 2024-10-08 17:40:24 +03:00
podman_login_info.py Fix pylint issues for CI ansible-test (#550) 2023-02-14 16:22:36 +02:00
podman_logout.py Change yes/no to true/false in the modules (#561) 2023-03-08 23:28:52 +02:00
podman_network.py Add quadlet file mode option to specify file permission (#867) 2024-10-22 15:20:26 +03:00
podman_network_info.py Update inspection info about objects in modules (#819) 2024-08-16 19:26:35 +03:00
podman_play.py Add option to specify kube file content in module (#863) 2024-10-23 18:35:25 +03:00
podman_pod.py Add quadlet file mode option to specify file permission (#867) 2024-10-22 15:20:26 +03:00
podman_pod_info.py Update inspection info about objects in modules (#819) 2024-08-16 19:26:35 +03:00
podman_prune.py Fix typos and spelling errors (#639) 2023-09-05 11:30:15 +03:00
podman_runlabel.py Optimize the podman_runlabel integration test (#640) 2023-09-05 11:28:58 +03:00
podman_save.py fix(podman_save): always changed when force (#834) 2024-09-02 18:52:14 +03:00
podman_search.py Fix list tags failure in podman_search (#875) 2024-11-05 14:35:07 +02:00
podman_secret.py Add path and env options for podman_secret (#766) 2024-05-29 23:23:34 +03:00
podman_secret_info.py Add secrets info module (#706) 2024-01-29 00:14:51 +02:00
podman_tag.py Add CI jobs and docs for podman_tag (#347) 2021-11-28 22:31:18 +02:00
podman_volume.py Add quadlet file mode option to specify file permission (#867) 2024-10-22 15:20:26 +03:00
podman_volume_info.py Update inspection info about objects in modules (#819) 2024-08-16 19:26:35 +03:00