Commit graph

29 commits

Author SHA1 Message Date
Laura Hausmann
de29780321
[backend/federation] Don't recompute clock skew timespan on every invocation in HttpSignature.VerifyAsync
This commit also tightens the maximum allowed clock skew to a much more reasonable 5 minutes.
2024-10-30 18:13:11 +01:00
Laura Hausmann
fbdab96f9d
[backend] Switch to more efficient TimeSpan/DateTime/-Offset handling where applicable 2024-10-30 18:13:11 +01:00
Laura Hausmann
0f97845b88
[backend/federation] Fix HttpSignature validation on systems using CRLF line endings 2024-07-10 20:16:36 +02:00
Laura Hausmann
0776a50cbe
[backend/asp] Refactor controllers
This commit aims to improve readability of MVC controllers & actions. The main change is the switch to custom [ProducesResults] and [ProducesErrors] attributes.
2024-07-06 17:12:22 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
a2077244f8
[backend/drive] Make image processor pluggable 2024-05-01 21:44:49 +02:00
Laura Hausmann
d0356fc6ea
[backend/federation] Add support & corresponding tests for http signature pseudo-headers 2024-04-29 20:35:51 +02:00
Laura Hausmann
930f4d2aaa
[backend/core] Improve LDValueObject handling for DateTime properties 2024-02-23 04:15:54 +01:00
Laura Hausmann
de6211d6fb
[backend/federation] Handle JSON-LD signed requests in authorized fetch mode 2024-02-18 00:36:58 +01:00
Laura Hausmann
c0831c884b
[backend/core] Correctly serialize http signature signing string for headers that occur more than once 2024-02-17 18:25:33 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
b5a63fd301
[backend/federation] Refactor ActivityStreams & w3id references to use the Constants properties (ISH-57) 2024-02-14 18:13:09 +01:00
Laura Hausmann
8f948ab130
[backend/drive] Implement basic drive support (ISH-9) 2024-02-09 19:41:46 +01:00
Laura Hausmann
626b267692
All methods that return a Task should end in Async 2024-01-28 22:21:58 +01:00
Laura Hausmann
bf3e72da9b
Basic note create 2024-01-25 03:16:29 +01:00
Laura Hausmann
5569fe061f
Rename CustomException to GracefulException 2024-01-24 19:14:01 +01:00
Laura Hausmann
f15fd9cc79
Implement exception handler 2024-01-24 04:11:56 +01:00
Laura Hausmann
af054faa05
Add unit tests for http signatures 2024-01-23 04:13:54 +01:00
Laura Hausmann
5f088ba66f
Refactor http signature validation 2024-01-23 02:59:39 +01:00
Laura Hausmann
c7cf5d9389
Properly handle host header in HttpSignature.GenerateSigningString 2024-01-23 02:10:27 +01:00
Laura Hausmann
c207d77d51
Fix ToHeaderDictionary in HttpSignature 2024-01-23 02:04:10 +01:00
Laura Hausmann
a4d787331b
Improve MediaTypeRouteFilterAttribute 2024-01-23 01:43:07 +01:00
Laura Hausmann
cb48468627
Add date header to http signatures 2024-01-23 01:26:47 +01:00
Laura Hausmann
8a7bfff7ef
HTTP signature fixes 2024-01-23 01:08:04 +01:00
Laura Hausmann
1efd5a8673
Implement http signatures properly 2024-01-22 00:47:26 +01:00
Laura Hausmann
9d70c68dbd
Add unit test for linked data signatures 2024-01-20 20:39:29 +01:00
Laura Hausmann
ae7a499e6c
Basic (working!) roundtrip LD signature implementation 2024-01-20 18:41:49 +01:00
Laura Hausmann
a3a330f559
Improve HTTP signature handling, proper logging 2024-01-06 17:11:36 +01:00
Laura Hausmann
3bea6254b3
Add basic HTTP signature validation (implementation works but needs to be integrated into the rest of the thing) 2024-01-05 20:05:14 +01:00