[tech] [spec] TLS statistics

Le mercredi 30 d?cembre 2020, 23:15:11 CET nervuri a ?crit :
> I did check out *.lanterne.chilliet.eu and it looks like it's using a 
self-made server written in PHP. I'll submit an issue one of these days, 
if someone doesn't do it before me.
> 
> gemini://gemlog.lanterne.chilliet.eu/softwares.en.gmi
> https://framagit.org/MCMic/gemini-server

Hey, that one is mine.

Indeed I use STREAM_CRYPTO_METHOD_TLS_SERVER which means any TLS version. 
I can switch to STREAM_CRYPTO_METHOD_TLSv1_2_SERVER but I was afraid this 
would forbid TLS 1.3.
I see a STREAM_CRYPTO_METHOD_TLSv1_3_SERVER in the PHP code but not in the 
documentation :-(
Which means I need to investigate PHP git history to check when this 
constant was added and whether I can use it as-is.

Relevant part of my code: 
gemini://code.lanterne.chilliet.eu/vendor/mcmic/gemini-server/src/Server.ph
p (A fragment here would be handy to point the exact line, but I think no 
gemini clients support fragments? Here it?s not even text/plain but 
text/x-php so not sure what should be used?)

C?me

---

Previous in thread (11 of 37): 🗣️ Sean Conner (sean (a) conman.org)

Next in thread (13 of 37): 🗣️ nervuri (nervuri (a) disroot.org)

View entire thread.