1
0
Fork 0
forgejo/modules
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
..
activitypub
analyze
appstate
auth
avatar
base
cache Update go-chi/cache to utilize Ping() (#19719) 2022-05-15 20:43:27 +02:00
charset Detect truncated utf-8 characters at the end of content as still representing utf-8 (#19773) 2022-05-21 14:06:24 +01:00
container
context Prevent NPE on update mirror settings (#19864) 2022-06-02 12:56:32 -04:00
convert Nuke the incorrect permission report on /api/v1/notifications (#19761) 2022-05-20 18:57:49 +02:00
csv
doctor Fix inconsistency in doctor output (#19836) 2022-05-31 14:49:40 -04:00
emoji
eventsource
generate
git Set Setpgid on child git processes (#19865) 2022-06-03 15:36:18 +01:00
gitgraph Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
graceful
hcaptcha
highlight
hostmatcher
httpcache
httplib
indexer Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
json
lfs
log
markup Set Setpgid on child git processes (#19865) 2022-06-03 15:36:18 +01:00
metrics
migration
nosql
notification Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
options
packages
paginator
password
pprof
private
process Set Setpgid on child git processes (#19865) 2022-06-03 15:36:18 +01:00
proxy
public
queue
recaptcha
references
repository
secret
session
setting feat: add DEFAULT_MERGE_STYLE to repository.pull-request section for repo init (#19751) 2022-06-02 23:45:54 -04:00
ssh Implement http signatures support for the API (#17565) 2022-06-05 08:16:14 +01:00
storage
structs
svg
sync
templates Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
test Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
timeutil
translation
typesniffer Fix raw endpoint PDF file headers (#19825) 2022-05-28 18:10:14 +03:00
updatechecker
upload
uri
user
util
validation
web Ensure responses are context.ResponseWriters (#19843) 2022-05-31 21:27:44 +01:00