forked from pool/cloud-init
- Add cloud-init-long-pass.patch (bsc#1162936, CVE-2020-8632)
+ Increase the default length of generated passwords OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=163
This commit is contained in:
parent
d3536e70a5
commit
1b2a3c0e23
11
cloud-init-long-pass.patch
Normal file
11
cloud-init-long-pass.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- cloudinit/config/cc_set_passwords.py.orig
|
||||
+++ cloudinit/config/cc_set_passwords.py
|
||||
@@ -236,7 +236,7 @@ def handle(_name, cfg, cloud, log, args)
|
||||
raise errors[-1]
|
||||
|
||||
|
||||
-def rand_user_password(pwlen=9):
|
||||
+def rand_user_password(pwlen=20):
|
||||
return util.rand_str(pwlen, select_from=PW_SET)
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 13 14:07:50 UTC 2020 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
- Add cloud-init-long-pass.patch (bsc#1162936, CVE-2020-8632)
|
||||
+ Increase the default length of generated passwords
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 12 22:37:57 UTC 2020 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
|
@ -46,6 +46,7 @@ Patch56: cloud-init-sysconf-path.patch
|
||||
# FIXME (lp#1860164)
|
||||
Patch57: cloud-init-no-tempnet-oci.patch
|
||||
Patch58: cloud-init-use-different-random-src.diff
|
||||
Patch59: cloud-init-long-pass.patch
|
||||
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: filesystem
|
||||
@ -192,6 +193,7 @@ Documentation and examples for cloud-init tools
|
||||
%patch56
|
||||
%patch57
|
||||
%patch58 -p1
|
||||
%patch59
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1315
|
||||
|
Loading…
Reference in New Issue
Block a user