passphera-core 0.3.2__tar.gz → 0.3.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {passphera-core-0.3.2 → passphera-core-0.3.4}/PKG-INFO +1 -1
- passphera-core-0.3.4/passphera_core/__init__.py +2 -0
- {passphera-core-0.3.2 → passphera-core-0.3.4}/passphera_core/generator.py +3 -4
- {passphera-core-0.3.2 → passphera-core-0.3.4}/passphera_core.egg-info/PKG-INFO +1 -1
- {passphera-core-0.3.2 → passphera-core-0.3.4}/setup.py +1 -1
- passphera-core-0.3.2/passphera_core/__init__.py +0 -2
- {passphera-core-0.3.2 → passphera-core-0.3.4}/README.md +0 -0
- {passphera-core-0.3.2 → passphera-core-0.3.4}/passphera_core/exceptions.py +0 -0
- {passphera-core-0.3.2 → passphera-core-0.3.4}/passphera_core.egg-info/SOURCES.txt +0 -0
- {passphera-core-0.3.2 → passphera-core-0.3.4}/passphera_core.egg-info/dependency_links.txt +0 -0
- {passphera-core-0.3.2 → passphera-core-0.3.4}/passphera_core.egg-info/top_level.txt +0 -0
- {passphera-core-0.3.2 → passphera-core-0.3.4}/setup.cfg +0 -0
@@ -219,13 +219,12 @@ class PasswordGenerator:
|
|
219
219
|
"""
|
220
220
|
old_algorithm = self._algorithm_name
|
221
221
|
self._algorithm_name = 'affine'
|
222
|
-
self._update_algorithm_properties()
|
223
222
|
self._password = self.generate_raw_password()
|
224
223
|
self._algorithm_name = old_algorithm
|
225
|
-
self.
|
226
|
-
for char, replacement in self._chars_replacements.items():
|
227
|
-
self._password = self._password.replace(char, replacement)
|
224
|
+
self._password = self.generate_raw_password()
|
228
225
|
for char in self._password:
|
229
226
|
if char in self._text:
|
230
227
|
self._password = self._password.replace(char, char.upper())
|
228
|
+
for char, replacement in self._chars_replacements.items():
|
229
|
+
self._password = self._password.replace(char, replacement)
|
231
230
|
return self._password
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|