jormungandr-bite/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 Create move type 2022-11-23 21:49:52 +01:00
.vscode
assets Add new logos & asset generation script 2023-10-04 02:04:30 +02:00
nsfw-model feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
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 fix: mocha テストが動かないのを修正 v2 (#8892) 2022-06-26 19:16:32 +09:00
.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 Refactor: use rust for native mastodon id conversion (#9786) 2023-03-31 01:58:28 +00:00