From: Karl Palsson Date: Thu, 16 Jan 2020 11:16:07 +0000 (+0000) Subject: luci-app-mosquitto: update tls versions for bridges as well X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F3514%2Fhead;p=project%2Fluci.git luci-app-mosquitto: update tls versions for bridges as well Earlier we updated the options list for tls versions for the broker's own listeners, but we missed the list of tls versions used when connecting to remote brokers. Fixes: a7b1d63eb91 drop tls1.0, add tls1.3 Signed-off-by: Karl Palsson --- diff --git a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua index dd119421a3..0b0467e9a0 100644 --- a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua +++ b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua @@ -209,9 +209,9 @@ psk_key.validate = validate_psk_key b_tls_version = s:option(ListValue, "tls_version", _("TLS Version"), _("The remote broker must support the same version of TLS for the connection to succeed.")) b_tls_version:value("", "Default") -b_tls_version:value("tlsv1") b_tls_version:value("tlsv1.1") b_tls_version:value("tlsv1.2") +b_tls_version:value("tlsv1.3") b_tls_version.optional = true o = s:option(Value, "cafile", _("Path to CA file"))