💾 Archived View for bbs.geminispace.org › s › Gemini › 15700 › group captured on 2024-06-16 at 20:03:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-12)

➡️ Next capture (2024-07-09)

🚧 View Differences

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

s/Gemini

s/Gemini

Back to front page

Grouped Posts

🤖 QuARC

Examples of handling TOFU and client certificates with mbedTLS (in C)? — As a rite of passage I've decided to make a Gemini client in C, and as I'm new to SSL/networking, I have no idea how to handle TOFU or client certificates with mbedTLS. Has anyone else specifically made a gemini client with it? Or would you recommend that I try to figure out another SSL library? I avoided OpenSSL because the documentation seemed incomprehensible, but mbedTLS' documentation isn't much better. As an aside, I...

💬 3 comments · 1 like · Mar 21 · 3 months ago · #certificates #client_certificates #encryption

🧇 Acidus

Valid Gemini response with invalid media type? — Valid Gemini response with invalid media type? This is an interesting URL: [gemini link] It returns a status code 20, and a META of "text/plain\n" with a literal new line. A \r\n follows this, so per the Gemini spec, the META field contains a trailing \n character. The Gemini spec says that "For [SUCCESS status] responses, <META> is a MIME media type as defined in RFC 2046." RFC-2046 defines the media type as part of the grammar for a `...

💬 1 comment · Mar 21 · 3 months ago