ucentral-client: update to latest HEAD

568a84a do not enforce CN validation when in self-signed mode

Fixes: WIFI-12099
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-01-19 06:19:52 +01:00
parent 30cfc34e1c
commit e42fd1e3a4
3 changed files with 8 additions and 2 deletions

View File

@@ -4,10 +4,10 @@ PKG_NAME:=ucentral-client
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-client.git PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-client.git
PKG_MIRROR_HASH:=8e53167e08d36e43ad00819f3bbe882f6957e995f075fa37141b3e8944f3688b PKG_MIRROR_HASH:=1ac4e41123dc9717bac880a013eee586a53135cc87220ba6693468f1e6f6fb99
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2022-06-22 PKG_SOURCE_DATE:=2022-06-22
PKG_SOURCE_VERSION:=5f69da72973409cc63b9991e4c183f8deb5ab0a9 PKG_SOURCE_VERSION:=568a84a312ebd8c15ba1fc0ee77f3d309f9c46b0
PKG_LICENSE:=BSD-3-Clause PKG_LICENSE:=BSD-3-Clause
PKG_MAINTAINER:=John Crispin <john@phrozen.org> PKG_MAINTAINER:=John Crispin <john@phrozen.org>

View File

@@ -32,6 +32,11 @@ start_service() {
config_get debug 'config' 'debug' 0 config_get debug 'config' 'debug' 0
config_get insecure 'config' 'insecure' 0 config_get insecure 'config' 'insecure' 0
if [ -f /etc/ucentral/restrictions.json ]; then
selfsigned=$(cat /etc/ucentral/restrictions.json | jsonfilter -e '@["allow-self-signed"]')
[ "${selfsigned}" == "true" ] && insecure=1
fi
procd_open_instance procd_open_instance
procd_set_param command "$PROG" procd_set_param command "$PROG"
[ -n "$serial" ] && procd_append_param command -S $serial [ -n "$serial" ] && procd_append_param command -S $serial

View File

@@ -53,6 +53,7 @@ packages:
- ustp - ustp
- libustream-openssl - libustream-openssl
- udevmand - udevmand
- udevstats
- umdns - umdns
- oping - oping
- vxlan - vxlan