-
Notifications
You must be signed in to change notification settings - Fork 36
Selective sharing and user blocking? #45
Comments
SSB does something similar for private messages, see https://github.com/auditdrivencrypto/private-box. Basically when you see one of these encrypted messages, you try to decrypt. If you're a recipient, decryption will succeed. Otherwise, you can just ignore it. (IIRC it has up to 8 recipients so you try 8 times.) I think you're right that encryption schemes are needed because private sharing is a huge use-case. I don't have the resources to dedicate to that yet but I welcome folks to try out all kinds of schemes! |
Thank you for your response. I'll play around with the idea a bit - but don't hold your breath. |
I think that this would be a lot easier to do with this change in WebDB |
I don't follow how that change would facilitate this feature. Would you please explain in a little more detail? |
As pfrazee mentioned, you could use WebDB, the thing that Fritter uses for indexing posts currently only support JSON, so you'd need a way to attempt to decrypt messages before they get indexed with WebDB. The change I linked to could be used in combination with a file extension for encrypted messages to have WebDB automatically attempt to run the decryption on them. After that you'd just need to add something for tracking people's public keys for private-box (probably a field in the profile.json?) and something for generating these private messages. |
I see, thanks for the answer. There is enough of dat and Fritter's architecture I don't grasp that my own mental model of the solution was at a very high level. The change you're describing is, as far as I can tell, more on the order of layering additional features and behavior on top of what Fritter already does. My rough, hand-wavy idea was to mess around with Fritter's guts. (Edit: Sorry, I should have clarified. I'll try to run with your ideas, if it's possible to do this without rewriting parts that already exist it would be better. I'm emphatically not trying to say, "I see what your point is but am going to ignore it.") |
Well, you could simplify it further, actually. You can just encrypt the Then you'd just need to track people's public keys for secret-box from their profile.json, and would need to modify the fritter UI for rendering the message. You'd still have the metadata on when it was posted and what the post might be replying to, though. |
It would be nicer if the metadata could be inside the encrypted payload. But I'm in serious danger of planning feature enhancement 42 when feature 1 never gets written. Let me fork this and start playing games. |
I realize I may be asking for the sun, moon, and stars here, but it would spectacular if Fritter had the option of selectively sharing content and blocking users. Right now, of course, Fritter has the model that I don't have to follow others but anyone that follows anyone else following me can also find and follow me.
My idea for this is almost certainly either fundamentally flawed or else already under consideration. But I figure I'll share it anyway. Selective sharing and user blocking:
Thoughts? I mean the ugly side is that a busy account with lots of activity would be generating thousands of tiny messages for key exchanges just to post "OMG the dog just stole a slice of pizza off the table!" But despite the high volume of symmetric key exchange messages the key exchange message size would be tiny.
I ask for this because I think a p2p social network is wonderful, but me and most of the people I know want a p2p Facebook/Instagram, not a p2p Twitter.
The text was updated successfully, but these errors were encountered: