Follow

Sources of ergol, my little php server, are available.

gemini://gem.adele.work/code/e

It's just a proof of concept. Not sure it is convenient for production use.

@richard
toc toc @come
see this toot

"Supports TLS from both client and server-side" ??

@adele @richard From what I see it does not, but the code from React/socket is hard to read, lots of wrapping over standard PHP functions.

But it does seem to rely on stream_socket_enable_crypto in the end, which from my tests do not support client certificate correctly.

https://github.com/reactphp/socket/blob/28fac70119b5eff7007da282caf11a1de35c892f/src/StreamEncryption.php#L113

@adele@mastodon.tetaneutral.net

I'm sorry but I need to redirect you to
react/socket to answer this question. My lib by itself doesn't do anything with the certs, except for the server part. php-gemini doesn't do client certificate authentication for instance (yet ?)

Sign in to participate in the conversation
Mastodon Tetaneutral.net

Instance de Mastodon, réseau social de micro-blogging libre et décentralisé hébregée par l'association Tetaneutral.net.