gitea/docs/content/administration
KN4CK3R c6c829fe3f
Enhanced auth token / remember me (#27606)
Closes #27455

> The mechanism responsible for long-term authentication (the 'remember
me' cookie) uses a weak construction technique. It will hash the user's
hashed password and the rands value; it will then call the secure cookie
code, which will encrypt the user's name with the computed hash. If one
were able to dump the database, they could extract those two values to
rebuild that cookie and impersonate a user. That vulnerability exists
from the date the dump was obtained until a user changed their password.
> 
> To fix this security issue, the cookie could be created and verified
using a different technique such as the one explained at
https://paragonie.com/blog/2015/04/secure-authentication-php-with-long-term-persistence#secure-remember-me-cookies.

The PR removes the now obsolete setting `COOKIE_USERNAME`.
2023-10-14 00:56:41 +00:00
..
_index.en-us.md
_index.zh-cn.md
adding-legal-pages.en-us.md
adding-legal-pages.zh-cn.md
backup-and-restore.en-us.md
backup-and-restore.zh-cn.md
cmd-embedded.en-us.md Enable markdownlint `no-duplicate-header` (#27500) 2023-10-07 15:30:21 +02:00
cmd-embedded.zh-cn.md Enable markdownlint `no-duplicate-header` (#27500) 2023-10-07 15:30:21 +02:00
command-line.en-us.md
command-line.zh-cn.md
config-cheat-sheet.en-us.md Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
config-cheat-sheet.zh-cn.md Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
customizing-gitea.en-us.md Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
customizing-gitea.zh-cn.md Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
email-setup.en-us.md
email-setup.zh-cn.md
environment-variables.en-us.md
environment-variables.zh-cn.md
external-renderers.en-us.md
external-renderers.zh-cn.md
fail2ban-setup.en-us.md
fail2ban-setup.zh-cn.md
git-lfs-support.en-us.md
git-lfs-support.zh-cn.md
https-support.en-us.md
https-support.zh-cn.md
logging-config.en-us.md
logging-config.zh-cn.md
mail-templates.en-us.md
mail-templates.zh-cn.md
repo-indexer.en-us.md
repo-indexer.zh-cn.md
reverse-proxies.en-us.md Add docs section for sub-paths with the container registry (#27505) 2023-10-09 12:45:41 +08:00
reverse-proxies.zh-cn.md
search-engines-indexation.en-us.md Fix the robots.txt path 2023-10-11 18:01:52 +08:00
search-engines-indexation.zh-cn.md Fix the robots.txt path 2023-10-11 18:01:52 +08:00
signing.en-us.md
signing.zh-cn.md