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: Support signing bundles during copy #3204

Closed
wants to merge 1 commit into from

Conversation

kichristensen
Copy link
Contributor

What does this change

Make it possible to sign bundles during copy between repositories. This is handle by creating a new signature, NOT by copying the potential existing signature. This is done for two reasons:

  1. A signature might not be present on the source bundle
  2. Repositories might use different digest algorithms or calculate the digest differently

What issue does it fix

Closes #3203

Notes for the reviewer

Test will be created after #3201 is merged, as the tests are refactored in that PR

Checklist

  • Did you write tests?
  • Did you write documentation?
  • Did you change porter.yaml or a storage document record? Update the corresponding schema file.
  • If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇‍♀️

Make it possible to sign bundles during copy between repositories.
This is handle by creating a new signature, NOT by copying the potential
existing signature. This is done for two reasons:

1. A signature might not be present on the source bundle
1. Repositories might use different digest algorithms or calculate the digest differently

Signed-off-by: Kim Christensen <kimworking@gmail.com>
@kichristensen kichristensen deleted the signImageCopy branch August 13, 2024 09:52
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.

Copying bundles doesn't support signing
1 participant