mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-06 14:04:17 -04:00
Add TDX bazel files
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
bda999d54e
commit
c478df36fa
10 changed files with 30 additions and 23 deletions
|
@ -12,6 +12,7 @@ go_library(
|
|||
"//disk-mapper/internal/rejoinclient",
|
||||
"//disk-mapper/internal/setup",
|
||||
"//internal/attestation/choose",
|
||||
"//internal/attestation/tdx",
|
||||
"//internal/attestation/vtpm",
|
||||
"//internal/cloud/aws",
|
||||
"//internal/cloud/azure",
|
||||
|
|
|
@ -127,7 +127,7 @@ func main() {
|
|||
|
||||
// Use TDX if available
|
||||
openDevice := vtpm.OpenVTPM
|
||||
if attestVariant.OID().Equal(oid.QEMUTDX{}.OID()) {
|
||||
if attestVariant.OID().Equal(variant.QEMUTDX{}.OID()) {
|
||||
openDevice = func() (io.ReadWriteCloser, error) {
|
||||
return tdx.Open()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue