[apache/incubator-teaclave-sgx-sdk] Upgrade toolchain to 2020-09-08 (#268)

2020-09-08 Thread Yu Ding
changes in this pr: - [x] upgrade to nightly-2020-09-08 - [ ] upgrade to hashbrown 0.9.0. waiting on: https://github.com/rust-lang/rust/pull/76458 You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/268 -- Commit Summary --

Re: [apache/incubator-teaclave] Got error when invoking echo function by python! (#411)

2020-09-08 Thread Agzs
OK, there is the new report: ``` ethtest@ethtest:tool$ export TEACLAVE_LOG=debug * ethtest@ethtest:tool$ ./teaclave_sgx_tool attestation --key XXX --spid XXX [2020-09

Re: [apache/incubator-teaclave-sgx-sdk] support intel sgx sdk 2.11 and dcap 1.8 (#267)

2020-09-08 Thread Yu Ding
Merged #267 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/267#event-3743986375

Re: [apache/incubator-teaclave] Got error when invoking echo function by python! (#411)

2020-09-08 Thread Mingshen Sun
Can you set the env var `export TEACLAVE_LOG=debug` before running the tool as well? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/411#issuecomment-689307413

Re: [apache/incubator-teaclave] Got error when invoking echo function by python! (#411)

2020-09-08 Thread Agzs
@mssun Thanks, I do that, and get the error as follows: ``` ethtest@ethtest:tool$ pwd /home/ethtest/incubator-teaclave/release/tool *** ethtest@ethtest:tool$ ./teaclave_sg

Re: [apache/incubator-teaclave-sgx-sdk] support intel sgx sdk 2.11 and dcap 1.8 (#267)

2020-09-08 Thread Yu Ding
> @dingelish Does this PR need to upgrade the rust version? I think we can put > the rust version upgrade to the next PR. ok. we can do that. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubat

Re: [apache/incubator-teaclave-sgx-sdk] support intel sgx sdk 2.11 and dcap 1.8 (#267)

2020-09-08 Thread volcano
@dingelish Does this PR need to upgrade the rust version? I think we can put the rust version upgrade to the next PR. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/

Re: [apache/incubator-teaclave-sgx-sdk] support intel sgx sdk 2.11 and dcap 1.8 (#267)

2020-09-08 Thread Yu Ding
todo: [ ] upgrade hashbrown to 0.9 after https://github.com/rust-lang/rust/pull/76458 [ ] regression test -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/267#issuecomm

Re: [apache/incubator-teaclave] Remove mayfail from the common library (#418)

2020-09-08 Thread Mingshen Sun
Merged #418 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/418#event-3743311352

Re: [apache/incubator-teaclave] Got error when invoking echo function by python! (#411)

2020-09-08 Thread Mingshen Sun
Hi, in this PR #416, I have fixed the issue about error message printing. Can you pull the latest master and compile the teaclave sgx tool again? Then, you will get the error message in the standard output. Thanks. -- You are receiving this because you are subscribed to this thread. Reply to th

Re: [apache/incubator-teaclave] Add examples in the CLI's document (#417)

2020-09-08 Thread Mingshen Sun
Merged #417 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/417#event-3743238880

Re: [apache/incubator-teaclave] Print out error messages instead of logging for the sgx tool (#416)

2020-09-08 Thread Mingshen Sun
Merged #416 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/416#event-3743238028

[apache/incubator-teaclave] Remove mayfail from the common library (#418)

2020-09-08 Thread Mingshen Sun
## Description `mayfail` is a helper library crated/designed for the legacy code and currently not used. I suggest to remove it. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/418 -- Commit Summary -- * Remove mayfail from

[apache/incubator-teaclave] Add examples in the CLI's document (#417)

2020-09-08 Thread Mingshen Sun
## Description - Add examples in the CLI's readme. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/417 -- Commit Summary -- * Add examples in the CLI's document -- File Changes -- M cli/README.md (32) M cli/src/main

[apache/incubator-teaclave] Print out error messages instead of logging for the sgx tool (#416)

2020-09-08 Thread Mingshen Sun
## Description Print out error messages instead of logging for the sgx tool. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/416 -- Commit Summary -- * Print out error message instead of logging for the sgx tool -- File Chan

Re: [apache/incubator-teaclave] Got error when invoking echo function by python! (#411)

2020-09-08 Thread Agzs
I do that but get nothing ``` ethtest@ethtest:tool$ ./teaclave_sgx_tool attestation --key XXX --spid 7118C31619F0003A3F5EDC7D32E9AED0 ** ethtest@ethtest:tool$ ./teaclave