Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container image signature validation #371

Merged
merged 25 commits into from
Jul 26, 2022
Merged

Container image signature validation #371

merged 25 commits into from
Jul 26, 2022

Conversation

Shrews
Copy link
Contributor

@Shrews Shrews commented Apr 18, 2022

This implements container image signature validation with a new execution environment schema format and new CLI options to control sig validation policy.

Changes:

  • Assume version 1 of the EE def if a version is not specified. This ensures backward compatibility since we didn't actually enforce a version to be present.
  • Support for a version 2 of the EE def file, allowing for base and builder images to be signature verified.
  • New --container-policy and --container-keyring options for build action.

The pulp-integration jobs are successful against my fork, seen here.

@github-actions github-actions bot added the needs_triage New item that needs to be triaged label Apr 18, 2022
@Shrews Shrews force-pushed the images branch 6 times, most recently from d2b7def to b1544c0 Compare April 18, 2022 19:11
@Shrews Shrews removed the needs_triage New item that needs to be triaged label Apr 18, 2022
@softwarefactory-project-zuul
Copy link

Build succeeded.

@github-actions github-actions bot added the test Changes to test files label May 17, 2022
@github-actions github-actions bot removed the test Changes to test files label May 19, 2022
@Shrews Shrews force-pushed the images branch 2 times, most recently from 73a9897 to f2e6953 Compare May 24, 2022 20:00
@Shrews Shrews changed the title [wip] Support v2 of EE [wip] Container image validation May 24, 2022
@Shrews Shrews force-pushed the images branch 5 times, most recently from d661058 to 57b8186 Compare June 7, 2022 15:17
Copy link
Member

@nitzmahone nitzmahone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, looks good- one question about the return type of the version property on UserDefinition that I never noticed, but it doesn't look like this PR introduced that change, so we can probably ignore it here.

ansible_builder/user_definition.py Show resolved Hide resolved
@Shrews Shrews merged commit 6466c44 into ansible:devel Jul 26, 2022
@Shrews Shrews deleted the images branch July 26, 2022 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Changes to documentation test Changes to test files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants