1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 14:14:25 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Anthony Wang
08eebffb0e
Make sure HTTP request Date in GMT 2022-06-13 23:10:36 -05:00
Anthony Wang
3e9a69c8d3
Use UTC instead of GMT 2022-06-13 19:09:09 -05:00
Anthony Wang
d1f14ff2c7
Move httpsig algos slice to an init() function 2022-06-12 14:24:47 -05:00
Anthony Wang
becdf5e1f1
Use go-ap instead of go-fed 2022-05-23 11:43:59 -05:00
6543
55c5e930db
fmt 2022-05-09 19:48:10 +02:00
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