update readme
This commit is contained in:
parent
612492fd0c
commit
1088bd6d0a
@ -13,7 +13,8 @@ Inštalované a testované na:
|
||||
Verzie testovaných knižníc:
|
||||
| OpenSSL | liboqs | oqs-provider |
|
||||
|:-----------------:|:---------------------------:|:------------------------------------------------:|
|
||||
| 3.3.0 | 0.10.0 | 0.5.3 |
|
||||
| 3.3.0 | 0.10.0 | 0.6.0* |
|
||||
* experimentálne testované na Windows platforme, na Linuxe sa nám to nepodarilo otestovať (posledná funkčná verzia 0.5.4-dev)
|
||||
### :exclamation: **OpenSSL 3.2 je minimálna verzia OpenSSL, ktorá umožňuje využívať PQ algoritmy pri komunikácii** :exclamation:
|
||||
|
||||
|
||||
@ -23,8 +24,8 @@ Verzie testovaných knižníc:
|
||||
sudo apt install build-essential checkinstall -y
|
||||
|
||||
wget https://github.com/openssl/openssl/releases/download/openssl-3.3.0/openssl-3.3.0.tar.gz
|
||||
tar -xvf openssl-3.2.0.tar.gz
|
||||
cd openssl-3.2.0
|
||||
tar -xvf openssl-3.3.0.tar.gz
|
||||
cd openssl-3.3.0
|
||||
./Configure
|
||||
make
|
||||
sudo make install
|
||||
@ -33,22 +34,25 @@ export PATH="/usr/local:$PATH"
|
||||
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.2.0.conf
|
||||
sudo touch openssl-3.3.0.conf
|
||||
echo "/usr/local/lib64" | sudo tee -a openssl-3.3.0.conf
|
||||
sudo ldconfig -v
|
||||
|
||||
sudo apt install --reinstall ca-certificates
|
||||
sudo update-ca-certificates -f
|
||||
nano ~/.wgetrc
|
||||
ca_certificate=/etc/ssl/certs/ca-certificates.crt
|
||||
```
|
||||
|
||||
#### LIBOQS
|
||||
```
|
||||
sudo apt install astyle cmake 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
|
||||
cd liboqs/
|
||||
wget https://github.com/open-quantum-safe/liboqs/archive/refs/tags/0.10.0.tar.gz
|
||||
tar -xvf 0.10.0.tar.gz
|
||||
cd cd liboqs-0.10.0
|
||||
mkdir build && cd build
|
||||
|
||||
cmake -GNinja .. -DBUILD_SHARED_LIBS=ON -DOPENSSL_ROOT_DIR=/usr/local/lib64 -DOQS_ALGS_ENABLED=ALL
|
||||
cmake -GNinja .. -DOPENSSL_ROOT_DIR=/usr/local/lib64 -DOQS_ALGS_ENABLED=ALL
|
||||
ninja
|
||||
sudo ninja install
|
||||
|
||||
@ -60,8 +64,10 @@ sudo ldconfig -v
|
||||
|
||||
#### OQS PROVIDER
|
||||
```
|
||||
git clone https://github.com/open-quantum-safe/oqs-provider.git
|
||||
cd oqs-provider
|
||||
wget https://github.com/open-quantum-safe/oqs-provider/archive/refs/tags/0.6.0.tar.gz
|
||||
tar -xvf 0.6.0.tar.gz
|
||||
|
||||
cd oqs-provider-0.6.0
|
||||
cmake -S . -B _build -DOPENSSL_ROOT_DIR=/usr/local/lib64 -Dliboqs_DIR=/usr/local -DBUILD_SHARED_LIBS=ON
|
||||
cmake --build _build
|
||||
sudo cmake --install _build
|
||||
@ -105,6 +111,8 @@ Providers:
|
||||
- nastaviť cestu k prekladaču môžeme aj úpravou premennej v príkazovom riadku príkazom `SET PATH=\path\;%PATH%`, napríklad `SET PATH=C:\mingw64\bin\;%PATH%`
|
||||
- v priečinku /bin/ sa nachádza aplikácia *mingw32-make.exe*, z ktorej si urobíme kópiu a premenujeme ju na *make.exe*
|
||||
|
||||
#### CMake
|
||||
- ak z nejakého dôvodu nemôžeme použiť cmake priamo z WinLibs knižnice, tak ho môžeme stiahnuť z oficiálnej stránky - https://cmake.org/download/
|
||||
|
||||
#### OpenSSL (FireDaemon OpenSSL)
|
||||
- v našom prípade sme využívali predkompilovanú verziu OpenSSL zo stránky [FireDaemon OpenSSL](https://kb.firedaemon.com/support/solutions/articles/4000121705)
|
||||
@ -168,7 +176,7 @@ Providers:
|
||||
status: active
|
||||
oqsprovider
|
||||
name: OpenSSL OQS Provider
|
||||
version: 0.5.4-dev
|
||||
version: 0.6.0
|
||||
status: active
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user