python-tls / tls

A pure Python implementation of the Transport Layer Security protocol version 1.2, using existing libraries for crypto math.
Other
163 stars 44 forks source link

An example of constructing ClientHello Message in bytes . #144

Open storyinvisible opened 5 years ago

storyinvisible commented 5 years ago

Hi, I am trying to break down the handshaking process in the small steps with the library . I have tried with common_client_hello_data from TestClientHello with OpenSSL, it prompted me with" unknown protocol". I tried to work with the ClientHello however, I am not sure how to fill up the rest of the parameters that are required. How should I work with the ClientHello from the hello_message. to generate a completed client hello message ? Your kind attention is much appreciated