mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
deb2ef59b2b863b343ccb991fc22767399f4d0d5
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 <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
Languages
TypeScript
42.4%
MDX
30.9%
Astro
8.1%
JavaScript
6.4%
Shell
6%
Other
6.2%