-
Notifications
You must be signed in to change notification settings - Fork 95
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
Move AA abilities to CDH #427
Move AA abilities to CDH #427
Commits on Jan 9, 2024
-
image-rs: use CDH for GetResource API and abondon AA lib dep
As stated in confidential-containers#412, AA will never be used as a component that provides abilities more than attestation. This commit changes the ttrpc socket path from AA to CDH for image-rs to GetResource API. Also, for enclave-cc, the Native resource client will instead use the kbs_protocol crate to do the RCAR handshake and do GetResource. For gRPC, we still use the legacy address, but the API was changed as we do not assume that the API is provided by AA but CDH. Signed-off-by: Xynnn007 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3003ef5 - Browse repository at this point
Copy the full SHA 3003ef5View commit details -
ocicrypt-rs: abondon AA lib dep for UnwrapKey
As stated in confidential-containers#412, AA will never be used as a component that provides abilities more than attestation. This commit changes the AA lib calling to decrypt image. This will influence enclave-cc behavior. Signed-off-by: Xynnn007 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1754b55 - Browse repository at this point
Copy the full SHA 1754b55View commit details -
Signed-off-by: Xynnn007 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ec57f1 - Browse repository at this point
Copy the full SHA 9ec57f1View commit details -
ci: delete duplicated ocicrypt-rs test cases
Signed-off-by: Xynnn007 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3abdeba - Browse repository at this point
Copy the full SHA 3abdebaView commit details -
CDH: add log for launch and requests
add logs for every request. Also deletes previous ttrpc socket file every time the CDH launches. Also, create the parent directory tree when given a unix socket path. Signed-off-by: Xynnn007 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a628283 - Browse repository at this point
Copy the full SHA a628283View commit details -
CDH: update ttrpc generated files
Signed-off-by: Xynnn007 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2be47c3 - Browse repository at this point
Copy the full SHA 2be47c3View commit details -
CDH: delete default RESOURCE_PROVIDER in Makefile
Before this commit, if we do not specify the RESOURCE_PROVIDER field when make, kbs and sev features will be enabled. This will prevent offline-fs-kbc from being activated. This patch requires programmers that manually provide the RESOURCE_PROVIDER parameter when executing make command. Signed-off-by: Xynnn007 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01314df - Browse repository at this point
Copy the full SHA 01314dfView commit details -
CDH/hub: fix the KeyProvider Protobuf
In protobuf, the `package` matters when a client calls to a server. In ocicrypt-rs, the proto of KeyProvider follows ocicrypt standard, where the package is `keyprovider`. We once use a common name `api` for all apis of CDH, but this does not follow the ocicrypt standard. This patch splits the ocicrypt parts into a separate proto file, whose package is `keyprovider`. Signed-off-by: Xynnn007 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49e3569 - Browse repository at this point
Copy the full SHA 49e3569View commit details -
CDH/image: fix unwrap key logic
1. Fix the place of AnnotationPacket. The old code points to a wrong place that was never test so we never found that. 2. Fix the provider comparation logic. The scheme of KBS should be `kbs` rather than `Kbs`. Signed-off-by: Xynnn007 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c01cd0 - Browse repository at this point
Copy the full SHA 9c01cd0View commit details -
image-rs: fix integration test
We used to request AA for image decryption keys and public keys, etc. Now we are using CDH for these non-attestation APIs. This patch brings a workaround that make the test environment look like it is a "peer pod" environment, then the CDH will read aa_kbc_params from a file rather than kernel cmdline. In future, we will define a launch configuration file for CDH. After that, this workaround can be depreciated. Signed-off-by: Xynnn007 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68523c5 - Browse repository at this point
Copy the full SHA 68523c5View commit details