Browse Source

Merge "Update passphrase pool of characters"

Zuul 2 weeks ago
parent
commit
4ea5ffef24
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      pegleg/engine/util/cryptostring.py

+ 2
- 1
pegleg/engine/util/cryptostring.py View File

@@ -21,7 +21,8 @@ __all__ = ['CryptoString']
21 21
 class CryptoString(object):
22 22
 
23 23
     def __init__(self):
24
-        self._pool = string.ascii_letters + string.digits + string.punctuation
24
+        punctuation = '@#&-+=?'
25
+        self._pool = string.ascii_letters + string.digits + punctuation
25 26
         self._random = random.SystemRandom()
26 27
 
27 28
     def get_crypto_string(self, length=24):

Loading…
Cancel
Save