Skip to content

fix: make shared secrets stable across reconcile operations#874

Open
razvan wants to merge 1 commit intomainfrom
fix/SUP-326
Open

fix: make shared secrets stable across reconcile operations#874
razvan wants to merge 1 commit intomainfrom
fix/SUP-326

Conversation

@razvan
Copy link
Copy Markdown
Member

@razvan razvan commented Mar 30, 2026

Description

Please add a description here. This will become the commit message of the merge request later.

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

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@razvan razvan self-assigned this Mar 30, 2026
Comment on lines +1589 to +1595
openssl::pkcs5::pbkdf2_hmac(
seed,
b"",
1,
openssl::hash::MessageDigest::sha256(),
&mut buf,
)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We already chatted in person, but I think this is problematic from a security perspective:
If a user knows the name of the stacklet, it can easily calculate the shared secret, in which case it is not secret any more ^^
Or another example: The TrinoClusters "trino" in dev, qa and prod namespaces share the same shared secret

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