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.
forgejo/services
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
..
agit Fix spelling mistake in ProcReceive (#19853) 2 years ago
asymkey Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
attachment Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
auth Implement http signatures support for the API (#17565) 2 years ago
automerge Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
comments Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
context Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
cron Disable unnecessary mirroring elements (#18527) 2 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Make Ctrl+Enter (quick submit) work for issue comment and wiki editor (#19729) 2 years ago
gitdiff Calculate filename hash only once (#19654) 2 years ago
issue Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
lfs Move access and repo permission to models/perm/access (#19350) 2 years ago
mailer Set Setpgid on child git processes (#19865) 2 years ago
migrations Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
mirror Prevent NPE on update mirror settings (#19864) 2 years ago
org Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
packages Package registry changes (#19305) 2 years ago
pull Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
release improvement some release related code (#19867) 2 years ago
repository improvement some release related code (#19867) 2 years ago
task Use a more general (and faster) method to sanitize URLs with credentials (#19239) 2 years ago
user Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
webhook fix(telegram): fix link bot to release tag (#19830) 2 years ago
wiki Move some helper files out of models (#19355) 2 years ago