Ask Your Question

Revision history [back]

Can't decrypt TLS from a specific python library

Hello, I have a problem. I'm using Wireshark 4.0.8. I created my ssl file to store my "(pre)-master-secrets log filename". I can thus decrypt TLS from my browser or from different python libraries without problem. But I cannot decrypt the TLS when my requests are made with the TLS-CLIENT python library (https://github.com/FlorianREGAZ/Python-Tls-Client) which allows the use of HTTP/2 and TLS fingerprints. real browsers.

However, I manage to decrypt the requests made with Curl-CFFI ("curl-impersonate" but for python) (https://github.com/yifeikong/curl_cffi) which also copies the HTTP and TLS fingerprints of real browsers. Does anyone have an idea why I can't decrypt TLS when I use the "TLS-Client" python library? (I'm not sure, but it seems that pre master secrets are not written to my ssl file when using this specific library).

Can't decrypt TLS from a specific python library

Hello, I have a problem. I'm using Wireshark 4.0.8. I created my ssl file to store my "(pre)-master-secrets log filename". I can thus decrypt TLS from my browser or from different python libraries without problem. But I cannot decrypt the TLS when my requests are made with the TLS-CLIENT python library (https://github.com/FlorianREGAZ/Python-Tls-Client) which allows the use of HTTP/2 and TLS fingerprints. fingerprints of real browsers.

However, I manage to decrypt the requests made with Curl-CFFI ("curl-impersonate" but for python) (https://github.com/yifeikong/curl_cffi) which also copies the HTTP and TLS fingerprints of real browsers. Does anyone have an idea why I can't decrypt TLS when I use the "TLS-Client" python library? (I'm not sure, but it seems that pre master secrets are not written to my ssl file when using this specific library). Port number 443 on the server is used for the encrypted TLS