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.
gitea/docs/content/doc
zeripath e0853d4a21
Add API Token Cache (#16547)
One of the issues holding back performance of the API is the problem of hashing.
Whilst banning BASIC authentication with passwords will help, the API Token scheme
still requires a PBKDF2 hash - which means that heavy API use (using Tokens) can
still cause enormous numbers of hash computations.

A slight solution to this whilst we consider moving to using JWT based tokens and/or
a session orientated solution is to simply cache the successful tokens. This has some
security issues but this should be balanced by the security issues of load from
hashing.

Related #14668

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
..
advanced Add API Token Cache (#16547) 4 years ago
developers Pre-fill suggested New File 'name' and 'content' with Query Params (#16556) 4 years ago
features Improve SMTP authentication and Fix user creation bugs (#16612) 4 years ago
help Added documentation about 413 errors with an nginx solution (#15313) 4 years ago
installation Add Linode as an installation option in docs (#16529) 4 years ago
translation Add german translation guidelines (#14283) 4 years ago
upgrade update branch in CI and docs (#15631) 4 years ago
usage Extend the fail2ban instructions with a hint on how to make X-Real-IP… (#16446) 4 years ago
advanced.en-us.md Import docs into main repository (#2874) 7 years ago
advanced.fr-fr.md General documentation cleanup (#3317) 7 years ago
advanced.zh-cn.md Import docs into main repository (#2874) 7 years ago
advanced.zh-tw.md [docs] Add zh-tw Translations (#14507) 4 years ago
developers.en-us.md Refactor docs (#13275) 4 years ago
developers.zh-tw.md [docs] Add zh-tw Translations (#14507) 4 years ago
features.en-us.md Import docs into main repository (#2874) 7 years ago
features.zh-cn.md Import docs into main repository (#2874) 7 years ago
features.zh-tw.md Import docs into main repository (#2874) 7 years ago
help.en-us.md Implement documentation search (#8937) 5 years ago
help.fr-fr.md Implement documentation search (#8937) 5 years ago
help.zh-cn.md Implement documentation search (#8937) 5 years ago
help.zh-tw.md [docs] Add zh-tw Translations (#14507) 4 years ago
installation.en-us.md Import docs into main repository (#2874) 7 years ago
installation.fr-fr.md General documentation cleanup (#3317) 7 years ago
installation.zh-cn.md Import docs into main repository (#2874) 7 years ago
installation.zh-tw.md Import docs into main repository (#2874) 7 years ago
translation.de-de.md Add german translation guidelines (#14283) 4 years ago
translation.en-us.md Add german translation guidelines (#14283) 4 years ago
translation.zh-tw.md [docs] Add zh-tw Translations (#14507) 4 years ago
upgrade.en-us.md Import docs into main repository (#2874) 7 years ago
upgrade.fr-fr.md General documentation cleanup (#3317) 7 years ago
upgrade.zh-cn.md Import docs into main repository (#2874) 7 years ago
upgrade.zh-tw.md Import docs into main repository (#2874) 7 years ago
usage.en-us.md Import docs into main repository (#2874) 7 years ago
usage.zh-cn.md ZH-CN translation of Usage part (#5086) 6 years ago
usage.zh-tw.md [docs] Add zh-tw Translations (#14507) 4 years ago