diff --git a/0000-hotfix.patch b/0000-hotfix.patch index c5ae2a7..0c62559 100644 --- a/0000-hotfix.patch +++ b/0000-hotfix.patch @@ -140,3 +140,17 @@ Index: libguestfs-1.26.10/configure.ac builder/test-config/virt-builder/repos.d/test-index.conf builder/test-website/virt-builder/repos.d/libguestfs.conf builder/website/Makefile +Index: libguestfs-1.26.10/customize/password.ml +=================================================================== +--- libguestfs-1.26.10.orig/customize/password.ml ++++ libguestfs-1.26.10/customize/password.ml +@@ -166,6 +166,9 @@ and default_crypto ~prog g root = + | "ubuntu", v when v >= 10 -> `SHA512 + | "ubuntu", _ -> `MD5 + ++ | "opensuse", v when v >= 11 -> `SHA512 ++ | "opensuse", _ -> `MD5 ++ + | _, _ -> + warning ~prog (f_"password: using insecure md5 password encryption for + guest of type %s version %d.\nIf this is incorrect, use --password-crypto option and file a bug.") distro major; diff --git a/libguestfs.changes b/libguestfs.changes index e0832ec..003a0bd 100644 --- a/libguestfs.changes +++ b/libguestfs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 9 12:50:11 UTC 2015 - cbosdonnat@suse.com + +- Define SHA512 as the default password encryption method for + opensuse 11+. + ------------------------------------------------------------------- Mon Sep 7 13:39:57 UTC 2015 - cbosdonnat@suse.com