iceshrimp/packages/backend
Erin Shepherd 0c9c04f89d
[backend] Refetch user keys when HTTP Signature validation fails
If a user has had a key rotation, and nobody on this server follows
that user, we will not receive the Update activity with the new key

Therefore, when we encounter key validation errors we should check
for an up-to-date key.

References (other implementations):

 * [Mastodon](fc9ab61448/app/controllers/concerns/signature_verification.rb (L96))
 * [Akkoma](https://akkoma.dev/AkkomaGang/http_signatures/src/branch/main/lib/http_signatures/http_signatures.ex#L46)
2023-10-17 00:52:51 +02:00
..
.idea
.vscode
assets Add new logos & asset generation script 2023-10-04 02:04:30 +02:00
nsfw-model
src [backend] Refetch user keys when HTTP Signature validation fails 2023-10-17 00:52:51 +02:00
test [backend] More mentions fixes 2023-10-14 17:11:21 +02:00
.mocharc.json
.swcrc fix compile error 2023-06-24 04:07:19 -04:00
jsconfig.json chore: format 2023-05-29 09:31:02 -07:00
package.json [backend] Remove check:connect script and js file 2023-10-13 18:46:20 +02:00
tsconfig.json