Commit Graph

20 Commits

Author SHA1 Message Date
Zheng, Qi
eba7e08453 [demos] Add MAA demo 2022-05-27 00:02:17 +08:00
Zheng, Qi
cf080a46a0 Add SGX KSS config_svn verification support in grpc_ratls 2022-04-28 20:29:59 +08:00
Zheng, Qi
f334374a43 [demos] Update GRPC RATLS exported APIs names 2022-03-17 15:04:04 +08:00
Zheng, Qi
4909a4f7fb Fix init_ra HW action timing issue 2022-03-10 16:30:51 +08:00
Zheng, Qi
b7edb11a88 Add occlum-ra-flow demo 2022-03-09 15:53:45 +08:00
Zheng, Qi
477ae99880 Set SONAME for Occlum DCAP library 2022-02-11 11:10:02 +08:00
Zheng, Qi
04a357021c Update dcap demo using prebuilt dcap lib 2022-02-11 11:10:02 +08:00
Zheng, Qi
555ab9c598 [demos] Clean up compile warning for dcap demo 2022-01-25 13:28:46 +08:00
Zheng, Qi
6cba1c02a1 Add dcap musl-libc demo case 2022-01-21 10:59:29 +08:00
Zheng, Qi
8e9f1fb933 Fix the compile error when including dcap_quote.h in pure C program 2021-12-17 08:14:00 +08:00
yuanwu
9d490ada58 Fix the C++ Link issue and Add the static lib
1. When including the header file in C++ project, the linker
cannot find the functions.
2. Add the staticlib building.

Signed-off-by: yuanwu <yuan.wu@intel.com>
2021-12-15 16:55:32 +08:00
Zheng, Qi
a26a7627fe Update dcap demo to support dumping SGX KSS info
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-12-06 15:46:34 +08:00
Zheng, Qi
63deda28b9 Update dcap demo with copy_bom tool
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-26 17:28:13 +08:00
Zheng, Qi
339f25a84b Fix dangling buffer pointer bug in dcap demo
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-17 19:39:39 +08:00
Zheng, Qi
1990196208 Add dcap rust based library and C test program
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-07-20 11:17:09 +08:00
He Sun
ba630d3cae Move the EPID RA demo code to the epid folder
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-07-20 11:17:09 +08:00
Junxian Xiao
86d11e9d44 Refactor the remote attestation demo
This commits consists of three major changes:

1. Support a new interface to get the base64 quote only.
This is useful in the case that application sends the quote
to service provider server and get the final IAS report there.
The application itself doesn't depend on IAS in this case.

2. Improve the C++ programming style. Now, we only provide
C++ classes and limited C APIs(for configuration and sgx device).

3. Use the more general keywords as names prefix.

Signed-off-by: Junxian Xiao <junxian.xjx@antfin.com>
2020-06-23 16:59:33 +08:00
Junxian Xiao
e8e14350a5 Support access key in remote attestaion demo
1. add access key configuration and code
2. Upgrade libcurl to support https
3. Support debug compile mode

Signed-off-by: Junxian Xiao <junxian.xjx@antfin.com>
2020-06-05 14:52:31 +08:00
He Sun
6d7597c25e Polish gRPC and remote attestation demos
1. Disable zlib _explictly_ when building libcurl in remote attestaion demo.
The reason for this is that zlib may be implictly linked by the build system of
libcurl but not the zlib library is not copied into the Occlum FS image.
2. Use `make -j$(nproc)`
3. Fix typos
2020-01-23 04:40:54 +00:00
Junxian Xiao
2052447950 Add SGX remote attestaion demo
This demo consists of
1. An user-friendly library for getting Intel Attestation Service (IAS) report.
2. A application that uses this library to get IAS report.

This demo requires obtaining service provider certificate/ID from Intel.
2019-12-13 11:56:21 +00:00