💾 Archived View for bbs.geminispace.org › u › ps › 22353 captured on 2024-12-17 at 15:48:40. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Comment by 👻 ps

Re: "Have anybody experience with Glib sockets? Seems that API..."

In: s/Gemini

I would glad to use any other library, just trying to make GTK application using Glib ecosystem.

So finally found solution by reading glib-networking source code, it's session-resumption-enabled property. If somebody want entire implementation example, here is my client library, writing for Yoda browser mostly (in development)

— https://github.com/YGGverse/ggemini

Maybe later will implement session cache to skip handshake on every page load - at least now I understand why does Geminispace pages loading take a while.

👻 ps [OP]

Dec 01 · 2 weeks ago

Original Post

🌒 s/Gemini

Have anybody experience with Glib sockets? Seems that API there does not provide any method to update user certificate (session ticket cached) in runtime. So I must restart GTK client to apply new certificate e.g. on path change. Found only one solution - force rehandshake request, that reset previous session cache and prevent resumption, but it's not useful with TLS 1.3 This subject bit harder that expected, also, usually socket clients assign certificate to some net address, not it path,...

💬 ps · 2 comments · Nov 28 · 3 weeks ago