Iceshrimp (e2net fork) https://estrogen.network
Go to file
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
.config Make MFM search engine a config option, switch default engine to DuckDuckGo, replaces #207 2023-09-12 15:37:46 +02:00
.forgejo/workflows Remove rust deps from Dockerfile & CI, cleanup docs 2023-09-26 21:39:40 +02:00
.vscode vscode: replace eslint with rome 2023-01-14 14:33:15 +01:00
.yarn [backend] Add missing postgres types 2023-10-13 18:44:25 +02:00
assets Add new logos & asset generation script 2023-10-04 02:04:30 +02:00
chart Defry the fish (#125) 2023-08-21 16:14:53 +02:00
ci-env Remove rust from CI docker image 2023-09-26 22:25:43 +02:00
custom Add new logos & asset generation script 2023-10-04 02:04:30 +02:00
cypress chore: 🎨 format 2023-06-23 21:22:44 -07:00
dev Defry the fish (#125) 2023-08-21 16:14:53 +02:00
docs [backend] Automatically generate vapid/web-push keys 2023-10-13 19:23:36 +02:00
locales [mastodon-client] Switch from MiAuth to OAuth 2023-10-14 00:19:10 +02:00
packages [backend] Refetch user keys when HTTP Signature validation fails 2023-10-17 00:52:51 +02:00
scripts Remove megalodon 2023-10-05 14:36:14 +02:00
.dockerignore fix: add megalodon to docker image 2023-07-06 22:54:53 -04:00
.editorconfig Use tabs in json 2017-05-24 20:27:39 +09:00
.envrc Fixed dev enviroment _> documented procedure 2023-05-31 13:52:21 +02:00
.gitattributes MisskeyRoom (#5267) 2019-08-18 14:41:33 +09:00
.gitignore Remove megalodon 2023-10-05 14:36:14 +02:00
.gitmodules Add new logos & asset generation script 2023-10-04 02:04:30 +02:00
.node-version Update '.node-version' 2023-05-31 02:36:19 +00:00
.npmrc pnpm 8! 2023-03-26 00:37:11 -07:00
.pnp.cjs [backend] Add missing postgres types 2023-10-13 18:44:25 +02:00
.pnp.loader.mjs Add yarn cache for zero installs 2023-07-27 15:57:32 +02:00
.vsls.json Add .vsls.json 2018-08-13 00:24:45 +09:00
.weblate Defry the fish (#125) 2023-08-21 16:14:53 +02:00
.yarnrc.yml Fix yarn start 2023-07-27 18:16:56 +02:00
CHANGELOG.md Release: v2023.11-pre2 2023-10-14 01:02:05 +02:00
CODE_OF_CONDUCT.md Change Code of Conduct 2023-09-06 14:14:12 +02:00
CONTRIBUTING.md [baackend] Move migrations to typescript 2023-10-13 18:44:25 +02:00
COPYING Defry the fish (#125) 2023-08-21 16:14:53 +02:00
cypress.config.ts chore: 🎨 format 2023-06-23 21:22:44 -07:00
Dockerfile Remove megalodon 2023-10-05 14:36:14 +02:00
flake.lock fix nix dev enviroment 2023-07-26 22:30:27 +02:00
flake.nix Defry the fish (#125) 2023-08-21 16:14:53 +02:00
gulpfile.js chore: format 2023-06-05 17:27:40 -07:00
LICENSE Use AGPLv3 2018-03-28 22:56:28 +09:00
package.json Release: v2023.11-pre2 2023-10-14 01:02:05 +02:00
Procfile Create Procfile 2019-04-05 18:17:30 +09:00
README.md Fix typos in README and CHANGELOG 2023-10-12 17:36:23 +02:00
release.json Defry the fish (#125) 2023-08-21 16:14:53 +02:00
rome.json Remove megalodon 2023-10-05 14:36:14 +02:00
SECURITY.md Defry the fish (#125) 2023-08-21 16:14:53 +02:00
yarn.lock [backend] Add missing postgres types 2023-10-13 18:44:25 +02:00

Iceshrimp