Skip to content

Commit

Permalink
removed obsolete IAS key and updated docu where to get sawtooth versi…
Browse files Browse the repository at this point in the history
…on thereof (which hopefully is latest one :-)

Signed-off-by: Michael Steiner <[email protected]>
  • Loading branch information
g2flyer authored and cmickeyb committed Jan 4, 2019
1 parent 2d9eb8c commit e675dbc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build/common-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var_set() {
attestation verification reports from the Intel Attestation Service.
Note this is _not_ the IAS root CA's key but the key of the intermediary
certificate
<<HOW TO GET>>
You can get it from the sawtooth poet git repo as https://raw.githubusercontent.com/hyperledger/sawtooth-poet/master/sgx/packaging/ias_rk_pub.pem
"
env_key_sort[$i]="PDO_IAS_KEY_PEM"; i=$i+1; export PDO_IAS_KEY_PEM=${env_val[PDO_IAS_KEY_PEM]}

Expand Down
2 changes: 1 addition & 1 deletion docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ test-env-setup-with-no-build:
exec pdo-build bash -c 'source /etc/environment; export PDO_SGX_KEY_ROOT=/project/pdo/build/opt/pdo/etc/keys/sgx/; unset PDO_SPID PDO_SPID_KEY_CERT_FILE_PEM PDO_IAS_KEY_PEM; source /project/pdo/src/private-data-objects/build/common-config.sh; make -C /project/pdo/src/private-data-objects/build conf register'; \
fi

test-with-no-build: test-env-setup
test-with-no-build: test-env-setup-with-no-build
# - run automated tests
$(DOCKER_COMPOSE_COMMAND) $(DOCKER_COMPOSE_OPTS) \
exec pdo-build bash -i -c /project/pdo/src/private-data-objects/build/__tools__/run-tests.sh
Expand Down
9 changes: 0 additions & 9 deletions sawtooth/bin/test_ias_pub_key.pem

This file was deleted.

4 changes: 2 additions & 2 deletions sawtooth/docs/SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ sawset proposal create sawtooth.validator.transaction_families='[{"family": "int
In the examples below measurements and basenames values provided inline and report public key is read from the PEM file.

The last of these three commands requires a key file distributed with
Hyperledger Private Data Objects (`sawtooth/bin/test_ias_pub_key.pem`) these
Hyperledger Private Data Objects (https://raw.githubusercontent.com/hyperledger/sawtooth-poet/master/sgx/packaging/ias_rk_pub.pem) these
commands should be run from the top-level directory of the PDO repository.

```
sawset proposal create pdo.test.registry.measurements='c99f21955e38dbb03d2ca838d3af6e43ef438926ed02db4cc729380c8c7a174e'
sawset proposal create pdo.test.registry.basenames='b785c58b77152cbe7fd55ee3851c499000000000000000000000000000000000'
sawset proposal create pdo.test.registry.public_key="$(cat sawtooth/bin/test_ias_pub_key.pem)"
sawset proposal create pdo.test.registry.public_key="$(wget -q -O - https://raw.githubusercontent.com/hyperledger/sawtooth-poet/master/sgx/packaging/ias_rk_pub.pem)"
```


Expand Down

0 comments on commit e675dbc

Please sign in to comment.