mistykey/packages/backend/src/server
dakkar 58c0ac6c89 check signatures with and without query - fix #1036
@Oneric explained:

> Spec says query params must be included in the signature; Mastodon
> being Mastodon used to always exclude it though and for
> compatibility everyone followed this. At some point GtS decided to
> follow spec instead which caused interop issues, but succeeded in
> getting Mastodon (and others like *oma) to accept incoming requests
> with (and also still without) query params though outgoing requests
> remaing query-param-free. Some still only accept query-param-less
> requests though and GtS uses a retry mechanism to resend any request
> failing with 401 with an query-parama-less signature once. (Also
> see:
> https://docs.gotosocial.org/en/latest/federation/http_signatures/ )
>
> So for incoming requests both versions need to be checked. For
> outgoing requests, unless you want to jump through retry hoops like
> GtS, omitting query-params is the safer bet for now (presumably this
> will only change if Mastodon ever decides to send out requests
> signed with query params)
2025-04-21 16:44:13 +01:00
..
api remove redundant sql query. 2025-04-20 23:21:50 -03:00
assets なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
oauth normalize mastodon BAD_REQUEST errors 2025-03-27 19:51:42 -04:00
web merge: make MOTD html unescaped. (requires discussion?) (!759) 2025-04-15 07:45:51 +00:00
ActivityPubServerService.ts check signatures with and without query - fix #1036 2025-04-21 16:44:13 +01:00
FileServerService.ts move SkRateLimiterService to correct directory 2025-02-05 11:20:26 -05:00
HealthServerService.ts Misskey® Reactions Buffering Technology™ (#14579) 2024-09-20 21:03:53 +09:00
NodeinfoServerService.ts upd: add FriendlyCaptcha as a captcha solution 2024-11-02 02:20:35 +01:00
ServerModule.ts rename MastodonConverters.ts to matching naming scheme 2025-03-27 19:51:43 -04:00
ServerService.ts make the listen address configurable - fixes #927 2025-02-10 10:40:06 +00:00
SkRateLimiterService.md track the number of concurrent requests to redis, and bypass if the request is guaranteed to reject 2025-03-29 09:47:05 -04:00
SkRateLimiterService.ts track the number of concurrent requests to redis, and bypass if the request is guaranteed to reject 2025-03-29 09:47:05 -04:00
WellKnownServerService.ts fix XRD+XML serialisation of Alias 2024-11-27 10:06:21 +00:00