forgejo/services
Gusted e3d6622a63
[SECURITY] Rework long-term authentication
- This is a 'front-port' of the already existing patch on v1.21 and
v1.20, but applied on top of what Gitea has done to rework the LTA
mechanism. Forgejo will stick with the reworked mechanism by the Forgejo
Security team for the time being. The removal of legacy code (AES-GCM) has been
left out.
- The current architecture is inherently insecure, because you can
construct the 'secret' cookie value with values that are available in
the database. Thus provides zero protection when a database is
dumped/leaked.
- This patch implements a new architecture that's inspired from: [Paragonie Initiative](https://paragonie.com/blog/2015/04/secure-authentication-php-with-long-term-persistence#secure-remember-me-cookies).
- Integration testing is added to ensure the new mechanism works.
- Removes a setting, because it's not used anymore.
2023-11-22 20:40:00 +01:00
..
actions Always delete existing scheduled action tasks (#27662) 2023-10-18 10:34:39 +00:00
agit
asymkey
attachment [FEAT] allow setting the update date on issues and comments 2023-11-13 12:21:09 +01:00
auth [SECURITY] Rework long-term authentication 2023-11-22 20:40:00 +01:00
automerge
context
convert [FEAT] add Forgero Git Service 2023-11-13 12:21:09 +01:00
cron
externalaccount
feed
forgejo [UPGRADE] run sanity checks before the database is upgraded 2023-11-13 12:21:09 +01:00
forms
gitdiff
indexer
issue [FEAT] allow setting the update date on issues and comments 2023-11-13 12:21:09 +01:00
lfs
mailer Fix missing mail reply address (#27997) 2023-11-13 03:20:34 +00:00
markup
migrations Fix DownloadFunc when migrating releases (#27887) 2023-11-03 15:56:53 +08:00
mirror
notify
org Delete repos of org when purge delete user (#27273) 2023-10-19 13:16:11 +00:00
packages List all Debian package versions in Packages (#27786) 2023-10-29 14:14:47 +00:00
pull Fix poster is not loaded in get default merge message (#27657) 2023-10-17 15:07:23 +00:00
release
repository Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
secrets
task Fix incorrect ctx usage in defer function (#27740) 2023-10-22 14:12:27 +00:00
uinotification
user Remove action runners on user deletion (#27902) 2023-11-05 13:48:32 +01:00
webhook Fix package webhook (#27839) 2023-10-31 04:43:38 +00:00
wiki