提交 33e0d5cf 编写于 作者: Y YiLin.Li 提交者: jia zhang

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: NYilin Li <YiLin.Li@linux.alibaba.com>
上级 3a07022b
...@@ -7,7 +7,7 @@ This guide will guide you how to use remote attestation based on SGX in skeleton ...@@ -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. - 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` # 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 ```json
"process": { "process": {
"args": [ "args": [
...@@ -16,6 +16,15 @@ Before using `rune attest` command, you must ensure your skeleton container/bund ...@@ -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: Then you can run your skeleton containers by typing the following commands:
```shell ```shell
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册