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
7fa76e24
Unverified
Commit
7fa76e24
authored
Jul 13, 2020
by
Oleh Nikolaiev
Committed by
GitHub
Jul 13, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #123 from skalenetwork/enhancement/SKALE-2844-update-docs
SKALE-2844 update documentation
parents
7509141e
7d7b42ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
SEKManager.cpp
SEKManager.cpp
+1
-1
backup-procedure.md
docs/backup-procedure.md
+2
-2
No files found.
SEKManager.cpp
View file @
7fa76e24
...
...
@@ -149,7 +149,7 @@ void gen_SEK() {
cout
<<
"ATTENTION! YOUR BACKUP KEY WILL BE WRITTEN INTO backup_key.txt.
\n
"
<<
"PLEASE COPY IT TO THE SAFE PLACE AND THEN DELETE THE FILE MANUALLY BY RUNNING THE FOLLOWING COMMAND:
\n
"
<<
"`
sudo
apt-get install secure-delete && srm -vz backup_key.txt`"
<<
endl
;
"`
docker exec -it <SGX_CONTAINER_NAME> bash &&
apt-get install secure-delete && srm -vz backup_key.txt`"
<<
endl
;
sek_file
<<
SEK
;
if
(
!
autoconfirm
)
{
...
...
docs/backup-procedure.md
View file @
7fa76e24
...
...
@@ -4,10 +4,10 @@
When SGXWallet is initialized, the server will print the backup key.
**This key must be securely recorded and stored.**
Be sure to store this key in a safe place, then securely remove it with the following command:
Be sure to store this key in a safe place, then
go into a docker container and
securely remove it with the following command:
```
bash
sudo
apt-get
install
secure-delete
&&
srm
-vz
backup_key.txt
docker
exec
-it
<SGX_CONTAINER_NAME> bash
&&
apt-get
install
secure-delete
&&
srm
-vz
backup_key.txt
```
Master-Slave replication is recommended to support the SGXWallet backup strategy. Below are general instructions for a basic backup and recovery process.
...
...
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