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/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>
2 years ago
..
activitypub format with gofumpt (#18184) 2 years ago
analyze Simplify `IsVendor` (#19626) 2 years ago
appstate Use a struct as test options (#19393) 2 years ago
auth Remove legacy `+build:` constraint (#19582) 2 years ago
avatar Remove legacy `+build:` constraint (#19582) 2 years ago
base Update JS dependencies (#19281) 2 years ago
cache Update go-chi/cache to utilize Ping() (#19719) 2 years ago
charset Detect truncated utf-8 characters at the end of content as still representing utf-8 (#19773) 2 years ago
container Move reaction to models/issues/ (#19264) 2 years ago
context Prevent NPE on update mirror settings (#19864) 2 years ago
convert Nuke the incorrect permission report on /api/v1/notifications (#19761) 2 years ago
csv format with gofumpt (#18184) 2 years ago
doctor Fix inconsistency in doctor output (#19836) 2 years ago
emoji format with gofumpt (#18184) 2 years ago
eventsource Improve Stopwatch behavior (#18930) 2 years ago
generate Use base32 for 2FA scratch token (#18384) 2 years ago
git Set Setpgid on child git processes (#19865) 2 years ago
gitgraph Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
graceful Remove legacy `+build:` constraint (#19582) 2 years ago
hcaptcha hCaptcha Support (#12594) 4 years ago
highlight format with gofumpt (#18184) 2 years ago
hostmatcher Support `hostname:port` to pass host matcher's check #19543 (#19543) 2 years ago
httpcache Set the LastModified header for raw files (#18356) 2 years ago
httplib refactor httplib (#18338) 2 years ago
indexer Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
json Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2 years ago
lfs Remove legacy `+build:` constraint (#19582) 2 years ago
log Only set CanColorStdout / CanColorStderr to true if the stdout/stderr is a terminal (#19581) 2 years ago
markup Set Setpgid on child git processes (#19865) 2 years ago
metrics format with gofumpt (#18184) 2 years ago
migration Remove legacy `+build:` constraint (#19582) 2 years ago
nosql Remove legacy `unknwon/com` package (#19298) 2 years ago
notification Move access and repo permission to models/perm/access (#19350) 2 years ago
options Remove legacy `+build:` constraint (#19582) 2 years ago
packages Add Helm Chart registry (#19406) 2 years ago
paginator Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
password Fixed assert statements. (#16089) 3 years ago
pprof refactor: move from io/ioutil to io and os package (#17109) 3 years ago
private Add Goroutine stack inspector to admin/monitor (#19207) 2 years ago
process Set Setpgid on child git processes (#19865) 2 years ago
proxy Return nil proxy function if proxy not enabled (#16742) 3 years ago
public Remove legacy `+build:` constraint (#19582) 2 years ago
queue Fix 64-bit atomic operations on 32-bit machines (#19531) 2 years ago
recaptcha refactor: move from io/ioutil to io and os package (#17109) 3 years ago
references format with gofumpt (#18184) 2 years ago
repository Update go tool dependencies (#19676) 2 years ago
secret Use `CryptoRandomBytes` instead of `CryptoRandomString` (#18439) 2 years ago
session format with gofumpt (#18184) 2 years ago
setting feat: add DEFAULT_MERGE_STYLE to `repository.pull-request` section for repo init (#19751) 2 years ago
ssh Implement http signatures support for the API (#17565) 2 years ago
storage Add Package Registry (#16510) 2 years ago
structs Respect DefaultUserIsRestricted system default when creating new user (#19310) 2 years ago
svg Remove legacy `+build:` constraint (#19582) 2 years ago
sync Use queue instead of memory queue in webhook send service (#19390) 2 years ago
templates Move access and repo permission to models/perm/access (#19350) 2 years ago
test Move access and repo permission to models/perm/access (#19350) 2 years ago
timeutil Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
translation Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
typesniffer Fix raw endpoint PDF file headers (#19825) 2 years ago
updatechecker format with gofumpt (#18184) 2 years ago
upload Simplify parameter types (#18006) 3 years ago
uri Prevent NPE if gitea uploader fails to open url (#18080) 3 years ago
user Add gitea-vet (#10948) 4 years ago
util Update go tool dependencies (#19676) 2 years ago
validation use IsLoopback (#19477) 2 years ago
web Ensure responses are context.ResponseWriters (#19843) 2 years ago