From 8e8caa6e8cbfe28166d15500da08771f23ee0125 Mon Sep 17 00:00:00 2001 From: Alex Harpin Date: Wed, 1 Jul 2015 19:50:31 +0100 Subject: vyatta-cfg-system: use sha-512 instead of md5 for installation password In line with Bug #318 and Bug #355, use SHA-512 instead of MD5 when creating the initial vyos user password during installation. Bug #579 http://bugzilla.vyos.net/show_bug.cgi?id=579 --- scripts/install/install-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/install-functions b/scripts/install/install-functions index 90355974..1551fbb0 100755 --- a/scripts/install/install-functions +++ b/scripts/install/install-functions @@ -252,7 +252,7 @@ change_password() { done # escape any slashes in resulting password - local epwd=$(mkpasswd -H md5 "$pwd1" | sed 's:/:\\/:g') + local epwd=$(mkpasswd --method=sha-512 "$pwd1" | sed 's:/:\\/:g') set_encrypted_password "$user" "$epwd" "$config" } -- cgit v1.2.3 From 59355a981d001faf3ff96f14a9eb78fee8dac90e Mon Sep 17 00:00:00 2001 From: Alex Harpin Date: Thu, 2 Jul 2015 00:14:55 +0100 Subject: 0.20.44+vyos2+lithium32 --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 4c4fb96f..260db742 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +vyatta-cfg-system (0.20.44+vyos2+lithium32) unstable; urgency=low + + [ Alex Harpin ] + * vyatta-cfg-system: use sha-512 instead of md5 for installation password + + -- Alex Harpin Thu, 02 Jul 2015 00:14:27 +0100 + vyatta-cfg-system (0.20.44+vyos2+lithium31) unstable; urgency=low [ Alex Harpin ] -- cgit v1.2.3