Commit graph

15 commits

Author SHA1 Message Date
a44595bb99 Implement state_ids federation endpoint 2021-08-22 12:19:47 +02:00
ba3e290bf1 Implement federation room state snapshot endpoint 2021-08-21 21:39:28 +02:00
e510c3bb6a Implement retrieving a single event over federation
Fix url encoding during homeserver signature check
2021-08-21 11:25:36 +02:00
4b60a145ca Split Identifier struct into seperate types 2021-08-19 16:31:03 +02:00
1781575e75 Calculate and set event id using reference hash 2021-08-18 13:54:18 +02:00
8696b0fb96 Restructure router rules 2021-08-17 22:50:15 +02:00
02edff90e7 Add function to query whether server participates in a room
Move from integer timestamps to datetimes
2021-08-16 19:30:47 +02:00
5d75244bc0 Add common struct to represent matrix identifiers
Use identifier struct in profile query validation
2021-08-16 14:29:01 +02:00
46231b9b09 Sign body contents for federation request if present 2021-08-14 17:15:02 +02:00
be9860f7d0 Create tesla middleware for adding signature to federation requests
Change repo structure
2021-08-14 15:20:42 +02:00
c5de486dba Handle enacl exceptions during signature checks
Fix usage of undecoded signing key during server authentication
Fix several bugs in profile query endpoint
2021-08-13 17:36:34 +02:00
fb59fee754 Add schemas and functions to query signing keys from servers 2021-08-13 00:45:07 +02:00
e6b3c4752d Fix server signature verification 2021-08-10 18:02:53 +02:00
33b64d80f5 Add code for verifying homeservers' signatures on API requests 2021-08-08 19:20:10 +02:00
f50f08061c Restructure code base 2021-08-06 23:14:27 +02:00