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

cdh: move kms crate to cdh module #816

Conversation

mkulke
Copy link
Contributor

@mkulke mkulke commented Nov 20, 2024

the kms crate is used exclusively by cdh, so we don't need to maintain it as individual crate, which helps with naming conflicts and reduces build complexity.

note: this currently builds on pr #814

@mkulke mkulke force-pushed the mkulke/rework-kms-crate-as-cdh-module branch 3 times, most recently from 4cf1fdb to 7ee0c6e Compare November 20, 2024 16:44
the kms crate is used exclusively by cdh, so we don't
need to maintain it as individua crate, which helps
with naming conflicts and reduces build complexity.

Signed-off-by: Magnus Kulke <[email protected]>
@mkulke mkulke force-pushed the mkulke/rework-kms-crate-as-cdh-module branch from 7ee0c6e to 5481884 Compare November 20, 2024 17:20
@mkulke mkulke marked this pull request as ready for review November 20, 2024 17:20
@mkulke mkulke requested a review from a team as a code owner November 20, 2024 17:20
Copy link
Member

@Xynnn007 Xynnn007 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!

Copy link
Member

@fitzthum fitzthum left a comment

Choose a reason for hiding this comment

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

LGTM

@mkulke mkulke merged commit 3ab8129 into confidential-containers:main Nov 21, 2024
17 checks passed
@mkulke mkulke deleted the mkulke/rework-kms-crate-as-cdh-module branch November 21, 2024 16:47
@Xynnn007
Copy link
Member

Oh. Now KBS imports kms as a dependency here as backend impl of KBS. Now if we want to import the denpendency in trustee we need to use confidential-data-hub, which will also import image-rs and a lot of other dependencies.

So probably we'd better move kms crate out to deps as it would be used outside cdh.

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.

3 participants