From 7fd5b8d5536e9f5880da98dbd2852778b76a7d5e Mon Sep 17 00:00:00 2001 From: Adeildo Date: Wed, 11 Nov 2026 16:43:27 -0300 Subject: [PATCH 1/2] Bump native tls-client library to v1.18.1 Adds the chrome_154, chrome_154_PSK and safari_27_2 identifiers, the only profiles upstream added since v1.16.0. SHA256SUMS still pins v1.16.0: the v1.18.1 release has no binaries yet. --- scripts/fetch_library.py | 2 +- tests/test_client_identifiers.py | 2 +- tls_client/settings.py | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/fetch_library.py b/scripts/fetch_library.py index 6a104ca..cccc3e7 100644 --- a/scripts/fetch_library.py +++ b/scripts/fetch_library.py @@ -18,7 +18,7 @@ import urllib.request from pathlib import Path -VERSION = "1.16.0" +VERSION = "1.18.1" DOWNLOAD_URL = "https://github.com/bogdanfinn/tls-client/releases/download/v{version}/{asset}" RELEASE_API_URL = "https://api.github.com/repos/bogdanfinn/tls-client/releases/tags/v{version}" diff --git a/tests/test_client_identifiers.py b/tests/test_client_identifiers.py index bdbb467..2d53726 100644 --- a/tests/test_client_identifiers.py +++ b/tests/test_client_identifiers.py @@ -12,7 +12,7 @@ from tls_client.exceptions import TLSClientException from tls_client.settings import CLIENT_IDENTIFIERS -# Upstream's own default (profiles.DefaultClientProfile in tls-client v1.16.0), which it uses for unknown names. +# Upstream's own default (profiles.DefaultClientProfile in tls-client v1.18.1), which it uses for unknown names. # These identifiers send the same ClientHello as the fallback, so the wire can't tell them apart from a typo. UPSTREAM_DEFAULT_PROFILES = {"chrome_150", "chrome_150_PSK"} diff --git a/tls_client/settings.py b/tls_client/settings.py index 70f5d2f..89497a3 100644 --- a/tls_client/settings.py +++ b/tls_client/settings.py @@ -32,12 +32,15 @@ "chrome_150_PSK", "chrome_152", "chrome_152_PSK", + "chrome_154", + "chrome_154_PSK", # Brave "brave_146", "brave_146_PSK", # Safari "safari_15_6_1", "safari_16_0", + "safari_27_2", # iOS (Safari) "safari_ios_15_5", "safari_ios_15_6", From 62ff0faecd1a4c0cef71d277784b9b3370302bd8 Mon Sep 17 00:00:00 2001 From: Adeildo Date: Fri, 13 Nov 2026 11:19:49 -0300 Subject: [PATCH 2/2] Pin the v1.18.1 library checksums The v1.18.1 release now has its binaries, built with the chrome_154, chrome_154_PSK and safari_27_2 profiles. --- tls_client/dependencies/SHA256SUMS | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tls_client/dependencies/SHA256SUMS b/tls_client/dependencies/SHA256SUMS index 10ab9a1..8569545 100644 --- a/tls_client/dependencies/SHA256SUMS +++ b/tls_client/dependencies/SHA256SUMS @@ -1,8 +1,8 @@ -6463457ea713a96b3b8c94fd9d8746e7bc510cb6784fcf0f4bb64d9c83e3251a tls-client-darwin-amd64.dylib -99984d013921c753ab29d28720cb099eff6adf63538347e13652cb5cfe5bdc02 tls-client-darwin-arm64.dylib -5ea81308e53e236dae73b35bd4a09af1201191c32713ea2968b85bbcfe94b616 tls-client-linux-386.so -e398622f99c0ce8fccb50ff6e414f373b5932a0277ece90468a796992f0ae518 tls-client-linux-arm64.so -22baa029d4ee8cf327d10cda0e66c29cf256b3eb48e1fe9d6a76954b66f77711 tls-client-linux-armv7.so -2ec853496634545e7a7ea028715763948d55bbdd97aca7ecaa9fea8c2ebb08df tls-client-linux-ubuntu-amd64.so -5203a36f80ea3f9cdfa43bf072a775702d1802acb8e4304e78905210f67dd2af tls-client-windows-32.dll -53dca636b32d965ee6fe4562f39df959b2063febaa3d740efa925d1873cf11d7 tls-client-windows-64.dll +561a79679514b4ded5ad44dc4baa88002d0770c4d30179a7673c789efe81e08a tls-client-darwin-amd64.dylib +5e607fffe854d67970886ae317c9edea2280565710ebb3f333be533ffb243ee6 tls-client-darwin-arm64.dylib +177e18e18e89fd1b7ada6f8e9febff5fb0278d2998aec15bf8ddf46a94422096 tls-client-linux-386.so +9ee40f45a5336142948cc8c6a5a2f7805aaf95a975348e3faef104c90d8c5c15 tls-client-linux-arm64.so +a5b697a4ad4a87beba89899b4d5ea6c46e7c92a3fedf4dae837313498ac3f708 tls-client-linux-armv7.so +719ad7f9772d4a72572e4eb9c1aace289a13eaa9bf3862c32f5dce6222d5644f tls-client-linux-ubuntu-amd64.so +59e68ef62cb345ed7a123627d0acc98169a5e97426d50fcd1c64d6a71b88328a tls-client-windows-32.dll +137232485faca9e577f9c7a11b35b3e5a7b59f64808d8df099fa9994459b4a44 tls-client-windows-64.dll