Skip to content

Commit 3e43075

Browse files
committed
add pbkdf2_hi to docs
Signed-off-by: Andrew Thornton <art27@cantab.net>
1 parent 0dcd296 commit 3e43075

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: docs/content/doc/advanced/config-cheat-sheet.en-us.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ Certain queues have defaults that override the defaults set in `[queue]` (this o
568568
- `IMPORT_LOCAL_PATHS`: **false**: Set to `false` to prevent all users (including admin) from importing local path on server.
569569
- `INTERNAL_TOKEN`: **\<random at every install if no uri set\>**: Secret used to validate communication within Gitea binary.
570570
- `INTERNAL_TOKEN_URI`: **<empty>**: Instead of defining INTERNAL_TOKEN in the configuration, this configuration option can be used to give Gitea a path to a file that contains the internal token (example value: `file:/etc/gitea/internal_token`)
571-
- `PASSWORD_HASH_ALGO`: **pbkdf2**: The hash algorithm to use \[argon2, pbkdf2, pbkdf2_v1, scrypt, bcrypt\], argon2 and scrypt will spend significant amounts of memory.
571+
- `PASSWORD_HASH_ALGO`: **pbkdf2**: The hash algorithm to use \[argon2, pbkdf2, pbkdf2_v1, pbkdf2_hi, scrypt, bcrypt\], argon2 and scrypt will spend significant amounts of memory.
572572
- Note: The default parameters for `pbkdf2` hashing have changed - the previous settings are available as `pbkdf2_v1` but are not recommended.
573573
- The hash functions may be tuned by using `$` after the algorithm:
574574
- `argon2$<time>$<memory>$<threads>$<key-length>`
@@ -578,9 +578,10 @@ Certain queues have defaults that override the defaults set in `[queue]` (this o
578578
- The defaults are:
579579
- `argon2`: `argon2$2$65536$8$50`
580580
- `bcrypt`: `bcrypt$10`
581-
- `pbkdf2`: `pbkdf2$320000$50`
581+
- `pbkdf2`: `pbkdf2$50000$50`
582582
- `pbkdf2_v1`: `pbkdf2$10000$50`
583-
- `pbkdf2_v2`: `pbkdf2$320000$50`
583+
- `pbkdf2_v2`: `pbkdf2$50000$50`
584+
- `pbkdf2_hi`: `pbkdf2$320000$50`
584585
- `scrypt`: `scrypt$65536$16$2$50`
585586
- Adjusting the algorithm parameters using this functionality is done at your own risk.
586587
- `CSRF_COOKIE_HTTP_ONLY`: **true**: Set false to allow JavaScript to read CSRF cookie.

0 commit comments

Comments
 (0)