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

fix: use remove-signatures in skopeo copy stages #676

Merged

Conversation

mmartinv
Copy link
Contributor

@mmartinv mmartinv commented Oct 14, 2024

According to [1] neither Docker daemon nor OCI support storing
the container signatures, and skopeo copy refuses to just silently drop
them and fails.

When using skopeo copy --remove-signatures to make the copy, the
signatures will be still read and policy.json will still be enforced,
they just won’t be written into the destination.

[1] containers/skopeo#589 (comment)

@cgwalters
Copy link
Contributor

According to [1] neither Docker daemon nor OCI support storing
the container signatures, and skopeo copy refuses to just silently drop
them and fails.

When using `skopeo copy --remove-signatures` to make the copy, the
signatures will be still read and policy.json will still be enforced,
they just won’t be written into the destination.

[1] containers/skopeo#589 (comment)

Resolves: THEEDGE-4032
Relates: RHEL-34807

Signed-off-by: Miguel Martín <[email protected]>
@mmartinv mmartinv force-pushed the skopeo-copy-to-iso-remove-signatures branch from 852ba1b to fad8167 Compare October 15, 2024 09:02
@mmartinv mmartinv marked this pull request as ready for review October 15, 2024 09:03
Copy link
Collaborator

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

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

Thank you

Copy link
Member

@ondrejbudai ondrejbudai left a comment

Choose a reason for hiding this comment

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

Thanks!

@ondrejbudai ondrejbudai marked this pull request as ready for review October 18, 2024 15:55
@ondrejbudai ondrejbudai added this pull request to the merge queue Oct 18, 2024
Merged via the queue into osbuild:main with commit 22de964 Oct 18, 2024
7 of 10 checks passed
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.

4 participants