-
Notifications
You must be signed in to change notification settings - Fork 9
Implement KBS API integration for LUKS key and AK management #242
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
Changes from all commits
1d2bffc
f86c22e
dd076ab
b8f18ac
c4b9d73
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,6 +30,7 @@ serde.workspace = true | |
| serde_json.workspace = true | ||
| thiserror = "2.0.18" | ||
| tokio.workspace = true | ||
| kbs-client = {git = "https://github.com/iroykaufman/trustee/", branch = "ak-registration"} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason for using your fork?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, currently registering AK using the KBS API is not supported. I created this PR#1306 to include support. |
||
|
|
||
| [dev-dependencies] | ||
| http.workspace = true | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ insecure_http = true | |
|
|
||
| [admin] | ||
| insecure_api = true | ||
| auth_public_key="/key/public.pub" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: space between the 2 string and the = |
||
| type = "InsecureAllowAll" | ||
|
|
||
| [attestation_token] | ||
|
|
@@ -32,8 +33,7 @@ policy_engine = "opa" | |
|
|
||
| [[plugins]] | ||
| name = "resource" | ||
| type = "LocalFs" | ||
| dir_path = "/opt/trustee/kbs-repository" | ||
| type = "kvstorage" | ||
|
|
||
| [policy_engine] | ||
| policy_path = "/opt/trustee/policy.rego" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need these dependecies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
openssl-sysfails when this dependency is missing. This is because I bumped all the dependency versions, the upstream usesopenssl-sys 0.9.112, and here it isopenssl-sys 0.9.113. This is the error message: