From 9d603c5ad20503c11e6b79aa8e0203d45e835358 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sun, 1 Feb 2026 03:12:54 +0100 Subject: Add pinnedPeerCertSha256 support to TLS settings Introduces the pinnedPeerCertSha256 field to TlsStreamSettings in the JS model and adds a corresponding input in the TLS settings form. This allows users to specify SHA256 fingerprints for peer certificate pinning, enhancing security configuration options. --- web/html/form/tls_settings.html | 89 +++++++++++++++++++++++++++-------------- 1 file changed, 60 insertions(+), 29 deletions(-) (limited to 'web/html') diff --git a/web/html/form/tls_settings.html b/web/html/form/tls_settings.html index c14c4831..24b994f6 100644 --- a/web/html/form/tls_settings.html +++ b/web/html/form/tls_settings.html @@ -1,11 +1,13 @@ {{define "form/tlsSettings"}} - + {{ i18n "none" }} - Reality + Reality TLS @@ -16,33 +18,44 @@ - - Auto - [[ value ]] + + Auto + [[ + value ]] - - [[ key ]] + [[ key + ]] - - [[ key ]] + [[ key + ]] - - None - [[ key ]] + None + [[ key + ]] - - [[ alpn ]] + + [[ alpn + ]] @@ -60,18 +73,31 @@ + + + + @@ -99,8 +126,10 @@ - - [[ key ]] + + [[ key + ]] @@ -108,20 +137,22 @@ - + - + - - [[ key ]] - + + [[ + key ]] + - Get New ECH Cert + Get New + ECH Cert Clear -- cgit v1.2.3