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/26 05:21:46 UTC

[GitHub] [incubator-teaclave] xglreal opened a new issue #469: some problem sgx_ecdsa attentation

xglreal opened a new issue #469:
URL: https://github.com/apache/incubator-teaclave/issues/469


   I use the dcap client 'teaclave_sgx_tool ' to get attentation with the dcap service, but some error was occured.
   
   The commend is:
   _./teaclave_sgx_tool attestation   --url https://localhost:8080 --algorithm sgx_ecdsa_
   
   The error is:
   _root@cc:~/incubator-teaclave#  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
   POST /sgx/dev/attestation/v4/report application/json:
       => Matched: POST /sgx/dev/attestation/v4/report application/json (verify_quote)
   sgx_qv_verify_quote fialed: SGX_QL_QUOTE_CERTIFICATION_DATA_UNSUPPORTED
       => Outcome: Failure
       => Warning: Responding with 400 Bad Request catcher.
       => Response succeeded._
   
   Where is the problem about it?


----------------------------------------------------------------
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


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

Posted by GitBox <gi...@apache.org>.
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


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

Posted by GitBox <gi...@apache.org>.
xglreal edited a comment 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:
   
   1、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"
   
   2、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


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

Posted by GitBox <gi...@apache.org>.
xglreal edited a comment 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:
   1、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"
   2、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


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

Posted by GitBox <gi...@apache.org>.
xglreal edited a comment 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


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

Posted by GitBox <gi...@apache.org>.
xglreal edited a comment 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


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

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #469:
URL: https://github.com/apache/incubator-teaclave/issues/469#issuecomment-767749035


   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?


----------------------------------------------------------------
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


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

Posted by GitBox <gi...@apache.org>.
xglreal edited a comment 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:
   **1、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"
   2、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