[tech] [spec] TLS statistics
Côme Chilliet come at chilliet.eu
Fri Jan 1 14:48:55 GMT 2021
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.php (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
Archive home | About this archive