-
Notifications
You must be signed in to change notification settings - Fork 45
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
Conversation
pulp_container/app/tasks/sign.py
Outdated
Q(container_tag__endswith=".sig") | ||
| Q(container_tag__endswith=".att") | ||
| Q(container_tag__endswith=".sbom") |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
pulp_container/app/tasks/sign.py
Outdated
Q(container_tag__endswith=".sig") | ||
| Q(container_tag__endswith=".att") | ||
| Q(container_tag__endswith=".sbom") |
There was a problem hiding this comment.
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
4766943
to
72eda42
Compare
There was a problem hiding this 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.
7274d8b
to
7bd95e5
Compare
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
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