Commit graph

26 commits

Author SHA1 Message Date
asonix 722a00f9dc Fix VERIFY_SIGNATURES config, add README 2020-03-19 22:23:10 -05:00
asonix eefff20941 Add commandline blocking and whitelisting 2020-03-19 19:55:11 -05:00
asonix 3c5154d449 Use single connection pool 2020-03-19 17:19:05 -05:00
asonix 2b36909d2f Update to activitypub with extensions 2020-03-18 17:49:56 -05:00
asonix 4fba2f317d Save listeners in db 2020-03-18 13:56:13 -05:00
asonix 4c373e562b Perform db action inline 2020-03-18 13:25:43 -05:00
asonix 19a6a6e61c Use actor's inbox for listener check 2020-03-18 12:42:48 -05:00
asonix cb4d99cdc5 Generic 'prepare_activity' 2020-03-18 12:06:08 -05:00
asonix e8ed464e62 Properly forward Announce and Create 2020-03-18 00:43:31 -05:00
asonix 26b4129261 Log on wrong actor follow 2020-03-18 00:07:52 -05:00
asonix 877fa1418e Accepted from inbox 2020-03-18 00:01:14 -05:00
asonix 27a9030be1 Handle errors a bit better 2020-03-17 23:58:13 -05:00
asonix 6d34077010 Big Cleanup 2020-03-17 23:35:20 -05:00
asonix a4ec70d6ec Bring whitelist/block checks to outermost level, fix deliveries 2020-03-17 21:16:09 -05:00
asonix 489a5ff023 Require publicKey, check actor's public key for agreement 2020-03-17 15:52:26 -05:00
asonix 9642e357e5 Enforce sig is from correct actor 2020-03-17 14:52:33 -05:00
asonix 9fc507210a Move requests to requests module, respond with 200 2020-03-17 12:15:16 -05:00
asonix ea64843a59 Update rsa-pem, properly use RSA crate 2020-03-16 20:41:00 -05:00
asonix b7bf001287 Update cache from postgres notifications
- Add actor that listens to the notification stream
- Move queries into db module
2020-03-16 13:00:16 -05:00
asonix 9fdd3bec18 Add http signature verification 2020-03-15 23:15:50 -05:00
asonix eea0577686 Add keys, http-sigs, webfinger 2020-03-15 22:36:46 -05:00
asonix d741e2b202 Always return generated AP type, except on error 2020-03-15 17:49:40 -05:00
asonix 0cbe679e65 Basic relay functionality 2020-03-15 17:37:53 -05:00
asonix aa6b5daaf0 Follow 'works' 2020-03-15 12:49:27 -05:00
asonix 6cb4484a33 Use existing caches 2020-03-15 11:29:01 -05:00
asonix b7369e2cc0 whatamidoing 2020-03-14 21:05:40 -05:00