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

Add helper function to parse signing algorithm according to rfc #1057

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

8R0WNI3
Copy link
Member

@8R0WNI3 8R0WNI3 commented Oct 11, 2024

What this PR does / why we need it:
Lakom expects signing algorithm to match the standard format described in https://datatracker.ietf.org/doc/html/rfc3447, hence adding a helper function to create the expected format.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
Altough it is an option, it may not be beneficial to directly adjust the enum to mirror the standard described in the rfc because (1) existing cosign signatures would not be reused but instead new signatures would be appended because it seems the algorithm had changed (2) OCM cli expects algorithms to be upper case

Release note:


@8R0WNI3 8R0WNI3 requested review from ccwienk and zkdev as code owners October 11, 2024 11:34
@gardener-robot gardener-robot added the needs/review Needs review label Oct 11, 2024
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Oct 11, 2024
@gardener-robot gardener-robot added the size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) label Oct 11, 2024
@gardener-robot-ci-2 gardener-robot-ci-2 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Oct 11, 2024
@8R0WNI3 8R0WNI3 force-pushed the 8R0WNI3-signing-algorithm branch from 077898b to a30c9e4 Compare October 11, 2024 11:48
@gardener-robot-ci-1 gardener-robot-ci-1 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Oct 11, 2024
@gardener-robot-ci-1 gardener-robot-ci-1 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Oct 11, 2024
Altough it is an option, it may not be beneficial to directly adjust the
enum to mirror the standard described in the rfc because
(1) existing cosign signatures would not be reused but instead new
signatures would be appended because it seems the algorithm had changed
(2) OCM cli expects algorithms to be upper case
@8R0WNI3 8R0WNI3 force-pushed the 8R0WNI3-signing-algorithm branch from a30c9e4 to a5bf89f Compare October 11, 2024 12:01
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Oct 11, 2024
@gardener-robot-ci-2 gardener-robot-ci-2 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Oct 11, 2024
@8R0WNI3 8R0WNI3 merged commit c5da172 into master Oct 14, 2024
12 checks passed
@8R0WNI3 8R0WNI3 deleted the 8R0WNI3-signing-algorithm branch October 14, 2024 10:24
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/review Needs review size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants