Re: [apache/incubator-teaclave-sgx-sdk] Creating `Rsa3072KeyPair` under `ucrypto` feature panics (Issue #456)

2024-03-26 Thread volcano
Thank you for reporting this issue. Fixed. [commit](https://github.com/apache/incubator-teaclave-sgx-sdk/commit/2d1e0a43e996dff95d0b33010496536704d58e85) -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/456#issuecomment-2020631652

Re: [apache/incubator-teaclave-sgx-sdk] Implement enclave memory management (PR #436)

2024-02-17 Thread volcano
> @ClawSeven Hi, I notice two issues with your PR: > > 1. your `emm` sample code cannot be built with `BUILD_STD=cargo` > 2. I merged your commits in this PR into the current `v2.0.0-preview` branch > to support the latest rust toolchain as this [fork > branch](https://gitlab.com/dexlabs/incubat

[apache/incubator-teaclave-sgx-sdk] Support rust nightly-2023-11-17 (PR #453)

2024-02-06 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/453 -- Commit Summary -- * Support rust nightly-2023-11-17 -- File Changes -- M rust-toolchain (2) M rustlib/panic_abort/src/lib.rs (9) M rustlib/panic_unw

Re: [apache/incubator-teaclave-sgx-sdk] Support rust nightly-2023-11-17 (PR #453)

2024-02-06 Thread volcano
Merged #453 into v2.0.0-preview. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/453#event-11726530607 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Example for microsoft azure attestation (PR #448)

2023-12-04 Thread volcano
Merged #448 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/448#event-11146658000 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Next rustc-toolchain update? (Issue #445)

2023-12-03 Thread volcano
I will focus on maintaining v2.0.0. Since some other projects are still using the master branch (such as [Occlum](https://github.com/occlum/occlum)), the upgrade of the master branch is mainly to adapt to the new version of intel-sgx-sdk. -- Reply to this email directly or view it on GitHub: h

Re: [apache/incubator-teaclave] Intel SGX latest support (Issue #723)

2023-11-08 Thread volcano
The teaclave is using rust-SGX-SDK v2, which is now bound to intel-sgx-sdk 2.17. We are developing EDMM features for rust-sgx-sdk v2 and when the code is merged we will support intel-sgx-sdk 2.21 or higher. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubato

Re: [apache/incubator-teaclave] Intel SGX latest support (Issue #723)

2023-11-08 Thread volcano
The teaclave is using rust-SGX-SDK v2, rust-SGX-SDK v2 is now bound to intel-sgx-sdk 2.17. We are developing EDMM features for rust-sgx-sdk v2, the EDMM feature code is merged, and we plan to support intel -sgx-sdk 2.21 or newer. -- Reply to this email directly or view it on GitHub: https://g

Re: [apache/incubator-teaclave-sgx-sdk] Next rustc-toolchain update? (Issue #445)

2023-10-28 Thread volcano
I plan to complete the rust-toolchain upgrade in November. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/445#issuecomment-1783980649 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Next rustc-toolchain update? (Issue #445)

2023-09-17 Thread volcano
Sorry I've been debugging and reviewing Occlum and teaclave's EDMM features recently, I will update the rust toolchain as soon as possible. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/445#issuecomment-1722477791 You are receiv

Re: [apache/incubator-teaclave-sgx-sdk] Implement ReentrantMutex based on spin (PR #443)

2023-08-23 Thread volcano
Merged #443 into v2.0.0-preview. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/443#event-10168010036 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Support intel-sdk-2.20 and dcap-1.17 (PR #440)

2023-07-25 Thread volcano
Merged #440 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/440#event-9918271865 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Support intel-sdk-2.20 and dcap-1.17 (PR #440)

2023-07-25 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/440 -- Commit Summary -- * Support intel-sdk-2.20 and dcap-1.17 -- File Changes -- M dockerfile/02_binutils.sh (2) M dockerfile/03_sdk.sh (4) M dockerfile/

Re: [apache/incubator-teaclave-sgx-sdk] Implement Send and Sync for SgxFile (PR #439)

2023-07-01 Thread volcano
Merged #439 into v2.0.0-preview. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/439#event-9695428555 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Remove cargo doc warnings (PR #435)

2023-06-11 Thread volcano
Merged #435 into v2.0.0-preview. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/435#event-9496572993 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Remove unused files in libbacktrace (PR #434)

2023-05-21 Thread volcano
Merged #434 into v2.0.0-preview. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/434#event-9296019385 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Remove unused files in libbacktrace (PR #434)

2023-05-21 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/434 -- Commit Summary -- * Remove unused files in libbacktrace -- File Changes -- D sgx_backtrace/sgx_backtrace_sys/libbacktrace/Makefile.in (1021) D sgx_backt

Re: [apache/incubator-teaclave-sgx-sdk] Fix for Dockerfile smell DL3020 (PR #429)

2023-05-21 Thread volcano
Merged #429 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/429#event-9295912689 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Polish third-party licenses (PR #433)

2023-05-21 Thread volcano
Merged #433 into v2.0.0-preview. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/433#event-9295911305 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Remove a GPL licensed file (PR #431)

2023-04-23 Thread volcano
Merged #431 into v2.0.0-preview. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/431#event-9077305568 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] midified atomic::ordering about FIRST_PANIC (PR #427)

2023-04-06 Thread volcano
@wang384670111 Thanks for reporting this issue. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/427#issuecomment-1498917264 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] modified atomic::ordering about SHOULD_CAPTURE (PR #428)

2023-04-06 Thread volcano
@wang384670111 Thanks for reporting this issue. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/428#issuecomment-1498916931 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Fix backtrace access to illegal memory (PR #426)

2023-03-26 Thread volcano
Merged #426 into v2.0.0-preview. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/426#event-8849250992 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Fix backtrace access to illegal memory (PR #426)

2023-03-26 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/426 -- Commit Summary -- * Fix backtrace access to illegal memory * Update dockerfile -- File Changes -- M .gitignore (1) M sgx_backtrace/sgx_backtrace_sys/l

Re: [apache/incubator-teaclave-sgx-sdk] Modify misuse regarding the use of ordering (PR #424)

2023-03-25 Thread volcano
Merged #424 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/424#event-8846310861 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Modify misuse regarding the use of ordering (PR #425)

2023-03-25 Thread volcano
Merged #425 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/425#event-8846310162 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Modify misuse regarding the use of ordering (PR #425)

2023-03-17 Thread volcano
Thank you for reporting this issue, I will review the code as soon as possible. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/425#issuecomment-1474663640 You are receiving this because you are subscribed to this thread. Message ID

Re: [apache/incubator-teaclave-sgx-sdk] Support intel-dcap-1.16 (PR #423)

2023-03-16 Thread volcano
Merged #423 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/423#event-8773299102 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Fix access to untrusted memory during unwind (PR #422)

2023-03-16 Thread volcano
Merged #422 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/422#event-8773298012 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Support intel-dcap-1.16 (PR #423)

2023-03-15 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/423 -- Commit Summary -- * Support intel-dcap-1.16 -- File Changes -- M sgx_types/src/error.rs (93) M sgx_types/src/function.rs (42) M sgx_types/src/types.

[apache/incubator-teaclave-sgx-sdk] Fix access to untrusted memory during unwind (PR #422)

2023-03-15 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/422 -- Commit Summary -- * Fix access to untrusted memory during unwind -- File Changes -- M .gitignore (6) M samplecode/backtrace/Makefile (2) M sgx_backt

Re: [apache/incubator-teaclave-sgx-sdk] Fix switchless sample code (#260)

2023-03-04 Thread volcano
> I understand this issue has been closed but I needed more clarity on this > one. I tried including `-Wl,--whole-archive -lsgx_uswitchless > -Wl,--no-whole-archive` in my file with main() however I run into following > error: `= note: > /opt/intel/sgxsdk/lib64/libsgx_uswitchless.a(sl_urts_load

Re: [apache/incubator-teaclave-sgx-sdk] Fix the EMM interface pointer type (PR #420)

2023-02-28 Thread volcano
Merged #420 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/420#event-8625385310 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Fix the EMM interface pointer type (PR #420)

2023-02-28 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/420 -- Commit Summary -- * Fix the EMM interface pointer type -- File Changes -- M sgx_trts/src/emm.rs (16) M sgx_types/src/function.rs (16) -- Patch Links --

Re: [apache/incubator-teaclave-sgx-sdk] Fix number of layout entry for global_data_t (PR #419)

2023-02-05 Thread volcano
Merged #419 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/419#event-8443844791 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Fix number of layout entry for global_data_t (PR #419)

2023-02-05 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/419 -- Commit Summary -- * Fix number of layout entry for global_data_t -- File Changes -- M sgx_trts/src/enclave.rs (2) -- Patch Links -- https://github.com/apa

Re: [apache/incubator-teaclave-sgx-sdk] do not ignore app/ dirs (PR #417)

2023-01-27 Thread volcano
Merged #417 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/417#event-8378642898 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] reamde: update required nightly (PR #416)

2023-01-12 Thread volcano
Merged #416 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/416#event-8216808537 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] V2.0.0 preview:can't build `pgx` crate with error:can't find crate for `proc_macro` (Issue #415)

2023-01-07 Thread volcano
Thanks for reporting this issue. I solved it by adding `proc-macro` to sysroot. I updated `template`, you can try to compile your project again. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/415#issuecomment-1374504428 You are r

Re: [apache/incubator-teaclave-sgx-sdk] Install additional libraries into docker image (PR #414)

2023-01-07 Thread volcano
Merged #414 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/414#event-8174204453 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Install additional libraries into docker image (PR #414)

2023-01-07 Thread volcano
LGTM -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/414#issuecomment-1374417606 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Does not support simulator mode? (Issue #413)

2022-12-20 Thread volcano
teaclave-sgx-sdk also supports simulation mode. For example: `SGX_MODE=SW make `to build sample code -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/413#issuecomment-1360903901 You are receiving this because you are subscribed to t

Re: [apache/incubator-teaclave-sgx-sdk] Support intel sgx sdk 2.18 (PR #412)

2022-12-19 Thread volcano
Merged #412 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/412#event-8066771708 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Support intel sgx sdk 2.18 (PR #412)

2022-12-11 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/412 -- Commit Summary -- * Support intel sgx sdk 2.18 -- File Changes -- A common/inc/fenv.h (139) A common/inc/stdalign.h (15) M common/inc/stddef.h (2)

Re: [apache/incubator-teaclave-sgx-sdk] Fix sgx_tprotected_fs rename (PR #411)

2022-12-09 Thread volcano
Merged #411 into v2.0.0-preview. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/411#event-869471 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Upgrade to Rust SGX SDK 2.0.0 (PR #666)

2022-12-07 Thread volcano
Rust SGX SDK 2.0.0 has implemented [sgx_protected_fs](https://github.com/apache/incubator-teaclave-sgx-sdk/tree/v2.0.0-preview/sgx_protected_fs) with Rust, and can support the use inside and outside the Enclave. I think you can replace [protected_fs_rs](https://github.com/apache/incubator-teacl

Re: [apache/incubator-teaclave-sgx-sdk] Add DCAP libraries (PR #410)

2022-11-29 Thread volcano
Merged #410 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/410#event-7909965638 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Bump version to 1.1.6 (PR #408)

2022-11-14 Thread volcano
Merged #408 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/408#event-7809482957 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Bump version to 1.1.6 (PR #408)

2022-11-13 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/408 -- Commit Summary -- * Support rust-nightly-2022-10-22 and Bump version to 1.1.6 * Add epoll_create for sgx_libc * Fix mio samplecode -- File Changes -- M

Re: [apache/incubator-teaclave-sgx-sdk] `bind()` call fails with 'cannot listen on port: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }' (Issue #407)

2022-11-05 Thread volcano
@OverOrion Thanks for reporting this issue, I have fixed it. root cause: `mio` depends on `net2`, but `net2` is not compatible with rust `nightly-2022-10-22`. I think a better fix is to update `mio-sgx`. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-te

Re: [apache/incubator-teaclave-sgx-sdk] Fix unwind script when compiling with MITIGATION_CVE_2020_0551 (PR #406)

2022-10-27 Thread volcano
Merged #406 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/406#event-7683257375 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Upgrade to 1.55 nightly (#349)

2022-10-27 Thread volcano
Closed #349. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/349#event-7683266944 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Fix unwind script when compiling with MITIGATION_CVE_2020_0551 (PR #406)

2022-10-27 Thread volcano
LGTM! -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/406#issuecomment-1293658491 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Fix unwind script when compiling with MITIGATION_CVE_2020_0551 (PR #406)

2022-10-27 Thread volcano
@Cashmaney Thanks for fixing this, can you also squash all commits when I merge changes? -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/406#issuecomment-1293484642 You are receiving this because you are subscribed to this thread.

Re: [apache/incubator-teaclave-sgx-sdk] add epoll_create (PR #405)

2022-10-27 Thread volcano
Merged #405 into v2.0.0-preview. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/405#event-7681317012 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] add epoll_create (PR #405)

2022-10-27 Thread volcano
LGTM -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/405#issuecomment-1293378270 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] add epoll_create (PR #405)

2022-10-26 Thread volcano
@ChuanDou2021 Thanks for your contribution. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/405#issuecomment-1293000232 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Request update for rust nightly version (Issue #386)

2022-10-24 Thread volcano
As far as I know, Baidu's team has already migrated Teaclave FaaS to SDK v2. So I think `v2` will be stable soon in the near future. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/386#issuecomment-1288537494 You are receiving thi

Re: [apache/incubator-teaclave-sgx-sdk] Request update for rust nightly version (Issue #386)

2022-10-24 Thread volcano
Once `v2` is stable, I can help you with the migration if you need it. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/386#issuecomment-128853 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Request update for rust nightly version (Issue #386)

2022-10-24 Thread volcano
I will continue to maintain `v1.1.x `for a while, but as the `v2` version stabilizes, I will consider pushing preview-v2.0.0 as master. Migrating to v2 may take some effort. A major change in `v2` is that there is no need to modify the third-party crate, which can save a lot of maintenance costs

Re: [apache/incubator-teaclave-sgx-sdk] Request update for rust nightly version (Issue #386)

2022-10-23 Thread volcano
@clangenb Of course, I can share the upgrade process. Also, I wonder if you are working on SDK v1.1.x or v2 now? -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/386#issuecomment-1288337706 You are receiving this because you are su

Re: [apache/incubator-teaclave-sgx-sdk] Request update for rust nightly version (Issue #386)

2022-10-22 Thread volcano
@haerdib @hiroki-chen Sorry for the delay in updating rust-toolchain, because I have no more free bandwidth recently. I created the `v1.1.6-testing` branch, which supports `rust-nightly-2022-10-22` and bump version to `1.1.6.` I also updated the `v2.0.0-preview `branch. -- Reply to this email

Re: [apache/incubator-teaclave-sgx-sdk] Request update for rust nightly version (Issue #386)

2022-09-13 Thread volcano
@hiroki-chen Thank you for using teaclave-sgx-sdk. I plan to upgrade the Rust toolchain this month. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/386#issuecomment-1245062082 You are receiving this because you are subscribed to

Re: [apache/incubator-teaclave-sgx-sdk] Support intel sgx sdk 2.17.1 (PR #403)

2022-08-24 Thread volcano
Merged #403 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/403#event-7248584761 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Support intel sgx sdk 2.17.1 (PR #403)

2022-08-20 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/403 -- Commit Summary -- * Support intel sgx sdk 2.17.1 -- File Changes -- M common/inc/string.h (1) M dockerfile/03_sdk.sh (4) M dockerfile/Dockerfile.180

Re: [apache/incubator-teaclave-sgx-sdk] [WIP] v2.0.0 (PR #374)

2022-08-06 Thread volcano
Cancle this PR -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/374#issuecomment-1207223284 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] [WIP] v2.0.0 (PR #374)

2022-08-06 Thread volcano
Closed #374. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/374#event-7141018735 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] v2.0.0-preview: crate 'cpufeatures' failed detect 'target_env = "sgx"' (Issue #401)

2022-07-26 Thread volcano
In your example, assigning the value of `env` to `sgx` dose work, but in some crates that depend on `libc`, it may cause the detection `target_env` to fail. For the processing of the CPUID instruction, you can refer to the example code [httpreq](https://github.com/apache/incubator-teaclave-sgx-sd

Re: [apache/incubator-teaclave-sgx-sdk] why build sgx_unwind failed? (Issue #399)

2022-07-03 Thread volcano
Can you provide some information about the build environment, such as the installed intel sgx sdk version, rust version, etc.? -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/399#issuecomment-1173221741 You are receiving this beca

Re: [apache/incubator-teaclave-sgx-sdk] `sgx_uspfs` crate missing (Issue #395)

2022-06-28 Thread volcano
Thanks for reporting this issue, I have fixed it. [d2d339c](https://github.com/apache/incubator-teaclave-sgx-sdk/commit/d2d339cbb005f676bb700059bd51dc689c025f6b) -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/395#issuecomment-1168

Re: [apache/incubator-teaclave-sgx-sdk] Bump to v1.1.5 (PR #396)

2022-06-27 Thread volcano
Closed #396. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/396#event-6890102438 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Bump to v1.1.5 (PR #396)

2022-06-27 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/396 -- Commit Summary -- * Support Intel SGX SDK 2.17 and DCAP 1.14 * Fix thread_local macro * Bump to 1.1.5 -- File Changes -- M .gitignore (5) M buildenv

Re: [apache/incubator-teaclave-sgx-sdk] Support Intel SGX SDK 2.17 and DCAP 1.14 (PR #394)

2022-06-26 Thread volcano
Merged #394 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/394#event-6881438784 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Support Intel SGX SDK 2.17 and DCAP 1.14 (PR #394)

2022-06-26 Thread volcano
#393 -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/394#issuecomment-1166759350 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] [WIP] v2.0.0 (PR #374)

2022-06-22 Thread volcano
> Hello guys, find an additional `-` in tools/docker/04_psw.sh which will break > the dockerfile build. > > `libsgx-ae-id-enclave-=$SGX_DCAP_VERSION` Thanks for reporting this issue. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull

[apache/incubator-teaclave-sgx-sdk] Support Intel SGX SDK 2.17 and DCAP 1.14 (PR #394)

2022-06-18 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/394 -- Commit Summary -- * Support Intel SGX SDK 2.17 and DCAP 1.14 -- File Changes -- M .gitignore (5) M buildenv.mk (2) M common/inc/mbusafecrt.h (2)

Re: [apache/incubator-teaclave-sgx-sdk] Support for Intel SGX SDK 2.17 (Issue #393)

2022-06-17 Thread volcano
I plan to support `Intel SGX SDK 2.17` on both `v1` and `v2`. The upgrade will be done soon. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/393#issuecomment-1158763687 You are receiving this because you are subscribed to this thr

Re: [apache/incubator-teaclave-sgx-sdk] Is there any database I can use in SGX ?such as mysql,levelDB. (Issue #391)

2022-06-09 Thread volcano
There is a levelDB in teaclave that can be implemented in SGX that you can use as a reference. [https://github.com/apache/incubator-teaclave/tree/master/common/rusty_leveldb_sgx](url) -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issue

Re: [apache/incubator-teaclave-sgx-sdk] Update rust-toolchain to nightly-2022-02-23 (PR #388)

2022-06-05 Thread volcano
Merged #388 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/388#event-6749653589 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Update rust-toolchain to nightly-2022-02-23 (PR #388)

2022-06-04 Thread volcano
#386 You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/388 -- Commit Summary -- * Support rust-nightly-2022-02-23 -- File Changes -- M dockerfile/Dockerfile.1804.nightly (2) M dockerfile/Dockerfile.2004.nightly

Re: [apache/incubator-teaclave-sgx-sdk] Trying to compile sample code on the v2.0.0-preview branch fails (Issue #387)

2022-05-31 Thread volcano
Thank you for using version `v2.0.0-preview.` Please install `intel sgx sdk 2.16` and use `sgx_sign` to re-sign enclave. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/387#issuecomment-1143057209 You are receiving this because y

Re: [apache/incubator-teaclave-sgx-sdk] Request update for rust nightly version (Issue #386)

2022-05-23 Thread volcano
I will upgrade the rust version for the SDK as soon as possible.I plan to upgrade to `rust-nightly-2022-02-23`. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/386#issuecomment-1135311716 You are receiving this because you are sub

Re: [apache/incubator-teaclave-sgx-sdk] Support intel sgx sdk 2.16 (PR #380)

2022-04-28 Thread volcano
Merged #380 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/380#event-6520275742 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] about dcap interface version (Issue #381)

2022-04-28 Thread volcano
I have submitted a PR #380 which will be merged into master after review. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/381#issuecomment-995280 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Support intel sgx sdk 2.16 (PR #380)

2022-04-26 Thread volcano
Support Intel SGX SDK 2.16 and DCAP 1.13 You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/380 -- Commit Summary -- * Support intel sgx sdk 2.16 -- File Changes -- M dockerfile/02_binutils.sh (2) M dockerfile/0

Re: [apache/incubator-teaclave-sgx-sdk] feat: new feature gate `initenv` to disable env ocalls on demand (PR #377)

2022-03-31 Thread volcano
I think constructing an "0-call enclaves" enclave can be implemented by using `sgx_no_tstd` instead of `sgx_tstd`. So feature gate `env` is not a way to use to construct an "0-call enclaves". The current implementation is that environment variables are passed into the enclave from the normal wo

Re: [apache/incubator-teaclave-sgx-sdk] PanicInfo in sgx_tstd (Issue #375)

2022-03-15 Thread volcano
The reason the compilation fails is that the version of rust you are using is incompatible with the version of rust required by sgx_tstd. sgx_tstd requires` rust-nightly-2021-11-01` -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/

Re: [apache/incubator-teaclave-sgx-sdk] Using std Aware Cargo (#311)

2022-03-07 Thread volcano
@cschramm @PiDelport `teaclave-sgx-sdk v2.0.0`([https://github.com/apache/incubator-teaclave-sgx-sdk/tree/v2.0.0-preview](url)) already supports compiling enclave with `cargo-std-aware`. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/i

Re: [apache/incubator-teaclave-sgx-sdk] Using std Aware Cargo (#311)

2022-02-11 Thread volcano
@cschramm Thank you very much for your detailed problem analysis and test report. I plan to support three build strategies in the next release: 1. `no_std` 2. build-std in `xargo` (using `xargo build`) 3. build-std in `cargo` (using `cargo-std-aware)` In my current work in progress, most of the

Re: [apache/incubator-teaclave-sgx-sdk] Running `mutual-ra` on different physical machines (Issue #369)

2022-02-06 Thread volcano
@algon-320 I have fixed the issue -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/369#issuecomment-1031146165 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave-sgx-sdk] Fix mutual-ra (PR #371)

2022-02-06 Thread volcano
Merged #371 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/371#event-6016976729 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave-sgx-sdk] Fix mutual-ra (PR #371)

2022-02-06 Thread volcano
Remove the call of ocall_get_update_info in the `verify_mra_cert`. #369 Signed-off-by: volcano0dr <volcano...@163.com> You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/371 -- Commit Summary -- * Fix mutual-ra -

Re: [apache/incubator-teaclave-sgx-sdk] Running `mutual-ra` on different physical machines (Issue #369)

2022-01-21 Thread volcano
We can't call `sgx_report_attestation_status` with a `platformInfoBlob` generated on another physical machine. Please refer to: [https://api.trustedservices.intel.com/documents/sgx-attestation-api-spec.pdf](url) -- Reply to this email directly or view it on GitHub: https://github.com/apache/inc

Re: [apache/incubator-teaclave-sgx-sdk] upgrade SDK and rust compiler urgently needed (#360)

2021-12-09 Thread volcano
@PiDelport This issue has been resolved. -- 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/issues/360#issuecomment-989810983

Re: [apache/incubator-teaclave-sgx-sdk] upgrade SDK and rust compiler urgently needed (#360)

2021-12-09 Thread volcano
@haerdib I have upgraded rust-toolchain to `nightly-2021-11-01.` -- 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/issues/360#issuecomment-989808142

Re: [apache/incubator-teaclave-sgx-sdk] `sgx_align_struct_attribute` compile error (Issue #364)

2021-12-09 Thread volcano
@EmisonLu I have upgraded rust-toolchain to `nightly-2021-11-01.` -- 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/issues/364#issuecomment-989806727

Re: [apache/incubator-teaclave-sgx-sdk] `sgx_align_struct_attribute` compile error (Issue #364)

2021-12-08 Thread volcano
Thank you for reporting this issue. I am aware of this issue and I will fix it by upgrading the rust toolchain to `nightly-2021-11-01`. -- 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-teac

Re: [apache/incubator-teaclave-sgx-sdk] Upgrade to 1.1.4 (PR #363)

2021-11-25 Thread volcano
Merged #363 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/363#event-5675394683

[apache/incubator-teaclave-sgx-sdk] Upgrade to 1.1.4 (PR #363)

2021-11-25 Thread volcano
You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/363 -- Commit Summary -- * upgrade rust-toolchain to nightly-2021-09-13 and bump version to 1.1.4 * fix: const-initialized thread locals * Support intel sgx sdk 2.15

Re: [apache/incubator-teaclave-sgx-sdk] upgrade SDK and rust compiler urgently needed (#360)

2021-11-25 Thread volcano
@PiDelport `v1.1.4-testing` can support `intel sgx sdk 2.15.1` and `dcap 1.12.1` -- 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/issues/360#issuecomment-979652553

  1   2   >