Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
a7f442b9
Unverified
Commit
a7f442b9
authored
Jan 24, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed initialization procedure
parent
6a431cd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
13 deletions
+21
-13
README.md
README.md
+21
-13
No files found.
README.md
View file @
a7f442b9
...
...
@@ -29,7 +29,7 @@ The sgxwallet server is still in active development and therefore should be rega
## Try instantly in simulation mode
The easiest way to try the sgxwallet server is to run i
n
in
The easiest way to try the sgxwallet server is to run i
t
in
insecure simulation mode that emulates an SGX processor. Once you are familiar with the server,
you can enable sgx on your machine and run it in secure production mode.
...
...
@@ -50,9 +50,9 @@ sudo docker-compose up
Voila! You should see the "SGX Server started" message.
## Start
ing, stopping and upgrading the sgxwallet server
.
## Start
, stop and upgrade sgxwallet
.
As any docker-compose application sgxwallet
server
is super easy to use.
As any docker-compose application sgxwallet is super easy to use.
To run the server as a daemon, do
...
...
@@ -60,7 +60,7 @@ To run the server as a daemon, do
sudo docker-compose up -d
```
To stop/start server do
To stop/start
the
server do
```
sudo docker-compose stop
...
...
@@ -73,7 +73,7 @@ To view server logs do
sudo docker-compose logs
```
To upgrade
the server
to the latest version do
To upgrade
sgxwallet
to the latest version do
```
sudo docker-compose stop
...
...
@@ -86,7 +86,7 @@ Note: all docker-compose commands need to be issued from run_sgx_sim directory.
Note: sgxwallet places all its data into the sgx_data directory, which is created the first time you run sgxwallet.
Do not remove this directory!
Note:
S
gxwallet operates on network ports 1026 (https) and 1027 (http for initial registration).
Note:
s
gxwallet operates on network ports 1026 (https) and 1027 (http for initial registration).
If you have a firewall on your network, please make sure these ports are open so clients are able to
connect to the server.
...
...
@@ -100,9 +100,9 @@ mode. First, remove the simulation mode wallet by doing
sudo docker-compose rm
```
To run
**sgxwallet**
, y
ou'll need
**Intel SGX**
capable hardware. Most Intel chips that were produced after 2015 support
**SGX**
.
Y
ou'll need
**Intel SGX**
capable hardware. Most Intel chips that were produced after 2015 support
**SGX**
.
-
Enter
**BIOS**
of you machine by pressing and holding
**Del**
or
**F2**
on boot-up and verify that
**BIOS**
includes
**SGX options**
.
-
Enter
**BIOS**
of you
r
machine by pressing and holding
**Del**
or
**F2**
on boot-up and verify that
**BIOS**
includes
**SGX options**
.
If not, your machine cant run
**SGX**
.
-
Set SGX in BIOS as
`enabled`
or
`software-controlled`
.
-
If you can set SGX to
`enabled`
you are done! Proceed with "Install SGX Driver" section
...
...
@@ -112,8 +112,19 @@ To run **sgxwallet**, you'll need **Intel SGX** capable hardware. Most Intel chi
To enable SGX using a software utility:
-
Build
`sgx-enable`
utility by typing
`cd sgx-software-enable; make`
-
Run
`./sgx_enable`
. Verify that it says that
**SGX**
is successfully enabled
```
bash
cd
sgx-software-enable
;
sudo
./sgx_enable
```
Note: if you are not using Ubuntu 18.04 (something that we do not recommend), you may need
to rebuild the sgx-software-enable utility before use by typing:
```
bash
cd
sgx-software-enable
;
make
```
## Install SGX driver
...
...
@@ -146,14 +157,12 @@ sudo apt-get install build-essential make cmake gcc g++ yasm python libprotobuf
```
bash
cd
scripts
;
sudo
./sgx_linux_x64_sdk_2.5.100.49891.bin
;
cd
..
```
## Install required debian packages
```
bash
cd
scripts
;
sudo
./install_packages.sh
;
cd
..
```
## Build dependencies
...
...
@@ -162,7 +171,6 @@ Dependencies only need to be built once.
```
bash
cd
scripts
;
./build.py
;
cd
..
```
## Configure and build sgxwallet
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment