You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2021/01/28 13:50:51 UTC

[GitHub] [incubator-teaclave] xglreal commented on issue #469: some problem about sgx_ecdsa attentation

xglreal commented on issue #469:
URL: https://github.com/apache/incubator-teaclave/issues/469#issuecomment-769065843


   > Hi @xglreal, thanks for your question! Sorry, I couldn't help you if you cannot provide more detailed information. Like how did you setup the environment?
   The teaclave_dcap_ref_as is builded on the steps:
   **docker run --rm -v $(pwd):/teaclave -w /teaclave \
     -it teaclave/teaclave-build-ubuntu-1804-sgx-dcap-1.6:latest \
      bash -c ". /root/.cargo/env && \
        . /opt/sgxsdk/environment && \
        mkdir -p build && cd build && \
        cmake -DTEST_MODE=ON -DDCAP=ON .. && \
        make"
   
   docker run --rm -v $(pwd):/teaclave -w /teaclave \
     -it teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:latest \
      bash -c ". /root/.cargo/env && \
        . /opt/sgxsdk/environment && \
        mkdir -p build && cd build && \
        cmake -DTEST_MODE=ON -DDCAP=ON .. && \
        make"**
   
   and the **teaclave_dcap_ref_as** will appear in the directory incubator-teaclave/release/dcap/.
   
   
   I use **incubator-teaclave/release/dcap/teaclave_dcap_ref_as**, the builded tool to start dcap service. The setup message is below:
    _Configured for development.
       => address: localhost
       => port: 8080
       => log: normal
       => workers: 4
       => secret key: generated
       => limits: forms = 32KiB
       => keep-alive: 5s
       => tls: enabled
     Mounting /:
       => POST /sgx/dev/attestation/v4/report application/json (verify_quote)
    Rocket has launched from https://localhost:8080_
   
   
   Then, I use the command **./teaclave_sgx_tool attestation  --url https://localhost:8080 --algorithm sgx_ecdsa** to get the dcap service, but eventually I fail to get the service.
   The error message is below:
   _Error: ServiceError_
   
   Is there anyone can help me to fix it?
   
   Thanks.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org