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
67e11fe1
Unverified
Commit
67e11fe1
authored
5 years ago
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-2464-small fixes
parent
1d56b136
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
21 deletions
+25
-21
ca.config
cert/ca.config
+17
-19
enabling-sgx.md
docs/enabling-sgx.md
+7
-1
install_packages.sh
scripts/install_packages.sh
+1
-1
No files found.
cert/ca.config
View file @
67e11fe1
[
ca
]
default_ca
=
CA_CLIENT
#
При подписи сертификатов
# использовать секцию CA_CLIENT
default_ca
=
CA_CLIENT
#
Cert signing uses CA_CLIENT
[
CA_CLIENT
]
dir
= .
#
Каталог для служебных файлов
certs
= $
dir
/
certs
#
Каталог для сертификатов
new_certs_dir
= ../
sgx_data
/
cert_data
/
new_certs
#
Каталог для новых сертификатов
dir
= .
#
Files folder
certs
= $
dir
/
certs
#
Cert folder
new_certs_dir
= ../
sgx_data
/
cert_data
/
new_certs
#
New cert folder
database
= ../
sgx_data
/
cert_data
/
index
.
txt
#
Файл с базой данных
database
= ../
sgx_data
/
cert_data
/
index
.
txt
#
DB folder
# подписанных сертификатов
serial
= ../
sgx_data
/
cert_data
/
serial
#
Файл содержащий серийный номер
serial
= ../
sgx_data
/
cert_data
/
serial
#
Serial ID folder
RANDFILE
= $
dir
/.
rnd
# сертификата
# (в шестнадцатиричном формате)
certificate
= ../
sgx_data
/
cert_data
/
rootCA
.
pem
# Файл сертификата CA
private_key
= ../
sgx_data
/
cert_data
/
rootCA
.
key
# Файл закрытого ключа CA
default_days
=
3650
# Срок действия подписываемого
certificate
= ../
sgx_data
/
cert_data
/
rootCA
.
pem
# Hex cert
private_key
= ../
sgx_data
/
cert_data
/
rootCA
.
key
# Private key
default_days
=
3650
# Cert validity length
# сертификата
default_crl_days
=
7
#
Срок действия CRL (см. $4)
default_md
=
sha256
#
Алгоритм подписи
default_crl_days
=
7
#
Cert revocation list validity length
default_md
=
sha256
#
Signing hash
name_opt
=
ca_default
cert_opt
=
ca_default
policy
=
policy_anything
# Название секции с описанием
# политики в отношении данных
# сертификата
policy
=
policy_anything
# Cert Policy
[
policy_anything
]
countryName
=
optional
#
Код страны - не обязателен
countryName
=
optional
#
Country code (optional)
stateOrProvinceName
=
optional
# ......
localityName
=
optional
# ......
organizationName
=
optional
# ......
organizationalUnitName
=
optional
# ......
commonName
=
supplied
# ...... -
обязателен
commonName
=
supplied
# ...... -
common name - required
emailAddress
=
optional
# ......
This diff is collapsed.
Click to expand it.
docs/enabling-sgx.md
View file @
67e11fe1
...
...
@@ -36,11 +36,17 @@ make
## Install SGX driver
Install make and gcc if you do not have it
```
bash
apt-get
install
build-essential
```
Run the following command:
```
bash
cd
scripts
;
sudo
./sgx_linux_x64_driver_2.5.0_2605efa.bin
;
cd
..
```
You can also try other driver versions from Intel website, but version 2.5.0_2605efa is what
...
...
This diff is collapsed.
Click to expand it.
scripts/install_packages.sh
View file @
67e11fe1
sudo
dpkg
-i
*
.deb
sudo
apt
install
cmake flex bison yasm ccache autoconf texinfo libgcrypt20-dev libgnutls28-dev libtoo
o
l pkg-config
sudo
apt
install
cmake flex bison yasm ccache autoconf texinfo libgcrypt20-dev libgnutls28-dev libtool pkg-config
This diff is collapsed.
Click to expand it.
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