You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* document options to run network with couchdb and/or hl explorer
* document how to run docker-compose behind proxy and improve docu related to proxies
* some minimal extensions of the demo docu and a reference thereof in the top README
* a few improvements in network setup script
Signed-off-by: michael steiner <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+62-24Lines changed: 62 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -110,34 +110,41 @@ your [development environment](https://hyperledger-fabric.readthedocs.io/en/rele
110
110
111
111
Moreover, we assume that you are familiar with the Intel SGX SDK.
112
112
113
-
### Intel SGX SDK and SSL
113
+
### Intel SGX
114
114
115
-
Fabric Private Chaincode requires the Intel [SGX SDK](https://github.com/intel/linux-sgx) and
116
-
[SGX SSL](https://github.com/intel/intel-sgx-ssl) to build the main components of our framework and to develop and build
117
-
your first private chaincode.
118
-
119
-
Install the Intel SGX software stack for Linux (including the SGX driver, the SGX SDK, and the SGX Platform Software
120
-
(PSW)) by following the official [documentation](https://github.com/intel/linux-sgx). Please make sure that you use the
121
-
SDK version as denoted above in the list of requirements.
122
-
123
-
Moreover, if you don't have SGX hardware available you can also install the SGX SDK only and use simulation mode by
124
-
setting `SGX_MODE=SIM` in your environment. In this case, also make sure that simulation mode is set when building
125
-
and installing [SGX SSL](https://github.com/intel/intel-sgx-ssl#available-make-flags). Note that the simulation mode is
126
-
for developing purpose only and does not provide any security guarantees.
115
+
To run Fabric Private Chaincode in secure mode, you need an SGX-enabled
116
+
hardware as well corresponding OS support. However, even if you don't
117
+
have SGX hardware available, you still can run FPC in simulation mode by
118
+
setting `SGX_MODE=SIM` in your environment.
127
119
128
-
Once you have installed the SGX SDK and SSL for SGX SDK please double check that ``SGX_SDK``and ``SGX_SSL`` variables
129
-
are set correctly in your environment.
120
+
Note that the simulation mode is for developing purpose only and does
121
+
not provide any security guarantees.
130
122
131
123
Notice: by default the project builds in hardware-mode SGX, ``SGX_MODE=HW`` as defined in `<absolute-project-path>/fabric-private-chaincode/config.mk` and you can
132
124
explicitly opt for building in simulation-mode SGX, ``SGX_MODE=SIM``. In order to set non-default values for install
133
125
location, or for building in simulation-mode SGX, you can create the file `<absolute-project-path>/fabric-private-chaincode/config.override.mk` and override the default
134
126
values by defining the corresponding environment variable.
135
127
136
-
#### Register with Intel Attestation Service (IAS) if using SGX_MODE=HW
128
+
If you run SGX in __simulation mode only__, you can skip below
129
+
sections and jump right away to [Setup your Development
`http_proxy`, `https_proxy` and, potentially, `no_proxy`) properly, and
339
373
* docker (daemon & client) is properly set up for proxies as
340
-
outlined in the Docker documentation for [clients](https://docs.docker.com/network/proxy/) and the [daemon](https://docs.docker.com/config/daemon/systemd/#httphttps-proxy).
374
+
outlined in the Docker documentation for
375
+
[clients](https://docs.docker.com/network/proxy/) and the
0 commit comments