mirror of
1
Fork 0
forgejo/routers/web
zeripath c702e7995d
Provide the ability to set password hash algorithm parameters () ()
Backport 

This PR refactors and improves the password hashing code within gitea
and makes it possible for server administrators to set the password
hashing parameters

In addition it takes the opportunity to adjust the settings for `pbkdf2`
in order to make the hashing a little stronger.

The majority of this work was inspired by PR  and I would like to
thank @boppy for their work on this.

Thanks to @gusted for the suggestion to adjust the `pbkdf2` hashing
parameters.

Close 

---------

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-19 15:35:52 +08:00
..
admin Provide the ability to set password hash algorithm parameters () () 2023-02-19 15:35:52 +08:00
auth Provide the ability to set password hash algorithm parameters () () 2023-02-19 15:35:52 +08:00
dev
events
explore Fix sorting admin user list by last login () () 2022-12-13 16:37:33 -06:00
feed Fix setting HTTP headers after write () () 2022-11-22 09:00:42 +08:00
healthcheck
misc
org Fix leaving organization bug on user settings -> orgs () () 2023-01-16 01:29:27 +02:00
repo fix incorrect role labels for migrated issues and comments () () 2023-02-16 11:19:46 +08:00
user Provide the ability to set password hash algorithm parameters () () 2023-02-19 15:35:52 +08:00
auth.go
auth_windows.go
base.go Share HTML template renderers and create a watcher framework () 2022-08-28 10:43:25 +01:00
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Fix permission check on issue/pull lock () 2022-12-12 20:59:50 +01:00
webfinger.go