From 33e0d5cfb5cc8c90cb41ea89f0ce67604ddae4f8 Mon Sep 17 00:00:00 2001 From: "YiLin.Li" Date: Wed, 19 Aug 2020 11:49:41 +0000 Subject: [PATCH] docs: Configure enclave.runtime.path as liberpal-skeleton-v3.so in skeleton_remote_attestation_with_rune.md. Only `liberpal-skeleton-v3.so` supports `rune attest` command. Signed-off-by: Yilin Li --- .../skeleton/skeleton_remote_attestation_with_rune.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/rune/libenclave/internal/runtime/pal/skeleton/skeleton_remote_attestation_with_rune.md b/rune/libenclave/internal/runtime/pal/skeleton/skeleton_remote_attestation_with_rune.md index 71e915b..7ed1303 100644 --- a/rune/libenclave/internal/runtime/pal/skeleton/skeleton_remote_attestation_with_rune.md +++ b/rune/libenclave/internal/runtime/pal/skeleton/skeleton_remote_attestation_with_rune.md @@ -7,7 +7,7 @@ This guide will guide you how to use remote attestation based on SGX in skeleton - Register a `SPID` and `Subscription Key` of [IAS](https://api.portal.trustedservices.intel.com/EPID-attestation). After the registration, Intel will respond with a SPID which is needed to communicate with IAS. # Run skeleton bundle with `rune` -Before using `rune attest` command, you must ensure your skeleton container/bundles(such as skeleton-enclave-container) running by setting `"wait_timeout","100"` of `process.args` in config.json, just like +Before using `rune attest` command, you must ensure your skeleton container/bundles(such as skeleton-enclave-container) running by setting `"wait_timeout","100"` of `process.args` in config.json as following: ```json "process": { "args": [ @@ -16,6 +16,15 @@ Before using `rune attest` command, you must ensure your skeleton container/bund } ``` +Only `liberpal-skeleton-v3.so` supports `rune attest` command. So you also need to configure enclave runtime as following: +```json +"annotations": { + "enclave.type": "intelSgx", + "enclave.runtime.path": "/usr/lib/liberpal-skeleton-v3.so", + "enclave.runtime.args": "debug" +} +``` + Then you can run your skeleton containers by typing the following commands: ```shell -- GitLab