mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-08 15:02:18 -04:00
attestation: create issuer based on kernel cmd line (#1355)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
80ff380859
commit
5bad5f768b
7 changed files with 209 additions and 56 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
"strconv"
|
||||
|
||||
"github.com/edgelesssys/constellation/v2/internal/attestation/aws"
|
||||
"github.com/edgelesssys/constellation/v2/internal/attestation/azure"
|
||||
"github.com/edgelesssys/constellation/v2/internal/attestation/azure/snp"
|
||||
"github.com/edgelesssys/constellation/v2/internal/attestation/gcp"
|
||||
"github.com/edgelesssys/constellation/v2/internal/attestation/qemu"
|
||||
"github.com/edgelesssys/constellation/v2/internal/cloud/cloudprovider"
|
||||
|
@ -39,7 +39,7 @@ func main() {
|
|||
case cloudprovider.GCP:
|
||||
issuer = gcp.NewIssuer(log)
|
||||
case cloudprovider.Azure:
|
||||
issuer = azure.NewIssuer(log)
|
||||
issuer = snp.NewIssuer(log) // TODO: dynamic selection
|
||||
case cloudprovider.QEMU:
|
||||
issuer = qemu.NewIssuer(log)
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue