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

Make RSA key length configurable #506

Merged
merged 37 commits into from
Oct 2, 2024

Conversation

maltesander
Copy link
Member

@maltesander maltesander commented Sep 30, 2024

Description

This is currently just a "pass-through" for the key length. The RSA / Key length structs could be moved into their own submodule, but since the whole part will be reworked with the operator-rs functionality, this was not done here.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

Reviewer

Acceptance

@maltesander maltesander marked this pull request as ready for review September 30, 2024 15:05
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

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

Thanks!

docs/modules/secret-operator/pages/secretclass.adoc Outdated Show resolved Hide resolved
docs/modules/secret-operator/pages/secretclass.adoc Outdated Show resolved Hide resolved
rust/operator-binary/src/crd.rs Outdated Show resolved Hide resolved
rust/operator-binary/src/crd.rs Outdated Show resolved Hide resolved
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

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

LGTM otherwise

rust/operator-binary/src/backend/tls/ca.rs Outdated Show resolved Hide resolved
rust/operator-binary/src/crd.rs Outdated Show resolved Hide resolved
rust/operator-binary/src/crd.rs Outdated Show resolved Hide resolved
Copy link
Member

@Techassi Techassi left a comment

Choose a reason for hiding this comment

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

A few notes and questions.

deploy/helm/secret-operator/crds/crds.yaml Outdated Show resolved Hide resolved
docs/modules/secret-operator/pages/secretclass.adoc Outdated Show resolved Hide resolved
rust/operator-binary/src/backend/tls/ca.rs Outdated Show resolved Hide resolved
rust/operator-binary/src/crd.rs Outdated Show resolved Hide resolved
maltesander and others added 5 commits October 1, 2024 11:05
Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
…ackabletech/secret-operator into feat/make-tls-key-length-configurable
@maltesander
Copy link
Member Author

sbernauer
sbernauer previously approved these changes Oct 2, 2024
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

rust/operator-binary/src/crd.rs Show resolved Hide resolved
Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
sbernauer
sbernauer previously approved these changes Oct 2, 2024
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

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

LGTM to me, but please address @Techassi comments

sbernauer
sbernauer previously approved these changes Oct 2, 2024
Copy link
Member

@Techassi Techassi left a comment

Choose a reason for hiding this comment

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

LGTM, mostly minor comments.

deploy/helm/secret-operator/crds/crds.yaml Outdated Show resolved Hide resolved
docs/modules/secret-operator/pages/secretclass.adoc Outdated Show resolved Hide resolved
docs/modules/secret-operator/pages/secretclass.adoc Outdated Show resolved Hide resolved
docs/modules/secret-operator/pages/secretclass.adoc Outdated Show resolved Hide resolved
rust/operator-binary/src/crd.rs Show resolved Hide resolved
Co-authored-by: Techassi <sascha.lautenschlaeger@stackable.tech>
Techassi
Techassi previously approved these changes Oct 2, 2024
Copy link
Member

@Techassi Techassi left a comment

Choose a reason for hiding this comment

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

LGTM, one nit.

#[serde(rename_all = "camelCase")]
pub enum CertificateKeyGeneration {
Rsa {
/// The amount of bits used for generating the RSA keypair.
Copy link
Member

@Techassi Techassi Oct 2, 2024

Choose a reason for hiding this comment

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

nit: Use "key pair".

Suggested change
/// The amount of bits used for generating the RSA keypair.
/// The amount of bits used for generating the RSA key pair.

Beware: This requires a make regenerate-chart

@maltesander maltesander added this pull request to the merge queue Oct 2, 2024
Merged via the queue into main with commit 9a23e70 Oct 2, 2024
31 checks passed
@maltesander maltesander deleted the feat/make-tls-key-length-configurable branch October 2, 2024 11:37
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.

Increase RSA key length
3 participants