3 ms·
Ask HN: Why do ActivityPub and Nostr not encrypt an "event" content and metadata
Hi, I am getting interested in decentralized protocols like ActivityPub and NOSTR and wondering if there is a good reason to not encrypt both the event data and metadata (event kind, time, etc) with the poster private key. Essentially each event only making public that an event is created/signed by Person X but no other data can be retrieved about said event.
- ecedeno 2y agoWhat would be the usecase for publishing events in a social media protocol (i.e. ActivityPub) with no information?
- ahmedbaracat 2y agoOnly ppl who you allow to follow you gets to access the unencrypted data.
- 01HNNWZ0MV43FF 2y agoThen you would need to encrypt the data to many public keys, could be difficult but possible. Also means adding a new follower requires you to rewrite old posts, right?
- ahmedbaracat 2y agoYes, these solutions are possible. Or maybe manage followers through an ACL controlled by a smart contract or something similar. That’s why I am asking really, to see if there are easier ways. It feels like this should be a common problem, but we probably got used to everything being public by default.
- ephbit 2y agoEach post could be encrypted (before publishing) using a unique key (derived from the private key of the poster) and then signed with the private key (of the poster) before publishing. Then the poster could later choose to selectively publish (or make them available to individuals) some of these unique keys, to make posts readable.