File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,22 @@ cargo build
14
14
* Run the attestation example on the host side:
15
15
```
16
16
RUST_LOG=info cargo run --bin attestation
17
- ```
17
+ ```
18
+
19
+ ## Run Parsec Example
20
+
21
+ ```
22
+ cd docker
23
+ make build
24
+ make exec
25
+ ```
26
+
27
+ in docker run the script.sh
28
+
29
+ ```
30
+ cd /work;
31
+
32
+ ./setup_env.sh
33
+
34
+ RUST_LOG=info cargo run --bin parsec_execute
35
+ ```
Original file line number Diff line number Diff line change
1
+
2
+ cargo build --bin dpu-runtime-manager
3
+ RUST_LOG=info cargo run --bin dpu-runtime-manager -- --measurement e0f3a02f9f3c85caf8a4753723d7e50ee0f3a02f9f3c85caf8a4753723d7e50e --port 6666 &
4
+ RUST_LOG=info cargo run --bin dpu-runtime-manager -- --measurement e0f3a02f9f3c85caf8a4753723d7e50ee0f3a02f9f3c85caf8a4753723d7e50f --port 6667 &
5
+
6
+ mkdir -p /tmp/dpu;
7
+ cd /tmp/dpu;
8
+ openssl ecparam -name prime256v1 -noout -genkey > CAKey.pem
9
+ openssl req -x509 -key CAKey.pem -out CACert.pem -config /work/docker/ca-cert.conf
10
+
11
+ VTS_PATH=" /opt/veraison/vts"
12
+ PROVISIONING_PATH=" /opt/veraison/provisioning"
13
+ PAS_PATH=" /opt/veraison/proxy_attestation_server"
14
+
15
+ cd /opt/veraison/vts && /opt/veraison/vts/vts &
16
+ cd /opt/veraison/provisioning && /opt/veraison/provisioning/provisioning &
17
+ cd /tmp/dpu && /opt/veraison/proxy_attestation_server -l 127.0.0.1:3010 &
18
+
19
+ cd -
20
+ sleep 5
21
+
22
+ curl -X POST -H ' Content-Type: application/corim-unsigned+cbor; profile=http://arm.com/psa/iot/1' --data-binary " @/opt/veraison/psa_corim.cbor" localhost:8888/endorsement-provisioning/v1/submit
You can’t perform that action at this time.
0 commit comments