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

jobs/fix-build: support verifying signuates #1004

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Jun 17, 2024

Normally, cosa sign verifies that the signatures from Robosignatory are valid and then makes them public. We need to retain this check when using fix-build for safety (and also because we need the sigs public).

Just make this so that if SKIP_SIGNING is on (i.e. we know the builds were eventually signed), then pass --verify-only to cosa sign which will skip re-requesting signing.

Patch best viewed with whitespace ignored.

Normally, `cosa sign` verifies that the signatures from Robosignatory
are valid and then makes them public. We need to retain this check when
using `fix-build` for safety (and also because we need the sigs public).

Just make this so that if `SKIP_SIGNING` is on (i.e. we know the builds
were eventually signed), then pass `--verify-only` to `cosa sign` which
will skip re-requesting signing.

Patch best viewed with whitespace ignored.
@jlebon
Copy link
Member Author

jlebon commented Jun 17, 2024

Requires: coreos/coreos-assembler#3821

Copy link
Contributor

@jbtrystram jbtrystram left a comment

Choose a reason for hiding this comment

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

LGTM

@jlebon jlebon merged commit 85c98b3 into coreos:main Jun 17, 2024
2 checks passed
@jlebon jlebon deleted the pr/sig-acl branch June 17, 2024 19:57
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.

None yet

2 participants