mirror of
1
Fork 0
forgejo/routers/web/user/setting
zeripath 61b89747ed
Provide the ability to set password hash algorithm parameters ()
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: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-19 15:35:20 +08:00
..
security Add main landmark to templates and adjust titles () 2023-02-01 22:56:10 +00:00
account.go Provide the ability to set password hash algorithm parameters () 2023-02-19 15:35:20 +08:00
account_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
adopt.go Add main landmark to templates and adjust titles () 2023-02-01 22:56:10 +00:00
applications.go Add main landmark to templates and adjust titles () 2023-02-01 22:56:10 +00:00
keys.go Improve error report when user passes a private key () 2023-02-02 18:25:54 +00:00
main_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
oauth2.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
oauth2_common.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
packages.go Add Chef package registry () 2023-02-06 09:49:21 +08:00
profile.go remove update language in ProfilePost () 2023-02-06 00:06:26 +08:00
secrets.go Add user secrets () 2023-02-01 20:53:04 +08:00