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

Feat/cosign repository #45

Merged
merged 19 commits into from
Feb 9, 2024
Merged

Feat/cosign repository #45

merged 19 commits into from
Feb 9, 2024

Conversation

puffitos
Copy link
Collaborator

@puffitos puffitos commented Feb 8, 2024

Motivation

Closes #44

Changes

  • Added a function to retrieve the env variable COSIGN_REPOSITORY from the container's env.
  • If present, the remote Options for the OCI check are changed, so that the COSIGN_REPOSITORY is used for singature verification
  • Added a new struct for the framework, to allow saving signatures of containers used to other repositories

Tests done

  • New passing E2E test

Added a new test case for the COSIGN_REPOSITORY variable
and made the e2e tests more robust by properly handling timeouts,
which weren't working half the time.

Signed-off-by: Bruno Bressi <[email protected]>
- Reduced complexity of Server
- Reduce memory footprint for checking loops
- Other minor renamings & fixes

Signed-off-by: Bruno Bressi <[email protected]>
Signed-off-by: Bruno Bressi <[email protected]>
Signed-off-by: Bruno Bressi <[email protected]>
Signed-off-by: Bruno Bressi <[email protected]>
Signed-off-by: Bruno Bressi <[email protected]>
Signed-off-by: Bruno Bressi <[email protected]>
@puffitos puffitos added this to the 4.1.0 milestone Feb 8, 2024
@puffitos puffitos requested a review from eumel8 February 8, 2024 11:11
@puffitos puffitos self-assigned this Feb 8, 2024
@eumel8
Copy link
Owner

eumel8 commented Feb 9, 2024

@puffitos : many thanks for the feature and the amazing test framework!

@eumel8 eumel8 merged commit 4629548 into main Feb 9, 2024
12 checks passed
@eumel8 eumel8 deleted the feat/cosign-repository branch February 9, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support COSIGN_REPOSITORY variable to allow signatures to be read from other image repositories
2 participants