Skip to content

Commit

Permalink
updated readme and build steps for private CAS
Browse files Browse the repository at this point in the history
  • Loading branch information
mujtabaidrees94 committed Feb 8, 2021
1 parent dea42f6 commit 4d1cb5c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 34 deletions.
26 changes: 6 additions & 20 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ https://creativecommons.org/licenses/by/4.0/
-->
# Building Hyperledger Avalon With SCONE Workers

- Branch 'main' represents the code of workers in SCONE Secure Hw Mode
- Branch 'no-cas-fs-unprotected' represents the code of workers (1) without SCONE (2) SCONE Sim Mode (3) SCONE Unsecure Hw Mode
- Branch **main** represents the code of workers in SCONE Secure Hw Mode with public CAS run by scontain team.
- Branch **no-cas-fs-unprotected** represents the code of workers (1) without SCONE (2) SCONE Sim Mode (3) SCONE Unsecure Hw Mode
- Branch **private-cas-fs-protected** represents the code of workers in SCONE Secure Hw Mode with private CAS in the cluster.

_CAS image is not available in SCONE free tier, hence the user must upgrade to Standard or Business edition if private CAS is desired in the cluster._

## Install and Access SCONE

- In order to build, install, and run Hyperledger Avalon with SCONE, SCONE must be installed and configured.
Expand Down Expand Up @@ -63,24 +66,7 @@ https://creativecommons.org/licenses/by/4.0/
docker-compose -f docker-compose-scone-hw.yaml up --build
docker-compose -f docker-compose-scone-hw.yaml down -v
```

## RUN in Hardware Mode with File System and Network Shields enabled by SCONE CAS (Secure)

- To run the in Secure Hardware Mode, get the latest code from master branch:

```bash
git clone https://github.com/T-Systems-MMS/hyperledger-avalon-scone.git
```

- To run the in Hardware Mode, you can run scone-demo.sh script from the project root directory:

```bash
./scone-demo.sh start
./scone-demo.sh stop
```
It automatically starts SCONE CAS and LAS, then it creates images for SCONE KME and SCONE Workers. You can change the number of workers in config/scone_config.toml and docker-compose-scone-avalon.yaml files. In basic demo there are 5 SCONE workers which have some pre-existing examples too.



### Examples

See Examples and detailed usage in [Worker Readme](avalon-scone/README.md)
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ For demo of the applications running with SCONE workers, see

## Building

To build Hyperledger Avalon, follow instructions in the
- Branch **main** represents the code of workers in SCONE Secure Hw Mode with public CAS run by scontain team.
- Branch **no-cas-fs-unprotected** represents the code of workers (1) without SCONE (2) SCONE Sim Mode (3) SCONE Unsecure Hw Mode
- Branch **private-cas-fs-protected** represents the code of workers in SCONE Secure Hw Mode with private CAS in the cluster.

_CAS image is not available in SCONE free tier, hence the user must upgrade to Standard or Business edition if private CAS is desired in the cluster._

To build Hyperledger Avalon with SCONE, follow instructions in the
[build document](BUILD.md).

## Documentation
Expand Down
13 changes: 0 additions & 13 deletions avalon-scone/scone_worker/sgx-musl.conf
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# Copyright 2020 Mujtaba Idrees
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
Q 4
e 0 0 0
s 1 0 0
Expand Down

0 comments on commit 4d1cb5c

Please sign in to comment.