2026-09-04 09:26 UTC
Another Mastodon / ActivityPub signature question.
Alice reposts Bob.
Bob updates their post.
Alice's instance syndicates that update to her followers.
The message Alice's instance sends has an Actor of Bob. But the headers are signed by Alice. So the signature doesn't match the actor.
Which means Bob's embedded RsaSignature2017 *also* needs to be checked.
https://docs.joinmastodon.org/spec/security/#ld-sign
But that doesn't mean I can skip checking Alice's signature, right?
Replies (1)
-
@Edent@mastodon.social 2026-09-04 10:04
The documentation says: > Strip type, id, and signatureValue from the signature, leaving only signature[creator] and signature[created]. > Base64-decode the signatureValue and verify it against the public key in signature[creator]. But it doesn't say *what* to validate the signature against! Is it a JSON document just containing creator and created? Or is it something else?