Commit Graph

36 Commits

Author SHA1 Message Date
Zheng, Qi
99dedabc0b [demo] Update init_aecs demo by setting PCCS URL when running 2023-09-07 15:21:13 +08:00
Zheng, Qi
970157f13f [demos] Do cargo fmt for azure attestation 2023-06-08 09:55:00 +08:00
Zheng, Qi
566f32f7fc Add demo with init aecs 2023-06-08 09:55:00 +08:00
Zheng, Qi
d9676d52d0 Update init_ra_flow demo with init_grpc_ratls 2023-06-08 09:55:00 +08:00
dependabot[bot]
cc2d455a9e Bump h2 in /demos/remote_attestation/azure_attestation
Bumps [h2](https://github.com/hyperium/h2) from 0.3.13 to 0.3.18.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.13...v0.3.18)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-31 20:02:08 +08:00
Zheng, Qi
198515ab90 [dcap] Do not panic in dcap library 2023-05-31 16:11:27 +08:00
Zheng, Qi
09ca34182e [demos] Update rootfs mount API called in demos 2023-05-30 10:16:48 +08:00
Zheng, Qi
2347951743 Combine two config json files as one 2023-05-30 10:16:48 +08:00
Zheng, Qi
0ba7f80b21 [demos] Get image key to buffer 2023-04-26 09:53:15 +08:00
Zheng, Qi
c72a46bd41 [demos] Update init_ra demo with grpc ratls libs 2023-04-26 09:53:15 +08:00
Zheng, Qi
fa5dfc690d [toolchains] Add grpc ra_tls into toolchains 2023-04-26 09:53:15 +08:00
dependabot[bot]
c46c28ef8b Bump bumpalo
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump tokio

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.19.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.19.2...tokio-1.25.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump tokio in /demos/remote_attestation/azure_attestation/maa_init/init

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.0 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.0...tokio-1.25.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump openssl

Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.40 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.40...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump openssl

Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.41 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.41...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump tensorflow from 2.11 to 2.11.1 in /example/client

Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.11 to 2.11.1.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](https://github.com/tensorflow/tensorflow/compare/v2.11.0...v2.11.1)

---
updated-dependencies:
- dependency-name: tensorflow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump bumpalo

Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.12.1.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/commits)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 09:20:49 +08:00
Zheng, Qi
33fb5b7ad8 [demos] Update demo scripts with new helper command 2022-10-18 23:58:16 +08:00
volcano0dr
69b35e6429 [deps/rust-sgx-sdk] Upgrade rust-sgx-sdk to 1.1.5 2022-09-14 20:05:04 +08:00
Zheng, Qi
5c10af738e Add maa init demo 2022-08-15 09:29:32 +08:00
Zheng, Qi
dd295c1391 [demos] Refactor and update the Azure attestation demos 2022-08-02 14:38:35 +08:00
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