Given the US recently made a bid to fast-track multiple censorship bills, KOSA included, and is also trying to kill Section 230 now, which will pose an existential threat to Fediverse instances hosted over the clearnet, how feasible would it be to host said instances over Tor/I2P?

  • [object Object]@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    The server to server protocol has a bunch of assumptions that are not true for tor and i2p.

    Could you please elaborate just a bit? I’m a web dev, but haven’t looked into fediverse protocols yet.

    • ViatorOmnium@piefed.social
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 days ago

      One example is HTTP signatures. Servers sign their payloads and receiving servers should validate not just the hash but ensure the payload is not too old. Mastodon allows for a twelve hour difference (https://docs.joinmastodon.org/spec/security/#http-signatures) but other software might be stricter for security reasons. The a bunch of things like webfinger were designed around public dns and public key chains A mastodon server running on the open internet and/or expecting public keychain HTTPs will not be able to federate with something running in tor.

      You could cut enough corners to make something that federates inside tor, but at that point it’s better to design something around tor’s features.