Commit Graph

9 Commits

Author SHA1 Message Date
Anthony Wang
5139b3dc19
Use named constant for httpsigExpirationTime 2022-04-13 09:05:24 -05:00
Anthony Wang
fdae736f22
Remove unneeded copy 2022-03-30 16:29:47 -05:00
Anthony Wang
1da0d49de7
Clean up some variable declarations 2022-03-30 15:52:52 -05:00
Anthony Wang
65016b2664
Check if digest algo is supported in setting module 2022-03-29 16:38:27 -05:00
Anthony Wang
d1a53f7d6a
Use time.RFC1123 and make the http.Client proxy-aware 2022-03-28 12:37:52 -05:00
Anthony Wang
f9e33d97cc
Run make fmt and make generate-swagger
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-19 09:14:08 -05:00
Anthony Wang
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
Loïc Dachary
97fedf2616
activitypub: implement the ReqSignature middleware
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18 17:34:09 -05:00
Loïc Dachary
15c1f6218c
activitypub: signing http client
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18 17:34:09 -05:00