Skip to content

Commit

Permalink
TEMP for TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaleXIONG committed Dec 4, 2023
1 parent 24d3f0c commit 82c0019
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/CLI_QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ $ vc-client example/example-policy.json \
--identity example/example-data0-cert.pem \
--key example/example-data0-key.pem \
--data ./input/shamir-0.dat=<(echo "01dc061a7bdaf77616dd5915f3b4" | xxd -r -p)
$ pwd
$ ls -h
Loaded policy example/example-policy.json 645ae94ea86eaf15cfc04c07a17bd9b6a3b3b6c3558fae6fb93d8ee4c3e71241
Connecting to 127.0.0.1:3017
Submitting <enclave>/input/shamir-0.dat from /dev/fd/63
Expand All @@ -271,6 +273,8 @@ $ vc-client example/example-policy.json \
--identity example/example-data1-cert.pem \
--key example/example-data1-key.pem \
--data ./input/shamir-1.dat=<(echo "027f38e27b5a02a288d064965364" | xxd -r -p)
$ pwd
$ ls -h
Loaded policy example/example-policy.json 645ae94ea86eaf15cfc04c07a17bd9b6a3b3b6c3558fae6fb93d8ee4c3e71241
Connecting to 127.0.0.1:3017
Submitting <enclave>/input/shamir-1.dat from /dev/fd/63
Expand All @@ -279,6 +283,8 @@ $ vc-client example/example-policy.json \
--identity example/example-data2-cert.pem \
--key example/example-data2-key.pem \
--data ./input/shamir-2.dat=<(echo "03eb5b946cefd583f17f51e781da" | xxd -r -p)
$ pwd
$ ls -h
Loaded policy example/example-policy.json 645ae94ea86eaf15cfc04c07a17bd9b6a3b3b6c3558fae6fb93d8ee4c3e71241
Connecting to 127.0.0.1:3017
Submitting <enclave>/input/shamir-2.dat from /dev/fd/63
Expand All @@ -293,6 +299,8 @@ $ vc-client example/example-policy.json \
--key example/example-result-key.pem \
--compute ./program/example-binary.wasm \
--result ./output/shamir.dat=-
$ pwd
$ ls -h
Loaded policy example/example-policy.json 645ae94ea86eaf15cfc04c07a17bd9b6a3b3b6c3558fae6fb93d8ee4c3e71241
Connecting to 127.0.0.1:3017
Requesting compute of <enclave>/example-binary.wasm
Expand Down

0 comments on commit 82c0019

Please sign in to comment.