ducdetronquito / requestz

HTTP client for Zig 🦎
BSD Zero Clause License
116 stars 12 forks source link

TLS handshake failure: iguanaTLS does not provide an appropriate cypher suite #22

Open ducdetronquito opened 3 years ago

ducdetronquito commented 3 years ago

Reported this morning by @q60.

ducdetronquito commented 3 years ago

After very light analysis, it seems that api.forismatic.com used TLS 1.3 but iguanaTLS, the library requestz uses to enable TLS, only support TLS 1.2.

I am not very confortable with how TLS works, so I will try my best to reach @alexnask for more information and eventually provide a fix.

I keep you in touch !

q60 commented 3 years ago

thanks! i really wish i can add another quote fetcher to my gigantic collection now in Zig. i think i really need one repo for them and add every one of them as a submodule.

q60 commented 3 years ago

as for me, i don't understand how HTTPS requests work, so i don't even know what is TLS