facebookincubator/fizz

Reuse client's handshake data in python

novitae opened this issue · 0 comments

This issue might be a bit off topic, but I don't see where could I post it else.

I would like to make a handshake with a server using fizz, but then use the established connection on a python http library (no matter which one). So I was wondering if it is possible to take the secrets and other details about the handshake printed using the CLI fizz client -connect ..., and to set them in a socket or other kind of object, as if it was the one that established the connection, and then use it to send requests to the targeted server. But:

  • Is it even possible on the paper ?
  • Is it possible in practice ?
  • If I use a Facebook protocol version such as tls_1_3_26_fb, will the requests be read and received correctly ?
  • If None of that is possible, what would you try to do ?

Thanks for your help !