mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-24 06:54:57 -04:00
attestation: tdx issuer/validator (#1265)
* Add TDX validator * Add TDX issuer --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
d104af6e51
commit
dd2da25ebe
53 changed files with 808 additions and 229 deletions
|
@ -5,5 +5,8 @@ go_library(
|
|||
srcs = ["nodelock.go"],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/bootstrapper/internal/nodelock",
|
||||
visibility = ["//bootstrapper:__subpackages__"],
|
||||
deps = ["//internal/attestation/vtpm"],
|
||||
deps = [
|
||||
"//internal/attestation/initialize",
|
||||
"//internal/attestation/vtpm",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -10,6 +10,7 @@ package nodelock
|
|||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/edgelesssys/constellation/v2/internal/attestation/initialize"
|
||||
"github.com/edgelesssys/constellation/v2/internal/attestation/vtpm"
|
||||
)
|
||||
|
||||
|
@ -40,5 +41,5 @@ func (l *Lock) TryLockOnce(clusterID []byte) (bool, error) {
|
|||
return false, nil
|
||||
}
|
||||
|
||||
return true, vtpm.MarkNodeAsBootstrapped(l.tpm, clusterID)
|
||||
return true, initialize.MarkNodeAsBootstrapped(l.tpm, clusterID)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue