update readme
This commit is contained in:
parent
aed0abb3d1
commit
4b6d13bbaa
@ -1,8 +1,23 @@
|
||||
OpenSSL 3.2
|
||||
# OpenSSL & liboqs & oqsprovider
|
||||
|
||||
## About
|
||||
Tento priečinok obsahuje detailný postup inštalácie potrebných knižníc na sprístupnenie PQ algoritmov v OpenSSL 3.2 a vzorové aplikácie klienta a serveru, ktoré využívajú PQ algoritmy pri štandardnej TCP/IP komunikácii s využitím protokolu TLS 1.3.
|
||||
|
||||
## Building
|
||||
Inštalované a testované na:
|
||||
| Platform | OS | compiler | cmake | ninja |
|
||||
|:-----------------:|:---------------------------:|:------------------------------------------------:|:-------:|:-------:|
|
||||
| Linux | Ubuntu 20.04.1 WLS2 | gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) | 1.10.1 | 3.22.1 |
|
||||
| Windows | Windows 10.0.19043 | gcc version 14.0.0 20240107 (experimental) (MinGW-W64 x86_64-msvcrt-posix-seh) | 1.11.1 | 3.28.1 |
|
||||
|
||||
### :exclamation: **OpenSSL 3.2 je minimálna verzia OpenSSL, ktorá umožňuje využívať PQ algoritmy pri komunikácii** :exclamation:
|
||||
|
||||
### LINUX
|
||||
#### OpenSSL 3.2
|
||||
```
|
||||
sudo apt install build-essential checkinstall -y
|
||||
|
||||
git clone https://github.com/openssl/openssl.git (verzia 3.3.0-dev (21.01.2024)
|
||||
git clone https://github.com/openssl/openssl.git
|
||||
|
||||
https://github.com/openssl/openssl/releases/download/openssl-3.2.0/openssl-3.2.0.tar.gz
|
||||
tar -xvf openssl-3.2.0.tar.gz
|
||||
@ -16,11 +31,11 @@ export LD_LIBRARY_PATH="/usr/local/lib64:$PATH"
|
||||
|
||||
cd /etc/ld.so.conf.d/
|
||||
sudo touch openssl-3.2.0.conf
|
||||
echo "/usr/local/lib64" | sudo tee -a openssl-3.1.2.conf
|
||||
echo "/usr/local/lib64" | sudo tee -a openssl-3.2.0.conf
|
||||
sudo ldconfig -v
|
||||
```
|
||||
|
||||
LIBOQS
|
||||
#### LIBOQS
|
||||
```
|
||||
sudo apt install astyle cmake gcc ninja-build libssl-dev python3-pytest python3-pytest-xdist unzip xsltproc doxygen graphviz python3-yaml valgrind -y
|
||||
git clone https://github.com/open-quantum-safe/liboqs.git
|
||||
@ -37,7 +52,7 @@ echo "/usr/local/lib" | sudo tee -a liboqs.conf
|
||||
sudo ldconfig -v
|
||||
```
|
||||
|
||||
OQS PROVIDER
|
||||
#### OQS PROVIDER
|
||||
```
|
||||
git clone https://github.com/open-quantum-safe/oqs-provider.git
|
||||
cd oqs-provider
|
||||
@ -46,12 +61,15 @@ cmake --build _build
|
||||
sudo cmake --install _build
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
cd /usr/local/ssl/
|
||||
sudo nano openssl.cnf
|
||||
```
|
||||
|
||||
// add
|
||||
- po inštalácii pridáme do konfiguračného súboru modul, ktorý permanentne aktivuje OQS provider a jeho funkcie pri používani OpenSSL
|
||||
- `Note: Be sure to always activate the "default" provider`
|
||||
- v prípade potreby je možné konfiguračný súbor nahradiť súborom z tohto priečinku
|
||||
```
|
||||
[provider_sect]
|
||||
default = default_sect
|
||||
@ -59,10 +77,8 @@ oqsprovider = oqsprovider_sect
|
||||
[oqsprovider_sect]
|
||||
activate = 1
|
||||
```
|
||||
Note: Be sure to always activate either the "default"
|
||||
|
||||
|
||||
WIN
|
||||
### WINDOWS
|
||||
|
||||
Winlibs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user