Upvotes seem to just federate as likes and dislikes.

    • Natanael@infosec.pub
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      3 days ago

      Hashing alone if it’s just usernames isn’t enough. Need something like keyed hashes, but then malicious servers can lie about numbers of votes.

      Otherwise you need something ridiculously overengineered like public but encrypted logs of user actions and Zero-knowledge proofs of correctness mapping everything to a distinct existing user without revealing who it is.

      As I mentioned in another post: for consistency is better to have each server count total votes from their own users, send a signed & timestamped message with the count to the host of the post being voted on. Then the host can display a consistent vote count to everybody that shows where votes are coming from without manipulation of external votes.

      Each individual server can lie about its count, but not by too much or else it will be detected and the server can get defederated (or have its votes ignored).

      • barsoap@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        but then malicious servers can lie about numbers of votes.

        They already can do that by pretending to have users they don’t have. It’s definitely a quick way to get defederated.

        • Draconic NEO@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          And it wouldn’t be caught quickly or maybe even ever if they opted to use hashes instead of just showing who voted and when.