From 7a9cb2da14bc280eead5c7f0b1be1a46b9bf2b79b83d500c32b3f637dcf423e2 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 9 Sep 2015 14:19:14 +0000 Subject: [PATCH] Accepting request 330059 from home:cbosdonnat:branches:Virtualization - Define SHA512 as the default password encryption method for opensuse 11+. OBS-URL: https://build.opensuse.org/request/show/330059 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=345 --- 0000-hotfix.patch | 14 ++++++++++++++ libguestfs.changes | 6 ++++++ 2 files changed, 20 insertions(+) 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