Commit graph

21 commits

Author SHA1 Message Date
silverpill
8407bbe842 Don't fetch signer when processing Delete(Person) activity 2022-05-30 20:21:21 +00:00
silverpill
379116605f Make HTTP signature verification compatible with GoToSocial 2022-05-02 23:34:49 +00:00
silverpill
83fbbefaab Add test for get_local_actor() 2022-04-26 22:35:39 +00:00
silverpill
30bd3d6a37 Migrate to actix 4.0 and tokio 1 2022-04-10 19:14:45 +00:00
silverpill
0727b739ed Move HTTP signature verification to receive_activity() function 2022-02-23 23:38:00 +00:00
silverpill
226fc49b86 Allow non-standard wrap width when parsing public keys in PEM format 2022-02-13 15:44:28 +00:00
silverpill
49dc82fb0a Add decoding error type to VerificationError enum 2022-02-11 20:40:36 +00:00
silverpill
9156dec5bb Convert actor_json value into Actor type when reading from database 2022-01-02 01:27:50 +00:00
silverpill
38ed905f47 Use profile importer in verify_http_signature function 2021-12-28 20:54:21 +00:00
silverpill
f7211d2a14 Move profile importers to fetcher::helpers module 2021-12-28 19:54:59 +00:00
silverpill
690edddbc1 Add "algorithm" parameter to HTTP signature 2021-12-27 15:28:05 +00:00
silverpill
a0c0f1d092 Log signer ID when processing incoming activity 2021-12-01 15:06:09 +00:00
silverpill
f716a61d0e Improve error reporting during signature verification 2021-11-22 23:58:07 +00:00
silverpill
924f5181b6 Sign GET request when fetching remote actor profile 2021-11-18 14:57:58 +00:00
silverpill
d94e3d610d Enable creation of HTTP signatures for all types of requests 2021-11-18 00:26:00 +00:00
silverpill
c473070fd4 Configure linter and fix its warnings 2021-11-13 17:37:31 +00:00
silverpill
a5e3bef70c Refactor activitypub::actor module 2021-11-13 01:07:19 +00:00
silverpill
e48670c28b Change HTTP signature date format for compatibility with mastodon 2021-11-12 00:06:08 +00:00
silverpill
5c10ffc590 Add actor() method to DbActorProfile type 2021-10-31 20:46:29 +00:00
silverpill
e10804be64 Refactor deliverer 2021-10-30 22:35:18 +00:00
silverpill
fdef4b6e6a Initial commit 2021-09-14 12:24:05 +00:00