mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fixed bug were the minimum keysize could be greater than 2048.
Looks like this was introduced in saltstack/salt@4981752f1d
This commit is contained in:
parent
b95b9fd1e1
commit
a3ba6d1643
@ -651,7 +651,7 @@ class SaltKey(object):
|
||||
for k, v in options.__dict__.items():
|
||||
if k == 'keysize':
|
||||
if v < 2048:
|
||||
opts[k] = v
|
||||
opts[k] = 2048
|
||||
else:
|
||||
opts[k] = v
|
||||
elif v is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user