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

Sign ignores .sig, .att, .sbom #1660

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Sign ignores .sig, .att, .sbom #1660

merged 1 commit into from
Jun 20, 2024

Conversation

MichalPysik
Copy link
Member

The signing tasks no longer signs cosign signatures, attestations and sboms (images that end with .sigg, .att, or .sbom) and ignores them instead.

closes #1347

@MichalPysik MichalPysik requested review from ipanova and lubosmj June 12, 2024 11:20
@MichalPysik MichalPysik marked this pull request as draft June 12, 2024 12:41
Comment on lines 53 to 55
Q(container_tag__endswith=".sig")
| Q(container_tag__endswith=".att")
| Q(container_tag__endswith=".sbom")
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if there are any more types we would like to ignore. I could not find any while briefly googling the subject.

Copy link
Member

Choose a reason for hiding this comment

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

instead of traversing into another table do it directly from the Tag.name on line 65

CHANGES/1347.bugfix Outdated Show resolved Hide resolved
Comment on lines 53 to 55
Q(container_tag__endswith=".sig")
| Q(container_tag__endswith=".att")
| Q(container_tag__endswith=".sbom")
Copy link
Member

Choose a reason for hiding this comment

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

instead of traversing into another table do it directly from the Tag.name on line 65

@MichalPysik MichalPysik force-pushed the sign_ignore branch 4 times, most recently from 4766943 to 72eda42 Compare June 17, 2024 11:10
@MichalPysik MichalPysik requested review from lubosmj and ipanova June 17, 2024 11:47
@lubosmj lubosmj marked this pull request as ready for review June 19, 2024 11:57
Copy link
Member

@lubosmj lubosmj left a comment

Choose a reason for hiding this comment

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

The change addresses the problem. I did not find any other suffices that we should consider during the evaluation.

CHANGES/1347.bugfix Outdated Show resolved Hide resolved
CHANGES/1347.bugfix Outdated Show resolved Hide resolved
@MichalPysik MichalPysik force-pushed the sign_ignore branch 4 times, most recently from 7274d8b to 7bd95e5 Compare June 20, 2024 12:37
The signing tasks no longer signs cosign signatures, attestations and
sboms (images that end with .sigg, .att, or .sbom) and ignores them
instead.

closes pulp#1347
@lubosmj lubosmj merged commit ff3068c into pulp:main Jun 20, 2024
16 checks passed
@MichalPysik MichalPysik deleted the sign_ignore branch June 20, 2024 13:56
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.

Signing task should ignore cosign produced signatures, attestations and sboms
3 participants