Commit graph

37 commits

Author SHA1 Message Date
asonix 2cbe4864c3 Switch to ring for crypto 2023-08-04 18:57:53 -05:00
asonix 769f7451f9 Simplify signature thread 2023-07-27 10:19:20 -05:00
asonix 73c7150f97 Use spawner for CPU-bound operations 2023-07-26 18:11:44 -05:00
asonix ab2dbfb439 Update metrics, rsa 2023-04-27 19:34:23 -05:00
asonix a1ea5d676c Rework misskey fetch to reuse deliver plumbing
Only count server errors towards failed breakers
2023-02-25 15:02:16 -06:00
asonix f9cad61049 Add healthcheck for db, new clippy lints 2023-01-29 13:21:36 -06:00
asonix 34dc1a2281 Update rsa 2023-01-23 08:56:18 -06:00
asonix 9cdebeae4c Update base64, ructe 2023-01-23 08:38:55 -06:00
asonix b56bddccb4 Allow Signature to be missing if kind is Delete, return early without additional processing 2022-12-19 11:39:30 -06:00
asonix 886c7d0ac6 Apply patch from perallamint on github
Temporary fix: allow signing bypass for 410 gone actors
DIRTY FIX: implement sigcheck_bypass for 410'ing actors
2022-12-19 09:44:04 -06:00
asonix 43b70f88a7 Apply patch from perallamint on github
clippy: unnecessary lifetime annotation on static strings

Since string literal constant already has static lifetime, it is not
necessary to explicitly annotate it with 'static.
2022-12-13 10:39:25 -06:00
asonix ab7d940de9 Improve error in signature verification (again) 2022-11-22 15:25:42 -06:00
asonix 5cd0b21ae3 Improve error in signature verification 2022-11-22 15:11:56 -06:00
asonix 448a907ab0 Reset breakers when receiving activities 2022-11-16 14:29:57 -06:00
asonix 5011e05c3d Clean tracing a bit more 2022-11-15 19:56:19 -06:00
asonix bc263701e2 Log cleanup 2022-11-01 15:57:33 -05:00
asonix 7e9371e392 Trim newlines in public keys 2022-11-01 14:30:49 -05:00
asonix 0b0ed56bad Update RSA, other deps 2022-10-29 12:22:13 -05:00
Aode (lion) 2313303e22 Update RSA 2022-04-08 17:39:38 -05:00
Aode (Lion) 8893895c71 Update to latest activitystreams 2022-01-17 16:54:45 -06:00
Aode (lion) 1dba31e3a0 Clippy lints, dashmap for breakers 2021-11-23 16:19:59 -06:00
Aode (lion) 43e5b6d873 Instrument with tracing 2021-09-18 12:55:39 -05:00
asonix 8474640278 Bump dependencies 2021-08-01 15:12:06 -05:00
asonix 43227d9852 Update to actix-web 4.0.0-beta.3 2021-02-10 18:00:11 -06:00
asonix c3d5de600d Fix mutex scoping, map payload in-place 2021-02-09 23:45:13 -06:00
asonix 2c275e441b pub -> pub(crate) 2021-02-09 22:17:20 -06:00
asonix 50d2b5b21c bro we are sledding 2021-02-09 22:05:06 -06:00
asonix 9923d4d107 Add allow/block check to verifier middleware before key validation 2020-12-23 12:30:19 -06:00
asonix 1f065385a0 Update deps 2020-09-07 16:51:02 -05:00
asonix a26cc2b8f7 Update rsa 2020-07-25 09:33:35 -05:00
asonix 2bbcc82d9c Update activitystreams 2020-06-19 23:11:02 -05:00
asonix 1bb098d42b Use 'uri' in a few places 2020-06-03 16:01:37 -05:00
asonix 729e425e32 Fully lean on activitystreams-new 2020-05-21 16:24:56 -05:00
asonix a528046a68 Update sig lib, forward more error context, better blind key rotation support 2020-04-22 17:41:01 -05:00
asonix b8bc230403 Move sign, verify to threadpool 2020-03-30 01:06:13 -05:00
asonix e4c95a8168 More shuffling, store actors in db 2020-03-23 17:17:53 -05:00
asonix 9925e41673 Do a bit of reorganizing 2020-03-23 12:38:39 -05:00
Renamed from src/verifier.rs (Browse further)