profile
viewpoint
Yu Ding dingelish @apache @mesalock-linux @sunblaze-ucb https://dingelish.com For additional support, please contact via rustsgx _at_ gmail. Sponsor wanted!

dingelish/dftwin 41

libdft for win

dingelish/cpc-md5 7

An open source CPC-md5 project derived from hashclash

dingelish/actix 0

Actor framework for Rust

dingelish/actix-derive 0

Derive macro for actix framework

dingelish/actix-net 0

framework for composable networking services

dingelish/actix-protobuf 0

Protobuf integration for actix web

dingelish/actix-web-httpauth 0

HTTP authorization extractors for actix-web

dingelish/afl.rs 0

🐇 Fuzzing Rust code with american-fuzzy-lop

push eventapache/incubator-teaclave-sgx-sdk

BurtonQin

commit sha e3230b9d60221c75d2c682d78d8b499fe12d2731

samplecode: fix possible deadlock in db-server

view details

Yu Ding

commit sha d949967066337d08189129a08404459c1ac67c34

Merge pull request #269 from BurtonQin/fix-double-lock samplecode: fix possible deadlock in db-server

view details

push time in 2 days

PR merged apache/incubator-teaclave-sgx-sdk

samplecode: fix possible deadlock in db-server

In samplecode/db-proxy/db-server/src/server/mod.rs: There are two db.read() in fn fn db_get(), which may cause deadlock when interleaved by a db.write() (e.g. in db_put() or db_delete()) from another thread.

The fix is to remove the redundant db.read().

+0 -1

0 comment

1 changed file

BurtonQin

pr closed time in 2 days

PullRequestReviewEvent
PullRequestReviewEvent

pull request commentapache/incubator-teaclave-sgx-sdk

Added conditional compilation for musl targets

sgtm :-) better if comes along with some description by either code comments or readme.

mjquinlan

comment created time in 8 days

issue commentctz/rustls

visibility of OwnedTrustAnchor

@ctz @dingelish Would it be conceivable to add yours as a sort of contrib implementation of the SPIFFE protocol to rustls?

@blaggacao sgtm. thanks!

dingelish

comment created time in 12 days

create barnchdingelish/wechat-articles-mirror

branch : master

created branch time in 12 days

created repositorydingelish/wechat-articles-mirror

created time in 12 days

fork dingelish/annie

👾 Fast, simple and clean video downloader

fork in 16 days

issue commentapache/incubator-teaclave-sgx-sdk

The reason for TCSPolicy requirement on env_logger?

Hi @adaszko ,

Long story short: i just solved it in https://github.com/mesalock-linux/env_logger-sgx/commit/ae2a39b53827b0ca074a2966a554ba1a998d7836 . To get rid of the TCSPolicy limitation, use this line in your enclave's Cargo.toml

env_logger = { git = "https://github.com/mesalock-linux/env_logger-sgx", default-features = false, features = ["mesalock_sgx"] } }

Details: First I looked into the dependency tree of env_logger-sgx:

$ cargo tree
env_logger v0.7.1 (/home/ding/incubator-teaclave-sgx-sdk/samplecode/logger/env_logger-sgx)
├── humantime v1.3.0 (https://github.com/mesalock-linux/humantime-sgx#d50b0b44)
│   ├── quick-error v1.2.2 (https://github.com/mesalock-linux/quick-error-sgx#c77b8867)
│   └── sgx_tstd v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       ├── hashbrown_tstd v0.7.1 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       │   [build-dependencies]
│       │   └── autocfg v1.0.1
│       ├── sgx_alloc v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       ├── sgx_backtrace_sys v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       │   └── sgx_libc v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       │       └── sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       │   [build-dependencies]
│       │   ├── cc v1.0.60
│       │   └── sgx_build_helper v0.1.3 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       ├── sgx_demangle v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       ├── sgx_libc v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
│       ├── sgx_tprotected_fs v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       │   ├── sgx_trts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       │   │   ├── sgx_libc v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
│       │   │   └── sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       │   └── sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       ├── sgx_trts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
│       ├── sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│       └── sgx_unwind v0.1.1 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│           [build-dependencies]
│           └── sgx_build_helper v0.1.3 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
├── log v0.4.8 (https://github.com/mesalock-linux/log-sgx#d08c18ff)
│   ├── cfg-if v0.1.10
│   └── sgx_tstd v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
├── regex v1.3.1 (https://github.com/mesalock-linux/regex-sgx#cf45cc1a)
│   ├── aho-corasick v0.7.10 (https://github.com/mesalock-linux/aho-corasick-sgx#ae5c0d76)
│   │   ├── memchr v2.2.1 (https://github.com/mesalock-linux/rust-memchr-sgx#44e36be5)
│   │   │   ├── sgx_libc v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
│   │   │   ├── sgx_tstd v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
│   │   │   └── sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
│   │   └── sgx_tstd v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
│   ├── memchr v2.2.1 (https://github.com/mesalock-linux/rust-memchr-sgx#44e36be5) (*)
│   ├── regex-syntax v0.6.12 (https://github.com/mesalock-linux/regex-sgx#cf45cc1a)
│   │   └── sgx_tstd v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
│   ├── sgx_tstd v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
│   └── thread_local v1.0.0 (https://github.com/mesalock-linux/thread_local-rs-sgx#eb03eee1)
│       ├── lazy_static v1.4.0
│       │   └── spin v0.5.2
│       └── sgx_tstd v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
├── sgx_tstd v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)
└── termcolor v1.0.5 (https://github.com/mesalock-linux/termcolor-sgx#d8866cb9)
    └── sgx_tstd v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) (*)

we can see that env_logger-sgx depends on thread_local which further requires secured thread local storage. an enclave cannot have stable thread local storage without BOUND TCS policy.

so the solution is to remove regex from this dependency tree. this is done by a small fix in env_logger-sgx and make it work without any external dependencies. see the above line for usage :-)

adaszko

comment created time in 18 days

push eventdingelish/sgx-world

Yu Ding

commit sha e918acabce0c6f6bbc79ccd73255cad8f11f14fd

Upgrade env_logger-sgx

view details

push time in 18 days

push eventmesalock-linux/env_logger-sgx

Yu Ding

commit sha ae2a39b53827b0ca074a2966a554ba1a998d7836

enable no default features

view details

push time in 18 days

startedrajasekarv/vega

started time in 19 days

push eventapache/incubator-teaclave-sgx-sdk

Yu Ding

commit sha 9e613ddc726922dfffee9d76f04b91252fb5d6eb

add 2.11 dockerfiles

view details

Yu Ding

commit sha f05e1a5bf5e888d24d42a985a9d28d842d4d0db7

Merge pull request #270 from apache/2.11-dockerfile add 2.11 dockerfiles

view details

push time in 20 days

create barnchapache/incubator-teaclave-sgx-sdk

branch : 2.11-dockerfile

created branch time in 20 days

startedNVIDIA/libcudacxx

started time in a month

GollumEvent

push eventapache/incubator-teaclave-sgx-sdk

Yu Ding

commit sha 4e1e9600180ac6c287613a6d13595609c6ba9a7a

Upgrade toolchain to 2020-09-08

view details

Yu Ding

commit sha b688d90e3f7a43565ba13c1e9665a145bb8d5254

Remove unused profile line

view details

Yu Ding

commit sha cad930120c732057a34973f9bb84aad2405ed95f

Compile on 2020-09-10

view details

Yu Ding

commit sha 8b19577063f9fe110b0cabcd9a9951ebdc8c00ed

Fix http_req sample bug

view details

Yu Ding

commit sha 4fdac94b9f002f432d4a10e5de80c56d3f7a10eb

Merge pull request #268 from dingelish/update-toolchain-09-08 Upgrade toolchain to 2020-09-10

view details

push time in a month

PR merged apache/incubator-teaclave-sgx-sdk

Upgrade toolchain to 2020-09-10

changes in this pr:

  • [x] upgrade to nightly-2020-09-10
  • [x] upgrade to hashbrown 0.9.0. waiting on: https://github.com/rust-lang/rust/pull/76458
+2646 -2145

0 comment

34 changed files

dingelish

pr closed time in a month

push eventdingelish/teaclave-sgx-sdk

Yu Ding

commit sha 8b19577063f9fe110b0cabcd9a9951ebdc8c00ed

Fix http_req sample bug

view details

push time in a month

push eventdingelish/teaclave-sgx-sdk

Yu Ding

commit sha cad930120c732057a34973f9bb84aad2405ed95f

Compile on 2020-09-10

view details

push time in a month

issue closedintel/linux-sgx

Bad libusgx_switchless.a in SGX 2.11 prebuilt SDK package

/usr/bin/ld: /opt/sgxsdk/lib64/libsgx_uswitchless.a(sl_uswitchless_untrusted.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /opt/sgxsdk/lib64/libsgx_uswitchless.a(sl_uswitchless_untrusted.o): unable to initialize decompress status for section .debug_info
/opt/sgxsdk/lib64/libsgx_uswitchless.a: member /opt/sgxsdk/lib64/libsgx_uswitchless.a(sl_uswitchless_untrusted.o) in archive is not an object
collect2: error: ld returned 1 exit status

to reproduce, please docker build the following Dockerfiles. they all result in the above error message

Ubuntu 18.04:

FROM ubuntu:18.04
RUN apt update && apt install -y build-essential curl
RUN cd /root && \
    curl -o sdk.bin https://download.01.org/intel-sgx/sgx-linux/2.11/distro/ubuntu18.04-server/sgx_linux_x64_sdk_2.11.100.2.bin && \
    chmod +x sdk.bin && \
    echo -e 'no\n/opt' | ./sdk.bin

RUN bash -c "source /opt/sgxsdk/environment && cd /opt/sgxsdk/SampleCode/Switchless && make"

Centos 8

FROM centos:8

RUN dnf group install -y 'Development Tools'

RUN cd /root && \
    curl -o sdk.bin https://download.01.org/intel-sgx/sgx-linux/2.11/distro/centos8.1-server/sgx_linux_x64_sdk_2.11.100.2.bin && \
    chmod +x sdk.bin && \
    echo -e 'no\n/opt' | ./sdk.bin

RUN bash -c "source /opt/sgxsdk/environment && cd /opt/sgxsdk/SampleCode/Switchless && make"

closed time in a month

dingelish

issue commentintel/linux-sgx

Bad libusgx_switchless.a in SGX 2.11 prebuilt SDK package

@lzha101 thanks so much for your help!

dingelish

comment created time in a month

issue commentintel/linux-sgx

Bad libusgx_switchless.a in SGX 2.11 prebuilt SDK package

awesome! and could we have the exact source code (git hash is good)and configurations (like the argument of ./configure) for that copy of toolchain? thanks!

dingelish

comment created time in a month

issue commentintel/linux-sgx

Bad libusgx_switchless.a in SGX 2.11 prebuilt SDK package

understand. could you please confirm that the prebuilt static libraries in Intel SDK are compiled using the toolchain provided in as.ld.objdump.gold.r2.tar.gz ? thanks!

dingelish

comment created time in a month

issue commentintel/linux-sgx

Bad libusgx_switchless.a in SGX 2.11 prebuilt SDK package

interesting. i can confirm use the prebuilt bintuils can fix this issue. one more question: does this means that switchless feature requires the latest binutils?

dingelish

comment created time in a month

issue openedintel/linux-sgx

Bad libusgx_switchless.a in SGX 2.11 prebuilt SDK package

/usr/bin/ld: /opt/sgxsdk/lib64/libsgx_uswitchless.a(sl_uswitchless_untrusted.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /opt/sgxsdk/lib64/libsgx_uswitchless.a(sl_uswitchless_untrusted.o): unable to initialize decompress status for section .debug_info
/opt/sgxsdk/lib64/libsgx_uswitchless.a: member /opt/sgxsdk/lib64/libsgx_uswitchless.a(sl_uswitchless_untrusted.o) in archive is not an object
collect2: error: ld returned 1 exit status

to reproduce, please docker build the following Dockerfiles. they all result in the above error message

Ubuntu 18.04:

FROM ubuntu:18.04
RUN apt update && apt install -y build-essential curl
RUN cd /root && \
    curl -o sdk.bin https://download.01.org/intel-sgx/sgx-linux/2.11/distro/ubuntu18.04-server/sgx_linux_x64_sdk_2.11.100.2.bin && \
    chmod +x sdk.bin && \
    echo -e 'no\n/opt' | ./sdk.bin

RUN bash -c "source /opt/sgxsdk/environment && cd /opt/sgxsdk/SampleCode/Switchless && make"

Centos 8

FROM centos:8

RUN dnf group install -y 'Development Tools'

RUN cd /root && \
    curl -o sdk.bin https://download.01.org/intel-sgx/sgx-linux/2.11/distro/centos8.1-server/sgx_linux_x64_sdk_2.11.100.2.bin && \
    chmod +x sdk.bin && \
    echo -e 'no\n/opt' | ./sdk.bin

RUN bash -c "source /opt/sgxsdk/environment && cd /opt/sgxsdk/SampleCode/Switchless && make"

created time in a month

push eventdingelish/teaclave-sgx-sdk

Yu Ding

commit sha b688d90e3f7a43565ba13c1e9665a145bb8d5254

Remove unused profile line

view details

push time in 2 months

PR opened apache/incubator-teaclave-sgx-sdk

Upgrade toolchain to 2020-09-08

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
+135 -94

0 comment

12 changed files

pr created time in 2 months

create barnchdingelish/teaclave-sgx-sdk

branch : update-toolchain-09-08

created branch time in 2 months

push eventdingelish/teaclave-sgx-sdk

volcano

commit sha e78190883bd2367c48cc46926abf217889dbe289

fix SgxThreadCondvarInner.destory() bug Check if convar is BUSY by checking if vec is empty.

view details

Yu Ding

commit sha 740a0c1ce190cce9ca2959e3b032748f6901637a

Merge pull request #213 from volcano0dr/master fix SgxThreadCondvarInner.destory() bug

view details

volcano

commit sha 7f1bc8c22ae30eb8c7aa100a487ad7b28a87e567

Modify the error return of the sys::thread::new sgx_libc::pthread_create returns an EAGAIN error, indicating that no TCS is available, so using SGX_ERROR_OUT_OF_TCS instead of EAGAIN returns io:::Error

view details

Yu Ding

commit sha ef6870ed01225b94f8d705bdc63da8716cf2a02e

Merge pull request #214 from volcano0dr/master Modify the error return of the sgx_tstd::sys::thread::new

view details

Yu Ding

commit sha 852f2076a893b035c187ec643e6d454c427976ad

Fix xargo compile warning

view details

Yu Ding

commit sha 28789322ab7cf63ee9285f7296a8d8c3f51250a4

Fix xargo compile warning

view details

Yu Ding

commit sha abf41be6708ab881327477c41e4e43bd08d9d168

Fix xargo compile warning

view details

volcano

commit sha d4bd11620d311cb5c5572201850057ca267a32b4

Fix xargo compile warning Fix xargo compilation sgx_bracktrace warnings by explicitly calling PathEx methods. warning: unused_imports Signed-off-by: volcano <volcano_dr@163.com>

view details

Yu Ding

commit sha 983fd051f086c2270d31d143750ac7f18652680d

Merge pull request #215 from volcano0dr/master Fix xargo compile warning

view details

Yu Ding

commit sha b5e8be98ab51d6097677490cf4a28da4e7026c6f

Fix sgx_unwind version, and built-in hashbrown package name

view details

Yu Ding

commit sha 97a2ce37f07c13b9fea2a78b2c71a02cf7e24a16

Fix xargo build

view details

Yu Ding

commit sha 779acddb67863d33bf3cf2e73efa5c80a3d8da2c

Fix http_req sample building

view details

sammyne

commit sha 4208385f250403650f0a9692dc91eeee222f2805

refactor(sgx_tunittest): remove the necessary 'std' import for 'should_panic' macro

view details

Yu Ding

commit sha 66aaa2888992c63137e87adc688ddedab1181056

Merge pull request #217 from sammyne/patch-sgx_tunittest refactor(sgx_tunittest): remove the necessary 'std::panic' import for 'should_panic' macro

view details

Yu Ding

commit sha 7110ff0454def428225e23f05f13b153dd84f5bd

Fix mio version in mio samples

view details

Yu Ding

commit sha 2692d251154518e10b8138a8cfb4d45c38c878df

v1.1.2 initial commit

view details

Yu Ding

commit sha 0d733cd9282569b05776a7cbe6d8f5de3d9b382c

Add missing files

view details

Yu Ding

commit sha b0f797fa19743b7f3e771e905e7ed16ea3d6c212

bump up to nightly-2020-04-07

view details

Yu Ding

commit sha 7d7fbffd813a9fda953ba21fe1f4db23669800c5

Fix fs test in DCAP driver

view details

Yu Ding

commit sha 6ebf8ac75c6ba60520daeca8bb850fa0a0b44d9b

Update dockerfiles

view details

push time in 2 months

create barnchdingelish/teaclave-sgx-sdk

branch : demo-enigma

created branch time in 2 months

push eventapache/incubator-teaclave-sgx-sdk

volcano

commit sha 93dffa4d13b1ceca1802fdd395efe6a9ab9f7f8b

support intel sgx sdk 2.11 and dcap 1.8

view details

volcano

commit sha 99599f246a7d962e53503048d2794f096ac38406

clean samplecode

view details

Yu Ding

commit sha f17b614f8fdcbca518f23d3bf40766dc7a2681ef

Fix file attributes

view details

Yu Ding

commit sha 7b3f506c1564e31338912fd576e09d43e95c1794

Fix attributes

view details

Yu Ding

commit sha 7b4595fee5a3bd1a99224a38d63a24d28bb0eba3

Merge pull request #267 from volcano0dr/master initial support intel sgx sdk 2.11 and dcap 1.8

view details

push time in 2 months

push eventmesalock-linux/image-gif-sgx

Yu Ding

commit sha 78b74ee8f01f7541cc62af4afd7490700b7e9c3f

Port to SGX

view details

Yu Ding

commit sha 01f8c0b6c0128d29f91037acb8817270411756c2

Port to sgx 1.1.0

view details

Yu Ding

commit sha b0d5992b06244891e35e334d9a1a483d3b91f1ed

Port to sgx 1.1.1

view details

Yu Ding

commit sha 403d4c5ac3d874e6205cc75529ebe00ff45a1acb

Port to sgx 1.1.2

view details

Yu Ding

commit sha 5c7a5d536e1427aa89c58efa54e58813eb4042ba

Fix xargo

view details

push time in 2 months

push eventvolcano0dr/incubator-teaclave-sgx-sdk

Yu Ding

commit sha 7b3f506c1564e31338912fd576e09d43e95c1794

Fix attributes

view details

push time in 2 months

push eventvolcano0dr/incubator-teaclave-sgx-sdk

Yu Ding

commit sha f17b614f8fdcbca518f23d3bf40766dc7a2681ef

Fix file attributes

view details

push time in 2 months

push eventvolcano0dr/incubator-teaclave-sgx-sdk

push time in 2 months

pull request commentapache/incubator-teaclave-sgx-sdk

support intel sgx sdk 2.11 and dcap 1.8

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

volcano0dr

comment created time in 2 months

pull request commentapache/incubator-teaclave-sgx-sdk

support intel sgx sdk 2.11 and dcap 1.8

todo: [ ] upgrade hashbrown to 0.9 after https://github.com/rust-lang/rust/pull/76458 [ ] regression test

volcano0dr

comment created time in 2 months

push eventvolcano0dr/incubator-teaclave-sgx-sdk

Yu Ding

commit sha 2f1ae8f51f7ca5b97d0b017a70798e39a3027260

nightly-2020-09-08

view details

push time in 2 months

startedintel/llvm

started time in 2 months

push eventapache/incubator-teaclave-sgx-sdk

lyj

commit sha 1d0e72f024b2f4549f62008e36778c3c3cd59c63

Update Makefile

view details

Yu Ding

commit sha ac497c77b8d548de669d0812732b5bca62cf2e2d

Merge pull request #264 from lengyijun/patch-2 Update Makefile

view details

push time in 2 months

PR merged apache/incubator-teaclave-sgx-sdk

Update Makefile

unnecessary .a movement will make the modification of Makefile confusing

+1 -2

0 comment

1 changed file

lengyijun

pr closed time in 2 months

PR opened intel/linux-sgx

Typo fixes

Signed-off-by: Yu Ding dingelish@gmail.com

+20 -20

0 comment

12 changed files

pr created time in 2 months

push eventdingelish/linux-sgx

Yu Ding

commit sha f8c59e1445529cc6c5bc73274c18bd60542d5474

docs: fix typos Signed-off-by: Yu Ding <dingelish@gmail.com>

view details

Li, Xun

commit sha 60d36e0de7055e8edd2fe68693b3c39f3f10fd3c

Linux 2.10 Open Source Gold Release Provided a reproducible SDK. Supported new OS: RHEL 8.1, CentOS 8.1 and Fedora 31. Supported user to specify platform id in PCK Cert ID Retrieval Tool’s command line option. Added ability to execute Platform Cert ID Retrieval Tool on multi-package platforms without loading enclaves. PCCS now supports this functionality. The platform still needs to support SGX. Updated Platform Cert ID Retrieval Tool and Multi-package registration tool to align with BIOS platform manifest changes. Added .deb and .rpm installers for Platform Cert ID Retrieval Tool and Multi-package Registration Agent. Fixed bugs. Signed-off-by: Li, Xun <xun.li@intel.com>

view details

Qiu Feng

commit sha a014ab0198e91ddac86a5b7e6f2a963e76241696

Merge pull request #1 from intel/master sync from orig repo

view details

Qiu Feng

commit sha 63fbce42a9145463b05f2877281e62a93774eff2

Fix the build error in "make psw_install_pkg" Signed-off-by: Qiu Feng <feng.qiu@intel.com>

view details

lzha101

commit sha 15287981b91df603b90331be857a4ae84aa634fd

Merge pull request #566 from dingelish/fix-typos Fix typos Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>

view details

lzha101

commit sha d1029a5821acffae31d66efde06589617a3df9c6

Merge pull request #567 from fqiu1/master Fix build error in "make psw_install_psw" Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>

view details

Guilhem Niot

commit sha 746e602864e9d9cb6213a2b09293cfa2c8b92511

Fix some more typos

view details

Li Xun

commit sha 7c2e2f9d0bab50eefdac2a9360cae8e1dd470e15

Merge pull request #568 from GuilhemN/master Fix some more typos

view details

Zhang Lili Z

commit sha adaeb2af7993e991acb48001fe1bcfa1e87f39f6

Fix bug of setting large reserved momory. Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>

view details

lzha101

commit sha ce4a18d9a0963b14f717cc7462241cfadd233f55

Merge pull request #571 from lzha101/fix_large_rsrv_mem Fix bug of setting large reserved momory. Signed-off-by: Zhang Lili Z lili.z.zhang@intel.com

view details

Sylvain Bellemare

commit sha 70d0ceccf921bfbd999672eae05b81a8ec30e758

Fix hyperlink in docker/build/README.md

view details

Sylvain Bellemare

commit sha d4c55e3139da2ff2e110b812a24c5b403b447588

Fix typo in linux/reproducibility/README.md

view details

lyj

commit sha 80325b8c20206308e005e283fd56daf0a25ccd29

Update README.md

view details

Li Xun

commit sha 62b116c502b09b125db9acc965694d3ecff8e698

Merge pull request #581 from lengyijun/patch-2 Update README.md

view details

Li, Xun

commit sha b9b071b54476e93ba21ae4f8dc41394970667cdd

Linux 2.11 Open Source Gold Release Supported new OS: RHEL 8.2 and SUSE 15. Provided standalone Intel(R) SGX DCAP Quote verification library installer. Added Intel(R) SGX DCAP Platform Certificate ID Retrieval Tool and Multi-package Registration Agent (MPA) installers into SGX installation repo. Fixed bugs. Signed-off-by: Li, Xun <xun.li@intel.com>

view details

lzha101

commit sha 9aaa2e8426f7dcf69b8103bbae5d87ca410fd234

Merge pull request #580 from sbellem/fix-typo Fix typo in linux/reproducibility/README.md Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>

view details

lzha101

commit sha 985cd0a3df0fef9612a0a173041b4a423f8e21a9

Merge pull request #579 from sbellem/readmes-fix-links Fix hyperlink in docker/build/README.md Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>

view details

Yu Ding

commit sha 492b0c6e9b7ff0cf380d9f7007fc0cb2c28f4f23

Typo fixes

view details

push time in 2 months

issue commentapache/incubator-teaclave-sgx-sdk

No return value of u_malloc_ocall from sgx_ustdc

@henrysun007 Please check if #266 fixes it. Thanks!

henrysun007

comment created time in 2 months

push eventapache/incubator-teaclave-sgx-sdk

volcano

commit sha 991ab062aa2ab28278a90c42154321098c0f0930

fix no return value of u_malloc_ocall

view details

Yu Ding

commit sha 9acbbf557898c319e863c9a0779c855b5c2735f0

Merge pull request #266 from volcano0dr/master fix no return value of u_malloc_ocall

view details

push time in 2 months

pull request commentocclum/enable_rdfsbase

fix: support kernel >= 5.4

SUBDIRS has been kept as a backward compatibility since commit ("[PATCH] kbuild: external module support") in 2002.

behavior is the same. SUBDIRS are aged and take 18 years to get removed completely. linux kernel has only one use case over SUBDIRS and it changed to M in that patch:

diff --git a/samples/connector/Makefile b/samples/connector/Makefile
index fe3c854..6ad7162 100644
--- a/samples/connector/Makefile
+++ b/samples/connector/Makefile
@@ -14,4 +14,4 @@  HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
 all: modules
 
 modules clean:
-	$(MAKE) -C ../.. SUBDIRS=$(CURDIR) $@
+	$(MAKE) -C ../.. M=$(CURDIR) $@
dingelish

comment created time in 2 months

PR opened occlum/enable_rdfsbase

fix: support kernel >= 5.4

Fixed according to https://patchwork.kernel.org/patch/10690487/ . Tested on 4.15 and 5.4

+1 -1

0 comment

1 changed file

pr created time in 2 months

push eventdingelish/enable_rdfsbase

Yu Ding

commit sha 446b059c5f6d65faa424ebf4cdc8087afd49d5ef

fix: support kernel >= 5.4 Fixed according to https://patchwork.kernel.org/patch/10690487/ . Tested on 4.15 and 5.4

view details

push time in 2 months

fork dingelish/enable_rdfsbase

A Linux kernel module that enables RDFSBASE instruction and its friends

fork in 2 months

create barnchapache/incubator-teaclave-sgx-sdk

branch : oom_handling

created branch time in 2 months

create barnchapache/incubator-teaclave-sgx-sdk

branch : mem_footprint

created branch time in 2 months

push eventapache/incubator-teaclave-sgx-sdk

lyj

commit sha 3c3547b2679c386f5d73156c2132f004a96319a6

Update .gitignore

view details

Yu Ding

commit sha 6e720490c813bd6b67b81e645e73e76a39e75d73

Merge pull request #263 from lengyijun/patch-1 Update .gitignore

view details

push time in 2 months

issue commentocclum/occlum

demos/golang/run_golang_on_occlum.sh failed to run with 0.15.0-ubuntu18.04 container image

more info driver: sgx_linux_x64_driver_2.6.0_95eaa6f.bin

$ uname -a
Linux dr340s48 4.15.0-109-generic #110-Ubuntu SMP Tue Jun 23 02:39:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/issue
Ubuntu 18.04.4 LTS \n \l
james-dong-security

comment created time in 2 months

issue commentocclum/occlum

demos/golang/run_golang_on_occlum.sh failed to run with 0.15.0-ubuntu18.04 container image

more info:

$ uname -a
Linux dr340s48 4.15.0-109-generic #110-Ubuntu SMP Tue Jun 23 02:39:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg -l | grep sgx
ii  libsgx-ae-le                           2.10.100.2-bionic1                              amd64        Intel(R) Software Guard Extensions LE
ii  libsgx-aesm-launch-plugin              2.10.100.2-bionic1                              amd64        Launch Plugin for Intel(R) Software Guard Extensions AESM Service
ii  libsgx-enclave-common                  2.9.101.2-bionic1                               amd64        Intel(R) Software Guard Extensions Enclave Common Loader
ii  libsgx-launch                          2.10.100.2-bionic1                              amd64        Intel(R) Software Guard Extensions Launch Service
ii  libsgx-urts                            2.9.101.2-bionic1                               amd64        Intel(R) Software Guard Extensions uRTS
ii  sgx-aesm-service                       2.10.100.2-bionic1                              amd64        Intel(R) Software Guard Extensions AESM Service
james-dong-security

comment created time in 2 months

pull request commentocclum/occlum

Add sample Golang gRPC Client/Server programs on Occlum

I think it's good to go

james-dong-security

comment created time in 2 months

issue commentfoxlet/macOS-Simple-KVM

choose a license

Ping @Pilo11

anjandev

comment created time in 2 months

push eventapache/incubator-teaclave-sgx-sdk

sjtu-lyj

commit sha 28bd9d2ce905d364f97d791b17b1761085df67e0

crypto sample: split into 4 functions

view details

Yu Ding

commit sha 94114b63dfcd2336a64bb3c4f5ae9988cf3dc492

Merge pull request #262 from lengyijun/master crypto sample: split into 4 functions

view details

push time in 2 months

PR merged apache/incubator-teaclave-sgx-sdk

crypto sample: split into 4 functions

Easier to debug single function

+42 -9

0 comment

1 changed file

lengyijun

pr closed time in 2 months

issue commentocclum/occlum

"localhost:8000" can't be resolved to a tcp address in Occlum LibOS processes of default Docker container

@tatetian is this a feature by design, or a bug?

james-dong-security

comment created time in 2 months

issue commentfoxlet/macOS-Simple-KVM

choose a license

Hi @foxlet , sorry to interrupt. I'm a security researcher and want to try this tool. But the missing license issue really bothers me. Without a license, I can do nothing but just view this project in my browser. Here's the answer from choosealicense.com:

Your options:

  • Ask the maintainers nicely to add a license. Unless the software includes strong indications to the contrary, lack of a license is probably an oversight. If the software is hosted on a site like GitHub, open an issue requesting a license and include a link to this site. If you’re bold and it’s fairly obvious what license is most appropriate, open a pull request to add a license – see “suggest this license” in the sidebar of the page for each license on this site (e.g., MIT).
  • Don’t use the software. Find or create an alternative that is under an open source license.
  • Negotiate a private license. Bring your lawyer.

Could you please help us resolve this? I believe many people are stucked here as well. Thank you!

anjandev

comment created time in 3 months

fork dingelish/macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.

fork in 3 months

push eventapache/incubator-teaclave-sgx-sdk

volcano

commit sha 56c599380785cea9af88f4971fb8f82338088db5

Fix no-landing-pads error

view details

Yu Ding

commit sha 3fff5077aeb21814be240267bfcd8fb8e3318f95

Merge pull request #261 from volcano0dr/master Fix no-landing-pads error

view details

push time in 3 months

push eventapache/incubator-teaclave-sgx-sdk

Cheng XU

commit sha d5f1d2540488e5e36ff5887499ad527e0379a284

Fix switchless sample code In order to use the switchless feature of the SGX, the app binary needs to be linked with the following flags. ``` -Wl,--whole-archive -lsgx_uswitchless -Wl,--no-whole-archive ```` Noted that there is currently no proper way to pass custom link flags to all the binaries in a cargo project. As such, the `link_args` macro need to be set for each of Rust files with `main` methods. References: * Build flags used in Intel SGX sample code: https://github.com/intel/linux-sgx/blob/ce4a18d9a0963b14f717cc7462241cfadd233f55/SampleCode/Switchless/Makefile#L104 * Rust tracking issue on `link_args`: https://github.com/rust-lang/rust/issues/29596 * PR for `cargo:rustc-link-arg-bins` in cargo build script: https://github.com/rust-lang/cargo/pull/8441

view details

Yu Ding

commit sha 3eeaf9afa9d1e9534e047b76aa321f8d0d93b042

Merge pull request #260 from xu-cheng/switchless Fix switchless sample code

view details

push time in 3 months

PR merged apache/incubator-teaclave-sgx-sdk

Fix switchless sample code

In order to use the switchless feature of the SGX, the app binary needs to be linked with the following flags.

-Wl,--whole-archive -lsgx_uswitchless -Wl,--no-whole-archive

Noted that there is currently no proper way to pass custom link flags to all the binaries in a cargo project. As such, the link_args macro need to be set for each of Rust files with main methods.

References:

  • Build flags used in Intel SGX sample code: https://github.com/intel/linux-sgx/blob/ce4a18d9a0963b14f717cc7462241cfadd233f55/SampleCode/Switchless/Makefile#L104
  • Rust tracking issue on link_args: https://github.com/rust-lang/rust/issues/29596
  • PR for cargo:rustc-link-arg-bins in cargo build script: https://github.com/rust-lang/cargo/pull/8441
+3 -0

1 comment

1 changed file

xu-cheng

pr closed time in 3 months

pull request commentapache/incubator-teaclave-sgx-sdk

Fix switchless sample code

thanks!

xu-cheng

comment created time in 3 months

pull request commentFrommi/miniz_oxide

Increase the license options.

Signed-off by Yu Ding @dingelish :p

Lokathor

comment created time in 3 months

more