Skip to content

Commit 80e475b

Browse files
committed
Increase iterations to match new recommendation
1 parent 8cf40fb commit 80e475b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emailproxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ def _save_cache(cache_store_identifier, output_config_parser):
643643

644644

645645
class Cryptographer:
646-
ITERATIONS = 870_000 # taken from cryptography's suggestion of using Django's defaults
646+
ITERATIONS = 1_000_000 # taken from cryptography's suggestion of using Django's defaults (as of January 2025)
647647
LEGACY_ITERATIONS = 100_000 # fallback when the iteration count is not in the config file (versions < 2023-10-17)
648648

649649
def __init__(self, config, username, password):

0 commit comments

Comments
 (0)