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
a852dfff
Unverified
Commit
a852dfff
authored
Jul 02, 2020
by
Oleh Nikolaiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-2844 fix documenrtation
parent
d0592b1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
SEKManager.cpp
SEKManager.cpp
+2
-2
backup-procedure.md
docs/backup-procedure.md
+2
-1
No files found.
SEKManager.cpp
View file @
a852dfff
...
@@ -134,8 +134,8 @@ void gen_SEK(){
...
@@ -134,8 +134,8 @@ void gen_SEK(){
std
::
ofstream
sek_file
(
"backup_key.txt"
);
std
::
ofstream
sek_file
(
"backup_key.txt"
);
sek_file
.
clear
();
sek_file
.
clear
();
cout
<<
"ATTENTION! YOUR BACKUP KEY WILL BE WR
OTE
INTO backup_key.txt.
\n
"
<<
cout
<<
"ATTENTION! YOUR BACKUP KEY WILL BE WR
ITTEN
INTO backup_key.txt.
\n
"
<<
"PLEASE COPY IT TO THE SAFE PLACE AND THEN DELETE THE FILE MANUALLY
RUNNING
FOLLOWING COMMAND:
\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
;
"`sudo apt-get install secure-delete && srm -vz backup_key.txt`"
<<
endl
;
sek_file
<<
SEK
;
sek_file
<<
SEK
;
...
...
docs/backup-procedure.md
View file @
a852dfff
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
When SGXWallet is initialized, the server will print the backup key.
When SGXWallet is initialized, the server will print the backup key.
**This key must be securely recorded and stored.**
**This key must be securely recorded and stored.**
The key will be stored in file "backup_key.txt". Remove it once you store it in a safe place with following command:
Be sure to store this key in a safe place, then securely remove it with the following command:
```
bash
```
bash
sudo
apt-get
install
secure-delete
&&
srm
-vz
backup_key.txt
sudo
apt-get
install
secure-delete
&&
srm
-vz
backup_key.txt
```
```
...
...
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