[yast-commit] r63712 - in /trunk/users: VERSION package/yast2-users.changes src/UsersSimple.pm src/UsersUI.ycp src/inst_user_first.ycp src/users_proposal.ycp src/widgets.ycp yast2-users.spec.in
Author: jsuchome
Date: Tue Apr 5 11:05:53 2011
New Revision: 63712
URL: http://svn.opensuse.org/viewcvs/yast?rev=63712&view=rev
Log:
- added support for SHA-2 based crypto methods (fate309705)
- 2.21.3
Modified:
trunk/users/VERSION
trunk/users/package/yast2-users.changes
trunk/users/src/UsersSimple.pm
trunk/users/src/UsersUI.ycp
trunk/users/src/inst_user_first.ycp
trunk/users/src/users_proposal.ycp
trunk/users/src/widgets.ycp
trunk/users/yast2-users.spec.in
Modified: trunk/users/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/VERSION?rev=63712&r1=63711&r2=63712&view=diff
==============================================================================
--- trunk/users/VERSION (original)
+++ trunk/users/VERSION Tue Apr 5 11:05:53 2011
@@ -1 +1 @@
-2.21.2
+2.21.3
Modified: trunk/users/package/yast2-users.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/package/yast2-users.changes?rev=63712&r1=63711&r2=63712&view=diff
==============================================================================
--- trunk/users/package/yast2-users.changes (original)
+++ trunk/users/package/yast2-users.changes Tue Apr 5 11:05:53 2011
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Apr 5 11:01:12 CEST 2011 - jsuchome@suse.cz
+
+- added support for SHA-2 based crypto methods (fate309705)
+- 2.21.3
+
+-------------------------------------------------------------------
Fri Apr 1 10:13:20 CEST 2011 - jsuchome@suse.cz
- check for 'sss' in nsswitch.conf for LDAP users (bnc#683782)
Modified: trunk/users/src/UsersSimple.pm
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/UsersSimple.pm?rev=63712&r1=63711&r2=63712&view=diff
==============================================================================
--- trunk/users/src/UsersSimple.pm (original)
+++ trunk/users/src/UsersSimple.pm Tue Apr 5 11:05:53 2011
@@ -70,6 +70,8 @@
"des" => 8,
"md5" => 127,
"blowfish" => 72,
+ "sha256" => 127, # arbitrary high number, there's probably no limit
+ "sha512" => 127
);
# name of user that should be logged in automatically
Modified: trunk/users/src/UsersUI.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/UsersUI.ycp?rev=63712&r1=63711&r2=63712&view=diff
==============================================================================
--- trunk/users/src/UsersUI.ycp (original)
+++ trunk/users/src/UsersUI.ycp Tue Apr 5 11:05:53 2011
@@ -401,6 +401,10 @@
return cryptmd5 (pw);
if (method == "blowfish")
return cryptblowfish (pw);
+ if (method == "sha256")
+ return cryptsha256 (pw);
+ if (method == "sha512")
+ return cryptsha512 (pw);
return crypt (pw);
}
Modified: trunk/users/src/inst_user_first.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/inst_user_first.ycp?rev=63712&r1=63711&r2=63712&view=diff
==============================================================================
--- trunk/users/src/inst_user_first.ycp (original)
+++ trunk/users/src/inst_user_first.ycp Tue Apr 5 11:05:53 2011
@@ -100,6 +100,10 @@
"md5" : _("MD5"),
// encryption type
"blowfish" : _("Blowfish"),
+ // encryption type
+ "sha256" : _("SHA-256"),
+ // encryption type
+ "sha512" : _("SHA-512"),
];
term import_checkbox = `Left (`CheckBox (`id (`import_ch),
// check box label
@@ -162,6 +166,10 @@
`Left (`RadioButton (`id ("md5"), _("&MD5"))),
// Radio button label: password encryption type
`Left (`RadioButton (`id ("blowfish"), _("&Blowfish"))),
+ // Radio button label: password encryption type
+ `Left (`RadioButton (`id ("sha256"), _("SHA-&256"))),
+ // Radio button label: password encryption type
+ `Left (`RadioButton (`id ("sha512"), _("SHA-&512"))),
`VSpacing (0.5)
))
);
@@ -202,6 +210,7 @@
to encrypt passwords.
</P>");
+
// help text for main add user dialog
string main_help () {
// help text for main add user dialog
@@ -773,7 +782,7 @@
// preselect the required packages for installation
y2milestone ("preselect required packages for installation");
map
participants (1)
-
jsuchome@svn2.opensuse.org