Commit graph

68 commits

Author SHA1 Message Date
asonix
ed399f1531 Be more accurate for reqwest errors 2024-02-04 20:51:25 -06:00
asonix
05e31254ba Update rustls for actix-web, log less 2024-02-04 20:25:50 -06:00
asonix
086ca9fbf2 Support live-reloading TLS certificate 2024-01-31 16:49:23 -06:00
asonix
d862bf8106 Use tokio rather than actix-rt 2024-01-14 15:56:07 -05:00
asonix
75df271b58 Switch from awc to reqwest, enable HTTP Proxies 2023-08-17 17:09:35 -05:00
asonix
2cbe4864c3 Switch to ring for crypto 2023-08-04 18:57:53 -05:00
asonix
d97cc4e5a4 Use custom threadpool for client signatures 2023-07-26 18:03:21 -05:00
perillamint
4a7775b56d Misskey metadata support
This commit implements misskey metadata support and corresponding test
for From<MskyMeta> implementation

Also, it is good to note that, Misskey does not return 404 but 200 OK
when they poked at nonexistant endpoint, so the implementation should
handle for invalid json case
2023-02-25 14:34:22 -06:00
asonix
34dc1a2281 Update rsa 2023-01-23 08:56:18 -06:00
asonix
675fddcfeb Support Remove activity, forward verbatim 2022-12-19 16:08:39 -06:00
asonix
cf7a25f935 Consider NoSignature a BadRequest 2022-12-19 11:44:50 -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
430ebec810 Improve tracing, immediately stringify spantrace, remove join macros 2022-12-13 23:36:40 -06:00
asonix
a0fbf9d236 Bump activitystreams again 2022-12-06 18:53:19 -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
e9303ad9f6 Remove media caching, just proxy 2022-11-17 22:39:26 -06:00
asonix
959201fa97 Remove errors when our signature is rejected 2022-11-17 19:28:17 -06:00
asonix
fe844a807f Start work on admin API 2022-11-17 13:14:45 -06:00
asonix
f55ea0a550 Check for signature errors, record signing strings 2022-11-16 11:23:36 -06:00
asonix
0768cb6ac6 Don't fail jobs for fine scenarios
- dont fail contact for breaker
- dont fail instance for not found
2022-11-15 20:53:55 -06:00
asonix
5011e05c3d Clean tracing a bit more 2022-11-15 19:56:19 -06: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)
f9816ddd3b Update to stable actix-web 2022-02-26 12:12:07 -06:00
Aode (lion)
0916b26d67 Update deps 2022-02-01 11:47:17 -06:00
Aode (lion)
ca0a0d8e9f Update actix web 2022-01-23 23:03:00 -06:00
Aode (Lion)
8893895c71 Update to latest activitystreams 2022-01-17 16:54:45 -06:00
Aode (lion)
8b6d97fd4a Don't include SpanTrace in Error debug 2021-11-24 21:57:20 -06:00
Aode (lion)
1dba31e3a0 Clippy lints, dashmap for breakers 2021-11-23 16:19:59 -06:00
Aode (Lion)
3384ca9064 Clean up debug impls 2021-09-21 14:32:25 -05:00
Aode (lion)
90965d6ee9 Better format errors 2021-09-20 13:13:21 -05: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
f105c427dc Update actix betas 2021-06-24 12:02:27 -05:00
asonix
80bc838073 Bump actix version 2021-04-17 12:36:47 -05:00
asonix
43227d9852 Update to actix-web 4.0.0-beta.3 2021-02-10 18:00:11 -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
e2da563a1c Add breakers for requests to down domains 2020-12-23 12:06:15 -06:00
asonix
1f065385a0 Update deps 2020-09-07 16:51:02 -05:00
asonix
b6e25df717 Add host to signatures 2020-09-07 13:34:29 -05:00
asonix
be07ee0177 Add URL to statuscode error 2020-07-25 10:13:00 -05:00
asonix
261e52e551 Better json errors 2020-07-10 18:06:04 -05:00
asonix
2bbcc82d9c Update activitystreams 2020-06-19 23:11:02 -05:00
asonix
729e425e32 Fully lean on activitystreams-new 2020-05-21 16:24:56 -05:00
asonix
a51bed3cc4 Use latest sig lib 2020-04-23 13:04:17 -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
b8336b441c Quiet requests logging, forward context info in error 2020-04-21 16:39:02 -05:00