Commit Graph

15 Commits

Author SHA1 Message Date
a4403e4e80 Move httpsig algs constant slice to modules/setting/federation.go 2022-06-14 12:16:32 -05:00
08eebffb0e Make sure HTTP request Date in GMT 2022-06-13 23:10:36 -05:00
3e9a69c8d3 Use UTC instead of GMT 2022-06-13 19:09:09 -05:00
d1f14ff2c7 Move httpsig algos slice to an init() function 2022-06-12 14:24:47 -05:00
becdf5e1f1 Use go-ap instead of go-fed 2022-05-23 11:43:59 -05:00
55c5e930db fmt 2022-05-09 19:48:10 +02:00
5139b3dc19 Use named constant for httpsigExpirationTime 2022-04-13 09:05:24 -05:00
fdae736f22 Remove unneeded copy 2022-03-30 16:29:47 -05:00
1da0d49de7 Clean up some variable declarations 2022-03-30 15:52:52 -05:00
65016b2664 Check if digest algo is supported in setting module 2022-03-29 16:38:27 -05:00
d1a53f7d6a Use time.RFC1123 and make the http.Client proxy-aware 2022-03-28 12:37:52 -05:00
f9e33d97cc Run make fmt and make generate-swagger
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-19 09:14:08 -05:00
b480c52f60 Change 2021 to 2022, properly format package imports
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-19 08:55:58 -05:00
97fedf2616 activitypub: implement the ReqSignature middleware
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18 17:34:09 -05:00
15c1f6218c activitypub: signing http client
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18 17:34:09 -05:00