15 lines
729 B
Plaintext
15 lines
729 B
Plaintext
$OpenBSD: patch-lib_ansible_utils_encrypt_py,v 1.2 2019/06/02 11:53:09 jasper Exp $
|
|
|
|
Index: lib/ansible/utils/encrypt.py
|
|
--- lib/ansible/utils/encrypt.py.orig
|
|
+++ lib/ansible/utils/encrypt.py
|
|
@@ -64,7 +64,7 @@ class BaseHash(object):
|
|
algo = namedtuple('algo', ['crypt_id', 'salt_size', 'implicit_rounds'])
|
|
algorithms = {
|
|
'md5_crypt': algo(crypt_id='1', salt_size=8, implicit_rounds=None),
|
|
- 'bcrypt': algo(crypt_id='2a', salt_size=22, implicit_rounds=None),
|
|
+ 'bcrypt': algo(crypt_id='2b', salt_size=22, implicit_rounds=None),
|
|
'sha256_crypt': algo(crypt_id='5', salt_size=16, implicit_rounds=5000),
|
|
'sha512_crypt': algo(crypt_id='6', salt_size=16, implicit_rounds=5000),
|
|
}
|