diff roundup/admin.py @ 7375:9bd7ed918121

issue2551253 - Modify password PBKDF2 method to use SHA512 Implement new PBKDF2-SHA512 more secure password hash function. Intended to be future default once I get more feedback. upgrading.txt: added doc for using it now. reference.py: Added enabling future features to use case for interfaces.py. admin.py: Changed perftest password command to use the default password function. Can be used to verify that new hash is enabled properly.
author John Rouillard <rouilj@ieee.org>
date Sat, 20 May 2023 15:34:13 -0400
parents a210f4437b49
children 40cab56a97f1
line wrap: on
line diff
--- a/roundup/admin.py	Sat May 20 12:19:54 2023 -0400
+++ b/roundup/admin.py	Sat May 20 15:34:13 2023 -0400
@@ -1405,7 +1405,7 @@
         from roundup.anypy.time_ import perf_counter
 
         props = {"rounds": self.db.config.PASSWORD_PBKDF2_DEFAULT_ROUNDS,
-                 "scheme": password.Password.known_schemes[0]}
+                 "scheme": password.Password.default_scheme}
 
         print_supported_schemes = lambda: print(
             "Supported schemes (default is first, case "

Roundup Issue Tracker: http://roundup-tracker.org/