0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 14:01:34 +01:00
gitea/routers/web/user/setting
zeripath 61b89747ed
Provide the ability to set password hash algorithm parameters (#22942)
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 #14751 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 #14751

---------

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 (#22670) 2023-02-01 22:56:10 +00:00
account.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
account_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
adopt.go Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
applications.go Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
keys.go Improve error report when user passes a private key (#22726) 2023-02-02 18:25:54 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
oauth2.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
oauth2_common.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
packages.go Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00
profile.go remove update language in ProfilePost (#22748) 2023-02-06 00:06:26 +08:00
secrets.go Add user secrets (#22191) 2023-02-01 20:53:04 +08:00