Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liutxxx/engraft-tiks
modified engraft, fork from wwl020/ENGRAFT
https://github.com/liutxxx/engraft-tiks
Last synced: 28 days ago
JSON representation
modified engraft, fork from wwl020/ENGRAFT
- Host: GitHub
- URL: https://github.com/liutxxx/engraft-tiks
- Owner: LiuTxxx
- Created: 2024-07-12T08:39:23.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T08:56:03.000Z (5 months ago)
- Last Synced: 2024-07-12T10:19:11.180Z (5 months ago)
- Language: C++
- Size: 1.78 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Introduction
ENGRAFT, a BFT system built atop Intel SGX and Baidu BRaft.### Build and Run
This project use the modified OpenEnclave SDK, environment has been configured in docker, run docker with image below and remember to port the device of SGX, if use TPM, port TPM:
```bash
# example
docker run --network=host --name oe_sdk_ant --device /dev/tpm0:/dev/tpm0 --device /dev/tpmrm0:/dev/tpmrm0 --device /dev/sgx_enclave:/dev/sgx/enclave --device /dev/sgx_provision:/dev/sgx/provision -i -t registry.cn-shenzhen.aliyuncs.com/openenclave_sdk/oesdk_v0_17_0:2024_06_30_v2
``````bash
cd ~/code_dev
git clone https://github.com/LiuTxxx/ENGRAFT-TIKS.git
cd ENGRAFT-TIKS
# create key and file for memory sharing
./init_env.sh
# build
mkdir build
cmake ..
make -j32
# run
cd ../runtime
# create folder for running data, logs
mkdir 0 1 2
# this will run 3 node in 8100 8101 8102
./local_start_cluster.sh -b# if cannot get key and cert for remote attestation run this:
unset SGX_AESM_ADDR
# or check pccs url:
vim /etc/sgx_default_qcnl.conf
# check lines below
# //PCCS server address
# "pccs_url": "https://10.16.46.212:8081/sgx/certification/v4/"
```