You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/galaxy
Sloane Hertel f96a661ada
ansible-galaxy - add configuration options for more flexible collection signature verification (#77026)
* Add a toggle to control the number of signatures required to verify the authenticity of a collection

* Make the default number of required valid signatures 1

* Add option to make signature verification strict and fail if there are no valid signatures (e.g. "+1")

* Use a regex to validate --required-valid-signature-count

* Add a toggle to limit the gpg status codes that are considered a failure

* Update documentation and changelog

* Add unit and integration tests for the new options

* Fixes #77146

Fix using user-provided signatures when running 'ansible-galaxy collection verify ns.coll --offline'

Add a test for a user-provided signature when running ansible-galaxy collection verify with --offline

Fix displaying overall gpg failure without extra verbosity

Add a test for displaying gpg failure without verbosity

Improve documentation to be more clear that signature verification only currently applies to collections directly sourced from Galaxy servers
3 years ago
..
__init__.py Collection test (#59488) 5 years ago
test_api.py Remove obsolete units.compat.mock compat layer. (#77118) 3 years ago
test_collection.py ansible-galaxy - add configuration options for more flexible collection signature verification (#77026) 3 years ago
test_collection_install.py ansible-galaxy - add configuration options for more flexible collection signature verification (#77026) 3 years ago
test_role_install.py Fix tests failing on pytest 7 (#76670) 3 years ago
test_role_requirements.py galaxy: handle plus sign in user token appearing in role url (#73057) 4 years ago
test_token.py Remove obsolete units.compat.mock compat layer. (#77118) 3 years ago
test_user_agent.py ansible-galaxy - expand User-Agent string for Galaxy endpoints (#65578) 5 years ago