mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 23:43:56 +02:00
feat: sgx-dcap.default_qpl config file
works now out of the box without a PCCS server and API token. Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
7afe2bbed7
commit
802aca6e67
2 changed files with 23 additions and 6 deletions
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/QuoteGeneration/qcnl/linux/sgx_default_qcnl.conf b/QuoteGeneration/qcnl/linux/sgx_default_qcnl.conf
|
||||||
|
index a7c84c9..ac491b0 100644
|
||||||
|
--- a/QuoteGeneration/qcnl/linux/sgx_default_qcnl.conf
|
||||||
|
+++ b/QuoteGeneration/qcnl/linux/sgx_default_qcnl.conf
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
// *** ATTENTION : This file is in JSON format so the keys are case sensitive. Don't change them.
|
||||||
|
|
||||||
|
//PCCS server address
|
||||||
|
- "pccs_url": "https://localhost:8081/sgx/certification/v4/"
|
||||||
|
+ "pccs_url": "https://api.trustedservices.intel.com/sgx/certification/v4/"
|
||||||
|
|
||||||
|
// To accept insecure HTTPS certificate, set this option to false
|
||||||
|
,"use_secure_cert": true
|
|
@ -63,8 +63,12 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# make tarballs reproducible
|
||||||
./SGXDataCenterAttestationPrimitives-tarball-repro.patch
|
./SGXDataCenterAttestationPrimitives-tarball-repro.patch
|
||||||
|
# sigh... Intel!
|
||||||
./SGXDataCenterAttestationPrimitives-parallel-make.patch
|
./SGXDataCenterAttestationPrimitives-parallel-make.patch
|
||||||
|
# make config work without a dedicated PCCS server by default
|
||||||
|
./SGXDataCenterAttestationPrimitives-sgx_default_qcnl_conf.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue