Changed cryptography module to mbedtls

This commit is contained in:
Daniel Pawlik
2024-04-22 09:15:31 +02:00
parent e4eb103f4d
commit 7a3ddfc8a8
9 changed files with 34 additions and 107 deletions

View File

@@ -113,15 +113,9 @@ CONFIG_PACKAGE_luci-app-vnstat2=y
# language
CONFIG_LUCI_LANG_pl=y
##### REPLACE CRYPTOLIB #####
# mbedtls - comment it when openssl or wolfssl enabled!
####### REPLACE CRYPTOLIB #####
# Remove section and copy from config/common/ a cryptolib section that you need.
CONFIG_PACKAGE_luci-ssl=y
CONFIG_PACKAGE_wpad-mbedtls=y
CONFIG_PACKAGE_wpad-basic-mbedtls=m
## replace mbedtls with openssl - remember to leave commented "is not set" !
#CONFIG_PACKAGE_luci-ssl-openssl=y
#CONFIG_PACKAGE_wpad-openssl=y
## CONFIG_PACKAGE_wpad-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-openssl is not set
#######

View File

@@ -105,22 +105,9 @@ CONFIG_PACKAGE_luci-app-vnstat2=y
# language
CONFIG_LUCI_LANG_pl=y
##### REPLACE CRYPTOLIB #####
# mbedtls - comment it when openssl or wolfssl enabled!
####### REPLACE CRYPTOLIB #####
# Remove section and copy from config/common/ a cryptolib section that you need.
CONFIG_PACKAGE_luci-ssl=y
CONFIG_PACKAGE_wpad-mbedtls=y
CONFIG_PACKAGE_wpad-basic-mbedtls=m
## replace mbedtls with openssl - remember to leave commented "is not set" !
#CONFIG_PACKAGE_luci-ssl-openssl=y
#CONFIG_PACKAGE_wpad-openssl=y
## CONFIG_PACKAGE_wpad-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-openssl is not set
## replace mbedtls with wolfssl - remember to leave commented "is not set" !
# CONFIG_PACKAGE_luci-ssl-wolfssl=y
# CONFIG_PACKAGE_wpad-wolfssl=y
## CONFIG_PACKAGE_wpad-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-openssl is not set
#######

6
configs/common/openssl Normal file
View File

@@ -0,0 +1,6 @@
#### replace mbedtls with openssl - remember to leave commented "is not set" !
CONFIG_PACKAGE_luci-ssl-openssl=y
CONFIG_PACKAGE_wpad-openssl=y
# CONFIG_PACKAGE_wpad-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-openssl is not set

5
configs/common/wolfssl Normal file
View File

@@ -0,0 +1,5 @@
CONFIG_PACKAGE_luci-ssl-wolfssl=y
CONFIG_PACKAGE_wpad-wolfssl=y
# CONFIG_PACKAGE_wpad-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-openssl is not set

View File

@@ -83,25 +83,12 @@ CONFIG_PACKAGE_luci-app-usteer=y
# language
CONFIG_LUCI_LANG_pl=y
##### REPLACE CRYPTOLIB #####
# mbedtls - comment it when openssl or wolfssl enabled!
####### REPLACE CRYPTOLIB #####
# Remove section and copy from config/common/ a cryptolib section that you need.
CONFIG_PACKAGE_luci-ssl=y
CONFIG_PACKAGE_wpad-mbedtls=y
CONFIG_PACKAGE_wpad-basic-mbedtls=m
#### replace mbedtls with openssl - remember to leave commented "is not set" !
#CONFIG_PACKAGE_luci-ssl-openssl=y
#CONFIG_PACKAGE_wpad-openssl=y
# CONFIG_PACKAGE_wpad-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-openssl is not set
#### replace mbedtls with wolfssl - remember to leave commented "is not set" !
# CONFIG_PACKAGE_luci-ssl-wolfssl=y
# CONFIG_PACKAGE_wpad-wolfssl=y
# CONFIG_PACKAGE_wpad-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-openssl is not set
CONFIG_PACKAGE_wpad-mbedtls=y
#######
# temporary workaround for kernel 6.6
# CONFIG_PACKAGE_kmod-usb-serial-dmx_usb_module is not set

View File

@@ -106,25 +106,12 @@ CONFIG_PACKAGE_bind-host=y
# language
CONFIG_LUCI_LANG_pl=y
##### REPLACE CRYPTOLIB #####
### mbedtls - comment it when openssl or wolfssl enabled!
####### REPLACE CRYPTOLIB #####
# Remove section and copy from config/common/ a cryptolib section that you need.
CONFIG_PACKAGE_luci-ssl=y
CONFIG_PACKAGE_wpad-mbedtls=y
CONFIG_PACKAGE_wpad-basic-mbedtls=m
#### replace mbedtls with openssl - remember to leave commented "is not set" !
# CONFIG_PACKAGE_luci-ssl-openssl=y
# CONFIG_PACKAGE_wpad-openssl=y
# CONFIG_PACKAGE_wpad-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-openssl is not set
#### replace mbedtls with wolfssl - remember to leave commented "is not set" !
# CONFIG_PACKAGE_luci-ssl-wolfssl=y
# CONFIG_PACKAGE_wpad-wolfssl=y
# CONFIG_PACKAGE_wpad-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-openssl is not set
CONFIG_PACKAGE_wpad-mbedtls=y
#######
# temporary workaround for kernel 6.6
# CONFIG_PACKAGE_kmod-usb-serial-dmx_usb_module is not set

View File

@@ -110,24 +110,11 @@ CONFIG_PACKAGE_bind-host=y
CONFIG_LUCI_LANG_pl=y
####### REPLACE CRYPTOLIB #####
## mbedtls - comment it when openssl or wolfssl enabled!
# Remove section and copy from config/common/ a cryptolib section that you need.
CONFIG_PACKAGE_luci-ssl=y
CONFIG_PACKAGE_wpad-mbedtls=y
CONFIG_PACKAGE_wpad-basic-mbedtls=m
#### replace mbedtls with openssl - remember to leave commented "is not set" !
# CONFIG_PACKAGE_luci-ssl-openssl=y
# CONFIG_PACKAGE_wpad-openssl=y
# CONFIG_PACKAGE_wpad-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-openssl is not set
#### replace mbedtls with wolfssl - remember to leave commented "is not set" !
# CONFIG_PACKAGE_luci-ssl-wolfssl=y
# CONFIG_PACKAGE_wpad-wolfssl=y
# CONFIG_PACKAGE_wpad-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-openssl is not set
CONFIG_PACKAGE_wpad-mbedtls=y
#######
# MT7921
CONFIG_PACKAGE_kmod-mt7921-common=y

View File

@@ -106,22 +106,9 @@ CONFIG_PACKAGE_bind-host=y
# language
CONFIG_LUCI_LANG_pl=y
##### REPLACE CRYPTOLIB #####
# mbedtls - comment it when openssl or wolfssl enabled!
####### REPLACE CRYPTOLIB #####
# Remove section and copy from config/common/ a cryptolib section that you need.
CONFIG_PACKAGE_luci-ssl=y
CONFIG_PACKAGE_wpad-mbedtls=y
CONFIG_PACKAGE_wpad-basic-mbedtls=m
## replace mbedtls with openssl - remember to leave commented "is not set" !
#CONFIG_PACKAGE_luci-ssl-openssl=y
#CONFIG_PACKAGE_wpad-openssl=y
## CONFIG_PACKAGE_wpad-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-openssl is not set
## replace mbedtls with wolfssl - remember to leave commented "is not set" !
# CONFIG_PACKAGE_luci-ssl-wolfssl=y
# CONFIG_PACKAGE_wpad-wolfssl=y
## CONFIG_PACKAGE_wpad-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-openssl is not set
#######

View File

@@ -109,22 +109,9 @@ CONFIG_PACKAGE_bind-host=y
# language
CONFIG_LUCI_LANG_pl=y
##### REPLACE CRYPTOLIB #####
# mbedtls - comment it when openssl or wolfssl enabled!
####### REPLACE CRYPTOLIB #####
# Remove section and copy from config/common/ a cryptolib section that you need.
CONFIG_PACKAGE_luci-ssl=y
CONFIG_PACKAGE_wpad-mbedtls=y
CONFIG_PACKAGE_wpad-basic-mbedtls=m
## replace mbedtls with openssl - remember to leave commented "is not set" !
#CONFIG_PACKAGE_luci-ssl-openssl=y
#CONFIG_PACKAGE_wpad-openssl=y
## CONFIG_PACKAGE_wpad-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-openssl is not set
## replace mbedtls with wolfssl - remember to leave commented "is not set" !
# CONFIG_PACKAGE_luci-ssl-wolfssl=y
# CONFIG_PACKAGE_wpad-wolfssl=y
## CONFIG_PACKAGE_wpad-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-openssl is not set
#######