c,python: Add '+' to the list of special characters

This commit is contained in:
2021-11-15 01:16:28 +01:00
parent bcae51ead9
commit 0c266f5792
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
/* /*
* List of special characters (order is important) * List of special characters (order is important)
*/ */
#define PASSGENY_SPECIAL "-./=_ " #define PASSGENY_SPECIAL " +-./=_"
/* /*
* Argon2 parameters * Argon2 parameters

View File

@ -13,7 +13,7 @@ from . import bhash, phogen
PASSGENY_DEFAULT_PATTERN = "^6p^6p^6ps2p100d" PASSGENY_DEFAULT_PATTERN = "^6p^6p^6ps2p100d"
# List of special characters # List of special characters
PASSGENY_SPECIAL = "-./=_ " PASSGENY_SPECIAL = " +-./=_"
# Default SALT to use; this cannot be random since passgeny must # Default SALT to use; this cannot be random since passgeny must
# generate predictable passwords # generate predictable passwords