Mercurial > p > roundup > code
comparison doc/upgrading.txt @ 7711:0c855080794e
doc: fix PBKDF2 SHA512 implementation example.
Was missing an import.
ReleaseErrata updated:
https://wiki.roundup-tracker.org/ReleaseErrata#Missing_import_in_doc_to_implement_PBKDF2_with_SHA_512
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 04 Dec 2023 12:13:13 -0500 |
| parents | 54eb12cd3be1 |
| children | 3071db43bfb6 |
comparison
equal
deleted
inserted
replaced
| 7710:56c32eebc518 | 7711:0c855080794e |
|---|---|
| 432 command line (``roundup-admin`` for example). | 432 command line (``roundup-admin`` for example). |
| 433 | 433 |
| 434 Change the default hashing scheme by adding the following lines to | 434 Change the default hashing scheme by adding the following lines to |
| 435 |the interfaces.py file|_ in your tracker home:: | 435 |the interfaces.py file|_ in your tracker home:: |
| 436 | 436 |
| 437 from roundup.password import Password | |
| 437 ## Use PBDKF2S5 (PBKDF2-SHA512) for passwords. Re-hash old PBDFK2 | 438 ## Use PBDKF2S5 (PBKDF2-SHA512) for passwords. Re-hash old PBDFK2 |
| 438 # Force password with scheme PBKDF2 (SHA1) to get re-hashed | 439 # Force password with scheme PBKDF2 (SHA1) to get re-hashed |
| 439 Password.deprecated_schemes.insert(0, Password.known_schemes[0]) | 440 Password.deprecated_schemes.insert(0, Password.known_schemes[0]) |
| 440 # choose PBKDF2S5 as the scheme to use for rehashing. | 441 # choose PBKDF2S5 as the scheme to use for rehashing. |
| 441 Password.default_scheme = Password.experimental_schemes[0] | 442 Password.default_scheme = Password.experimental_schemes[0] |
