💾 Archived View for bbs.geminispace.org › u › satch › 673 captured on 2024-02-05 at 14:40:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

➡️ Next capture (2024-03-21)

🚧 View Differences

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

Comment by 🐐 satch

Re: "Thoughts on the draft spec"

In: s/misfin

End to end encryption is always an option for clients to implement, no?

It would be pretty limiting to make encryption mandatory. Not everyone needs everything encrypted all of the time, and using a public key/private key system creates a lot of hassle when using multiple devices, etc. Doesn't to me seem like it belongs in the spec.

🐐 satch

2023-05-21 · 9 months ago

10 Later Comments ↓

🦀 jeang3nie · 2023-05-22 at 01:25:

I like the idea of bumping tls to 1.3 or greater. The only reason I can see for supporting older versions is legacy implementations, for which there should be none with a brand new protocol.

🚀 lem · 2023-05-24 at 08:17:

@jeang3nie - true, true. Gotta check to see what some of the embedded libraries support but will consider this.

🚀 lem · 2023-05-24 at 08:23:

@mbays - I'll make a note about TOFU in the spec this week - I was leaning towards certificates not expiring already, glad to hear someone agrees.

In terms of end-to-end encryption, it's probably out of scope for the Misfin spec? As I was envisioning it, people would be primarily hosting their own Misfin servers, so storing the messages encrypted is unnecessary. I'd be down to experiment though - maybe a client that encrypts the message with the receiver's cert?

🦀 jeang3nie · 2023-05-24 at 14:07:

@lem embedded is a good point. It would be cool to see a misfin server running on a pico or esp32!

🚀 mbays [OP] · 2023-05-24 at 15:42:

@lem But if the assumed mimetype is text/gemini, encrypted messages could only be implemented through a horrible hack, right?

If it's intended that users run their own servers, then there's no problem of course. But then having multiple mailboxes on a given server seems like unnecessary complexity?

Even the most minimal system with end-to-end encryption would be quite a bit more complicated than misfin, it's true. Still, I'm uneasy about accepting transport-only encryption as good enough for a new email-like protocol.

🐐 satch · 2023-05-24 at 17:49:

@mbays Depends on what you find to be a horrible hack - a PGP encrypted message could be sent as text/gemini very simply using a preformatted text block. To me, that's not bad.

🦀 jeang3nie · 2023-05-24 at 17:51:

@satch I almost mentioned that one could just use pgp the same way it's done in regular email. Then I remembered how much pgp sucks.

🐐 satch · 2023-05-24 at 18:06:

IMHO end-to-end encryption hasn't been implemented in a genuinely easy way anywhere. It always comes at a price. Clients can try to hide it from users, but it still has costs.

So I guess my question is, what implementation of end-to-end encryption sucks less than PGP? What would that look like for Misfin?

Sending unencrypted messages to a server is usually OK for most people, especially for the purposes of the small web (the target userbase of Misfin). A Misfin client which makes PGP-style encryption easy is totally doable. Once you start introducing multiple devices, e2e will get annoying no matter what protocol is being used.

🦀 jeang3nie · 2023-05-24 at 19:40:

Any way you encrypt it, the receiver must have the key to decrypt it. So the question becomes, how do you get the key to the receiver without sending it the the server first? It's the proverbial chicken and egg proglem. Pgp may suck, but it at least is a solution. Unless someone has a really actually nice solution I can't see making it a required part of the spec.

🦀 jeang3nie · Sep 25 at 14:22:

The spec doesn't go into how mail is stored and fetched, only the transmission. Servers and clients are pretty much free to invent.

If I eventually finish my implementation, the general idea is for a multi user system where the users all have shell accounts, as they would on a Pubnix. You log in and can view your mail with a simple pager or text editor. That provides a really sturdy fallback. On top of that, a webmail like system could eventually be built that serves your mailbox over Gemini using the same pubkey you use to send mail for access.

Original Post

🌒 s/misfin

Thoughts on the draft spec — Misfin is a nice idea, but I'm worried that it doesn't make sense to replace email with something lacking end-to-end encryption. A server on a multi-user system gets the plaintext of messages to its users. It's fine if you run the server on your own home server, but I guess that wouldn't be the typical configuration. I wonder if it would be feasible to work in a PGP-like mechanism using the same client key as in the client certificate... Some other little thoughts...

💬 mbays · 12 comments · 3 likes · 2023-05-21 · 9 months ago