SHA256
1
0
forked from pool/libguestfs

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
This commit is contained in:
Olaf Hering 2015-09-09 14:19:14 +00:00 committed by Git OBS Bridge
parent 676eaa8744
commit 7a9cb2da14
2 changed files with 20 additions and 0 deletions

View File

@ -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;

View File

@ -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