diff --git a/README.md b/README.md index 9c00429..9738336 100644 --- a/README.md +++ b/README.md @@ -148,8 +148,8 @@ share_peer_interval = 30 only_global_ips = true [key_server_config] -version = 1 -attestation_style = 1 #This corresponds to using an image, epid=1, dcap=2 +version = 2 +attestation_style = 2 #This corresponds to using an image, epid=1, dcap=2 seal_policy = "MRSIGNER" exe_policy = { Multiply = { executors = 8 } } round_time_limit = 60 diff --git a/docker-compose.yml b/docker-compose.yml index c7bf4ef..81b2bbc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,8 @@ version: "3" services: bnk-occlum-keyring: - image: boolnetwork/bnk-occlum-keyring-epid:v0.5.2 #Different images result in different values for the attestation_style parameter in the configuration file - # image: boolnetwork/bnk-occlum-keyring-dcap:pre-release + #image: boolnetwork/bnk-occlum-keyring-epid:v0.5.2 #Different images result in different values for the attestation_style parameter in the configuration file + image: boolnetwork/bnk-occlum-keyring-dcap:v0.6.4 restart: always network_mode: "host" # ports: @@ -16,4 +16,4 @@ services: devices: - /dev/sgx/enclave:/dev/sgx/enclave - /dev/sgx/provision:/dev/sgx/provision - command: bash -c 'cp /configs/keyring.toml /root/occlum_instance; source /root/.bashrc; cd /root/occlum_instance; occlum print mrsigner; occlum print mrenclave; occlum run /bin/bnk-watcher /host/keyring.toml' + command: bash -c 'cp /configs/keyring.toml /root/occlum_instance; apt update; apt install curl -y; source /root/.bashrc; cd /root/occlum_instance; occlum print mrsigner; occlum print mrenclave; occlum run /bin/bnk-watcher /host/keyring.toml'