From d008d4b12dda97c59ce8397d60f9f527745d26ff Mon Sep 17 00:00:00 2001 From: "YiLin.Li" Date: Sun, 13 Sep 2020 17:51:38 +0000 Subject: [PATCH] sgx-tools: Modify the usage description of gen-quote command To use gen-quote command, you also need to have a SPID registered on IAS(https://api.portal.trustedservices.intel.com/EPID-attestation) Signed-off-by: Yilin Li --- sgx-tools/README.md | 2 +- sgx-tools/gen-quote.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sgx-tools/README.md b/sgx-tools/README.md index cd88d51..5598bf9 100644 --- a/sgx-tools/README.md +++ b/sgx-tools/README.md @@ -3,7 +3,7 @@ `sgx-tools` is a command line tool for inclavare-containers. - Given the signature file of an Enclave, `sgx-tools gen-token` command can generate the corresponding token file from aesmd service. - `sgx-tools gen-qe-target-info` command can generate Quoting Enclave's target information file from aesm service. -- Given the report file of an Enclave, `sgx-tools gen-quote` command can generate quote file from aesm service. +- Given the report file of an Enclave, a registered `SPID` of [IAS](https://api.portal.trustedservices.intel.com/EPID-attestation), `sgx-tools gen-quote` command can generate quote file from aesm service. - Given the quote file of an Enclave, a registered `SPID` and `Subscription Key` of [IAS](https://api.portal.trustedservices.intel.com/EPID-attestation), `sgx-tools get-ias-report` command can get remote attestation report from IAS. ## Install Intel `aesmd` service diff --git a/sgx-tools/gen-quote.go b/sgx-tools/gen-quote.go index d9e8028..e073f4c 100644 --- a/sgx-tools/gen-quote.go +++ b/sgx-tools/gen-quote.go @@ -19,7 +19,7 @@ var generateQuoteCommand = cli.Command{ EXAMPLE: For example, generate the quote file according to the given local report file: - # sgx-tools gen-quote --report foo.rep`, + # sgx-tools gen-quote --report foo.rep --spid ${SPID}`, Flags: []cli.Flag{ cli.StringFlag{ Name: "report", -- GitLab