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
fec39642
Unverified
Commit
fec39642
authored
Mar 17, 2020
by
Stan Kladko
Committed by
GitHub
Mar 17, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #64 from skalenetwork/SE-28
Fix test
parents
313a053f
371994d5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
53 deletions
+18
-53
admin_guide.md
docs/admin_guide.md
+4
-4
developer_guide.md
docs/developer_guide.md
+2
-2
index.md
docs/index.md
+0
-25
run_in_hardware_mode.md
docs/run_in_hardware_mode.md
+12
-22
No files found.
docs/admin_guide.md
View file @
fec39642
# Admin guide
##
Introduction
##
Running SGX in secure mode.
-
[
Prerequisites for sgxwallet containers
](
prerequisites.md
)
-
[
Enabl
ing
SGX
](
enabling-sgx.md
)
-
[
Example sgxwallet certificate instantiation
](
examples.md#example-of-client-certificate-instantiation
)
-
[
Verify that your hardware and software can run SGX
](
prerequisites.md
)
-
[
Enabl
e
SGX
](
enabling-sgx.md
)
-
[
Instantiate sgxwallet certificate
](
examples.md#example-of-client-certificate-instantiation
)
## Community
...
...
docs/developer_guide.md
View file @
fec39642
...
...
@@ -2,9 +2,9 @@
## Introduction
-
[
Getting Started
](
index.md
)
-
[
Prerequisites for sgxwallet containers
](
prerequisites.md
)
-
[
Enabling SGX
](
enabling-sgx.md
)
-
[
Enable SGX
](
enabling-sgx.md
)
-
[
Example sgxwallet certificate instantiation
](
examples.md#example-of-client-certificate-instantiation
)
## Community
...
...
docs/index.md
deleted
100644 → 0
View file @
313a053f
# Getting Started
<!-- SPDX-License-Identifier: (AGPL-3.0-only OR CC-BY-4.0) -->
If you want to build the server first, start with
[
building.md
](
building.md
)
.
Otherwise, with docker installed, pull one of the two containers:
```
bash
docker pull skalenetwork/sgxwalletsim
```
or
```
bash
docker pull skalenetwork/sgxwallet_base
```
To configure the containers with docker-compose, see
[
configuring.md
](
configuring.md
)
.
# References
You should have some knowledge of Docker, SGX, and Certificate Signing Requests before trying to use this software.
docs/
configuring
.md
→
docs/
run_in_hardware_mode
.md
View file @
fec39642
# Configuring sgxwallet server
# Configuring sgxwallet server
in hardware secure mode
<!-- SPDX-License-Identifier: (AGPL-3.0-only OR CC-BY-4.0) -->
## Docker Compose configuration
To try the server:
Install docker-compose if you do not have it.
```
bash
sudo
apt-get
install
docker.io docker-compose
```
And then do
## Run sgxwallet in secure SGX mode
```
bash
cd
run_sgx_sim
;
sudo
docker-compose up
Run the latest sgxwallet docker container image in SGX mode
cd run_sgx;
sudo docker-compose up -d
You should see "SGX Server started message".
Note: on some machines, the SGX device is not
`/dev/mei0`
but a different device, such
as "/dev/bs0". In this case please edit
`docker-compose.yml`
on your machine to specify the correct
device to use.
```
Voila! You should see the "SGX Server started" message.
## Start, stop and upgrade sgxwallet containers
...
...
@@ -55,18 +57,6 @@ Note: sgxwallet operates on network ports 1026 (https) and 1027 (http for initia
If you have a firewall on your network, please make sure these ports are open so clients are able to
connect to the server.
## Run sgxwallet in secure SGX mode
Run the latest sgxwallet docker container image in SGX mode
cd run_sgx;
sudo docker-compose up -d
You should see "SGX Server started message".
Note: on some machines, the SGX device is not
`/dev/mei0`
but a different device, such
as "/dev/bs0". In this case please edit
`docker-compose.yml`
on your machine to specify the correct
device to use.
## Logging
...
...
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