mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-05 21:31:36 +00:00
[Pal/Linux-SGX] Allow EPID attestation even with DCAP SGX driver
Previously, Graphene assumed that if it was built with the DCAP SGX driver or in-kernel SGX driver, then it should use DCAP/ECDSA based attestation. In fact, the SGX driver has nothing to do with the attestation scheme. This commit allows to use EPID based attestation even when Graphene is built with the DCAP SGX driver.
This commit is contained in:
@@ -16,9 +16,9 @@ GRAPHENEKEY ?= $(GRAPHENEDIR)/Pal/src/host/Linux-SGX/signer/enclave-key.pem
|
||||
|
||||
ARCH_LIBDIR ?= /lib/x86_64-linux-gnu
|
||||
|
||||
# Specify your SPID and linkable/unlinkable attestation policy (only for EPID);
|
||||
# these variables will not be used if this example is built for ECDSA/DCAP
|
||||
RA_CLIENT_SPID ?= AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
# for EPID attestation, specify your SPID and linkable/unlinkable attestation policy;
|
||||
# for DCAP/ECDSA attestation, specify SPID as empty string (linkable value is ignored)
|
||||
RA_CLIENT_SPID ?=
|
||||
RA_CLIENT_LINKABLE ?= 0
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
GRAPHENEDIR ?= ../..
|
||||
GRAPHENEKEY ?= $(GRAPHENEDIR)/Pal/src/host/Linux-SGX/signer/enclave-key.pem
|
||||
|
||||
# Specify your SPID and linkable/unlinkable attestation policy (only for EPID);
|
||||
# these variables will not be used if this example is built for ECDSA/DCAP
|
||||
RA_CLIENT_SPID ?= AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
# for EPID attestation, specify your SPID and linkable/unlinkable attestation policy;
|
||||
# for DCAP/ECDSA attestation, specify SPID as empty string (linkable value is ignored)
|
||||
RA_CLIENT_SPID ?=
|
||||
RA_CLIENT_LINKABLE ?= 0
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
|
||||
Reference in New Issue
Block a user