ssbc / ssb-meta-feeds

10 stars 0 forks source link

encrypted metafeed API #88

Closed mixmix closed 1 year ago

mixmix commented 1 year ago

Cases this has to cover:

  1. recp = sbot.id

    • this is technically an "own_secret" case, but we will hit bumps because ssb-box2 doesn't know about meta-feeds, and "own" now being many keys
      • on encrption, I think box2 will see this as own-encrypt?
      • on decrypt, box2 will almost certainly NOT try own keys
  2. recps = groupId

    • this case should be fine... as we try group keys on all our messages
  3. recp = someFeedId

    • this is the DM case, so the shared key should be derived from shardFeedId (author) + someFeedId
    • this should "just work"
staltz commented 1 year ago

@mixmix Mind deleting the branch too? (in case you're sure it's not going to be used)

mixmix commented 1 year ago

Uh.... what? don't know why this was closed. Accident? How to reopen. Sigh

mixmix commented 1 year ago

Oh, the branch it was being merged into was merged and deleted. Sigh

mixmix commented 1 year ago

see https://github.com/ssbc/ssb-meta-feeds/pull/88