Author: jsuchome Date: Tue Apr 5 11:05:11 2011 New Revision: 63710 URL: http://svn.opensuse.org/viewcvs/yast?rev=63710&view=rev Log: - added support for SHA-2 based crypto methods (fate309705) - 2.21.0 Modified: trunk/security/VERSION trunk/security/package/yast2-security.changes trunk/security/src/Security.ycp trunk/security/src/security.ycp trunk/security/src/widgets.ycp Modified: trunk/security/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/security/VERSION?rev=63710&r1=63709&r2=63710&view=diff ============================================================================== --- trunk/security/VERSION (original) +++ trunk/security/VERSION Tue Apr 5 11:05:11 2011 @@ -1 +1 @@ -2.20.2 +2.21.0 Modified: trunk/security/package/yast2-security.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/security/package/yast2-security.changes?rev=63710&r1=63709&r2=63710&view=diff ============================================================================== --- trunk/security/package/yast2-security.changes (original) +++ trunk/security/package/yast2-security.changes Tue Apr 5 11:05:11 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Apr 5 11:03:35 CEST 2011 - jsuchome@suse.cz + +- added support for SHA-2 based crypto methods (fate309705) +- 2.21.0 + +------------------------------------------------------------------- Wed Nov 10 14:19:15 CET 2010 - jsuchome@suse.cz - remember the default value of CRACKLIB_DICT_PATH (bnc#650425) Modified: trunk/security/src/Security.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/security/src/Security.ycp?rev=63710&r1=63709&r2=63710&view=diff ============================================================================== --- trunk/security/src/Security.ycp (original) +++ trunk/security/src/Security.ycp Tue Apr 5 11:05:11 2011 @@ -242,6 +242,8 @@ "des" : 8, "md5" : 127, "blowfish" : 72, + "sha256" : 127, + "sha512" : 127 ]; /** @@ -380,11 +382,11 @@ // read the password hash settings string method = PamSettings::GetDefaultValue ("CRYPT_FILES"); if (method == nil || method == "" || - !contains (["des","md5","blowfish"],method)) + !contains (["des","md5","blowfish","sha256","sha512"],method)) { method = PamSettings::GetHashMethod (); } - if (method == "" || !contains (["des","md5","blowfish"],method)) + if (method == "" || !contains (["des","md5","blowfish","sha256","sha512"],method)) method = "des"; Settings["PASSWD_ENCRYPTION"] = method; Settings["GROUP_ENCRYPTION"] = PamSettings::GetGroupHashMethod (); Modified: trunk/security/src/security.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/security/src/security.ycp?rev=63710&r1=63709&r2=63710&view=diff ============================================================================== --- trunk/security/src/security.ycp (original) +++ trunk/security/src/security.ycp Tue Apr 5 11:05:11 2011 @@ -159,7 +159,7 @@ // command line help text for 'set passwd' option "help" : _("Password encryption method"), "type" : "enum", - "typespec" : [ "des", "md5", "blowfish" ], + "typespec" : [ "des", "md5", "blowfish", "sha256", "sha512" ], ], "crack" : $[ // command line help text for 'set crack' option Modified: trunk/security/src/widgets.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/security/src/widgets.ycp?rev=63710&r1=63709&r2=63710&view=diff ============================================================================== --- trunk/security/src/widgets.ycp (original) +++ trunk/security/src/widgets.ycp Tue Apr 5 11:05:11 2011 @@ -166,7 +166,7 @@ /* ComboBox label */ "Label" : _("P&assword Encryption Method"), /* ComboBox values */ - "Options" : [["des","DES"],["md5","MD5"],["blowfish","Blowfish"]], + "Options" : [["des","DES"],["md5","MD5"],["blowfish","Blowfish"], ["sha256", "SHA-256"], ["sha512", "SHA-512"]], "Value" : "des", "Notify" : "yes", ], -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org