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

net/tls_probe: Introduce "trust_file_crc32c" metric #17539

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

oleiman
Copy link
Member

@oleiman oleiman commented Apr 2, 2024

Compute the crc32c checksum on the complete binary contents of the
trust file on certificate creation and reload. Export this value on
the metric iff a trust file is present AND certs are otherwise valid.
Otherwise export 0.

This will be particularly useful for cloud clients who want to verify
the contents of the trust store but don't have direct access to the
filesystem of the host.

Closes https://github.com/redpanda-data/core-internal/issues/1184

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x

Release Notes

Features

  • Introduce "trust_file_crc32c" metric to export a checksum for each trust file in the system.

Compute the crc32c checksum on the complete binary contents of the
trust file on certificate creation and reload. Export this value on
the metric iff a trust file is present AND certs are otherwise valid.
Otherwise export 0.

This will be particularly useful for cloud clients who want to verify
the contents of the trust store but don't have direct access to the
filesystem of the host.
@oleiman oleiman self-assigned this Apr 2, 2024
@oleiman oleiman marked this pull request as draft April 2, 2024 00:38
@oleiman oleiman marked this pull request as ready for review April 2, 2024 20:32
@oleiman
Copy link
Member Author

oleiman commented Apr 3, 2024

Build will stay broken until https://github.com/redpanda-data/vtools/pull/2616 lands (supporting seastar change), but I've built the vtools PR against this stack and everything seems to be in order.

@michael-redpanda
Copy link
Contributor

Is there a documentation update that will be requested from this pr?

Copy link
Contributor

@michael-redpanda michael-redpanda left a comment

Choose a reason for hiding this comment

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

lgtm

@oleiman
Copy link
Member Author

oleiman commented Apr 3, 2024

Is there a documentation update that will be requested from this pr?

good point. threw the doc-needed label on. that's usually enough to get things moving, right @michael-redpanda?

@rockwotj rockwotj merged commit 8501520 into redpanda-data:dev Apr 3, 2024
13 of 17 checks passed
@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

@Deflaimun
Copy link
Contributor

@oleiman best way to move things forward is to create a doc issue at https://github.com/redpanda-data/documentation-private

I've created one for this task, but need some details
https://github.com/redpanda-data/documentation-private/issues/2332

@oleiman
Copy link
Member Author

oleiman commented Apr 5, 2024

Ah, thank you @Deflaimun 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants