-- Leo's gemini proxy
-- Connecting to gemini.bunburya.eu:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
2 upvotes, 1 direct replies (showing 1)
Gemini uses TLS encryption. So in the spirit of "get the underlying library to do as much as possible" I would suggest turning on TLS compression.
This can be done without any change to the Gemini protocol, it should just be a simple change to the parameters we're giving to the TLS library somewhere.
1 upvotes, 1 direct replies
While it looks like a good idea, TLS compression is prone to CRIME[1]/BREACH[2] attack.
My proposal doesn't require changing the Gemini protocol spec, just adds a convention of appending a query param e.g. `?__gemini_encoding=gzip`, which could be ignored by the server.
-- Response ended
-- Page fetched on Fri May 17 08:23:40 2024