1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers
Wim e528e2b435
Implement http signatures support for the API (#17565)
Fixes #12338

This allows use to talk to the API with our ssh certificate (and/or ssh-agent) without needing to fetch an API key or tokens.
It will just automatically work when users have added their ssh principal in gitea.

This needs client code in tea
Update: also support normal pubkeys

ref: https://tools.ietf.org/html/draft-cavage-http-signatures

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-06-05 08:16:14 +01:00
..
api Implement http signatures support for the API (#17565) 2022-06-05 08:16:14 +01:00
common Fix raw endpoint PDF file headers (#19825) 2022-05-28 18:10:14 +03:00
install feat: add DEFAULT_MERGE_STYLE to repository.pull-request section for repo init (#19751) 2022-06-02 23:45:54 -04:00
private Fix spelling mistake in ProcReceive (#19853) 2022-06-01 04:06:31 +01:00
utils A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Fixing wrong paging when filtering on the issue dashboard (#19801) 2022-06-04 21:12:14 +01:00
init.go Update go tool dependencies (#19676) 2022-05-10 23:55:54 +02:00