Skip to content

Commit 5f385c8

Browse files
committed
Update cryptographer iterations
1 parent cc83939 commit 5f385c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

emailproxy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
__author__ = 'Simon Robinson'
77
__copyright__ = 'Copyright (c) 2024 Simon Robinson'
88
__license__ = 'Apache 2.0'
9-
__package_version__ = '2025.3.5' # for pyproject.toml usage only - needs to be ast.literal_eval() compatible
9+
__package_version__ = '2025.3.14' # for pyproject.toml usage only - needs to be ast.literal_eval() compatible
1010
__version__ = '-'.join('%02d' % int(part) for part in __package_version__.split('.')) # ISO 8601 (YYYY-MM-DD)
1111

1212
import abc
@@ -643,7 +643,7 @@ def _save_cache(cache_store_identifier, output_config_parser):
643643

644644

645645
class Cryptographer:
646-
ITERATIONS = 1_000_000 # taken from cryptography's suggestion of using Django's defaults (as of January 2025)
646+
ITERATIONS = 1_200_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)