From f979e94235647803cab277f292170fb1fbedc26c Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 3 Nov 2025 05:32:57 +0000 Subject: [PATCH] fix(session): remove padding extension from OkHttp JA3 fingerprints Remove extension 21 (TLS padding) from okhttp4 and okhttp5 JA3 strings to resolve SSL/TLS handshake failures. --- unshackle/core/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unshackle/core/session.py b/unshackle/core/session.py index 298b6c6..dd5dc5b 100644 --- a/unshackle/core/session.py +++ b/unshackle/core/session.py @@ -26,7 +26,7 @@ FINGERPRINT_PRESETS = { "ja3": ( "771," # TLS 1.2 "4865-4866-4867-49195-49196-52393-49199-49200-52392-49171-49172-156-157-47-53," # Ciphers - "0-23-65281-10-11-35-16-5-13-51-45-43-21," # Extensions + "0-23-65281-10-11-35-16-5-13-51-45-43," # Extensions "29-23-24," # Named groups (x25519, secp256r1, secp384r1) "0" # EC point formats ), @@ -37,7 +37,7 @@ FINGERPRINT_PRESETS = { "ja3": ( "771," # TLS 1.2 "4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53," # Ciphers - "0-23-65281-10-11-35-16-5-13-51-45-43-21," # Extensions + "0-23-65281-10-11-35-16-5-13-51-45-43," # Extensions "29-23-24," # Named groups (x25519, secp256r1, secp384r1) "0" # EC point formats ),