this post was submitted on 18 Aug 2024
814 points (97.9% liked)

Fediverse

28352 readers
500 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
 

Probably better to post in the github issue rather than replying here.

https://github.com/LemmyNet/lemmy/issues/4967

you are viewing a single comment's thread
view the rest of the comments
[–] pivot_root@lemmy.world 8 points 2 months ago (1 children)

Exactly. If private votes were intended, Lemmy servers would have had voting privacy setting where the vote is federated as @privacy-vote-{sha256sum userid & postid}@instance.foo instead of the actual voter's username.

[–] rglullis 3 points 2 months ago (1 children)

Not privacy-protecting. You can easily deduct the voter by enumeration.

[–] pivot_root@lemmy.world 1 points 2 months ago* (last edited 2 months ago) (1 children)

A privately-stored salt would fix that :)

[–] rglullis 3 points 2 months ago

Then what is the point of hashing the data? Just use an UUID.

Anyway, this is all pointless bike shedding because the activity needs to be associated with the actor, as it can only be accepted if the signature can be verified.