Skip to content

Reduce usage of LD signatures#9659

Merged
Gargron merged 5 commits intomastodon:masterfrom
ClearlyClaire:fixes/ld-sign
Dec 30, 2018
Merged

Reduce usage of LD signatures#9659
Gargron merged 5 commits intomastodon:masterfrom
ClearlyClaire:fixes/ld-sign

Conversation

@ClearlyClaire
Copy link
Copy Markdown
Contributor

@ClearlyClaire ClearlyClaire commented Dec 30, 2018

LDS is used for forwarding replies and deletes, as well as for relays.
There is no need to LDS-sign “private” activities like Follow, Block etc., nor signing private toots.

Adding tests may be useful…

@ClearlyClaire ClearlyClaire force-pushed the fixes/ld-sign branch 2 times, most recently from ffb4272 to f7e92f1 Compare December 30, 2018 07:05
@ClearlyClaire ClearlyClaire changed the title [WiP] Reduce usage of LD signatures Reduce usage of LD signatures Dec 30, 2018
@Gargron Gargron merged commit 2909326 into mastodon:master Dec 30, 2018
@ClearlyClaire ClearlyClaire deleted the fixes/ld-sign branch March 14, 2019 15:44
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
* Do not LDS-sign Follow, Accept, Reject, Undo, Block

* Do not use LDS for Create activities of private toots

* Minor cleanup

* Ignore unsigned activities instead of misattributing them

* Use status.distributable? instead of querying visibility directly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants