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

CORE-19371 Read highest generation key in SigningRepositoryImpl #5474

Merged

Conversation

simon-johnson-r3
Copy link
Contributor

SigningRepositoryImpl assumed there was a 1:1 mapping between signing key -> key material -> wrapping key. Key rotation creates new key materials and wrapping keys for the same signing key, and requires to pick one key material (and hence wrapping key), the one with the highest wrapping key generation.

@simon-johnson-r3 simon-johnson-r3 requested a review from a team as a code owner January 19, 2024 16:56
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@corda-jenkins-ci02
Copy link
Contributor

Jenkins build for PR 5474 build 1

Build Successful:
Jar artifact version produced by this PR: 5.2.0.0-alpha-1705683464366
Helm chart version produced by this PR: 5.2.0-alpha.1705683464366
Helm chart pushed to: oci://corda-os-docker-dev.software.r3.com/helm-charts/pr-5474/corda

Copy link
Contributor

@anien anien left a comment

Choose a reason for hiding this comment

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

LGTM.

@simon-johnson-r3 simon-johnson-r3 merged commit 5ec5450 into release/os/5.2 Jan 22, 2024
5 checks passed
@simon-johnson-r3 simon-johnson-r3 deleted the simonj/CORE-19371-read-highest-gen-key branch January 22, 2024 14:43
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.

2 participants