You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
admin Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
misc Fix nodeinfo caching and prevent NPE if cache non-existent (#19721) 2 years ago
notify Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
org Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
packages Hide private repositories in packages (#19584) 2 years ago
repo Add API to serve blob or LFS file content (#19689) 2 years ago
settings Make mirror feature more configurable (#16957) 3 years ago
swagger Add API to query collaborators permission for a repository (#18761) 2 years ago
user Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
utils Use middleware to open gitRepo (#19559) 2 years ago
api.go Implement http signatures support for the API (#17565) 2 years ago
auth.go Remove legacy `+build:` constraint (#19582) 2 years ago
auth_windows.go Let web and API routes have different auth methods group (#19168) 2 years ago