Author: jsuchome Date: Thu Apr 7 14:30:41 2011 New Revision: 63744 URL: http://svn.opensuse.org/viewcvs/yast?rev=63744&view=rev Log: (port from trunk) - added support for SHA-2 based crypto methods (fate309705) - 2.17.15 Modified: branches/SuSE-Code-11-SP2-Branch/security/VERSION branches/SuSE-Code-11-SP2-Branch/security/package/yast2-security.changes branches/SuSE-Code-11-SP2-Branch/security/src/Security.ycp branches/SuSE-Code-11-SP2-Branch/security/src/security.ycp branches/SuSE-Code-11-SP2-Branch/security/src/widgets.ycp Modified: branches/SuSE-Code-11-SP2-Branch/security/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/security/VERSION?rev=63744&r1=63743&r2=63744&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/security/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/security/VERSION Thu Apr 7 14:30:41 2011 @@ -1 +1 @@ -2.17.14 +2.17.15 Modified: branches/SuSE-Code-11-SP2-Branch/security/package/yast2-security.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/security/package/yast2-security.changes?rev=63744&r1=63743&r2=63744&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/security/package/yast2-security.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/security/package/yast2-security.changes Thu Apr 7 14:30:41 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Apr 7 14:26:55 CEST 2011 - jsuchome@suse.cz + +- added support for SHA-2 based crypto methods (fate309705) +- 2.17.15 + +------------------------------------------------------------------- Fri Mar 12 08:05:50 CET 2010 - jsrain@suse.cz - renamed the to Security Center and Hardening (fate#309121) Modified: branches/SuSE-Code-11-SP2-Branch/security/src/Security.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/security/src/Security.ycp?rev=63744&r1=63743&r2=63744&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/security/src/Security.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/security/src/Security.ycp Thu Apr 7 14:30:41 2011 @@ -242,6 +242,8 @@ "des" : 8, "md5" : 127, "blowfish" : 72, + "sha256" : 127, + "sha512" : 127 ]; /** @@ -421,11 +423,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: branches/SuSE-Code-11-SP2-Branch/security/src/security.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/security/src/security.ycp?rev=63744&r1=63743&r2=63744&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/security/src/security.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/security/src/security.ycp Thu Apr 7 14:30:41 2011 @@ -165,7 +165,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" ], ], "obscure" : $[ // command line help text for 'set obscure' option Modified: branches/SuSE-Code-11-SP2-Branch/security/src/widgets.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/security/src/widgets.ycp?rev=63744&r1=63743&r2=63744&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/security/src/widgets.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/security/src/widgets.ycp Thu Apr 7 14:30:41 2011 @@ -173,7 +173,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