Hello community, here is the log from the commit of package CASA checked in at Fri May 26 16:37:49 CEST 2006. -------- --- CASA/CASA.changes 2006-05-26 12:40:40.000000000 +0200 +++ CASA/CASA.changes 2006-05-26 16:36:56.000000000 +0200 @@ -1,0 +2,5 @@ +Thu May 25 16:15:53 MST 2006 - jnorman@novell.com +- Bug 178796: change the way we generate the new salt so that + we are cross-plat. + +-------------------------------------------------------------------- Old: ---- CASA-1.6.658.tar.bz2 New: ---- CASA-1.6.659.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ CASA.spec ++++++ --- /var/tmp/diff_new_pack.L1H6Ve/_old 2006-05-26 16:37:29.000000000 +0200 +++ /var/tmp/diff_new_pack.L1H6Ve/_new 2006-05-26 16:37:29.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package CASA (Version 1.6.658 ) +# spec file for package CASA (Version 1.6.659 ) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -23,7 +23,7 @@ Group: Productivity/Other Autoreqprov: on %define bldno 1.1.1 -Version: 1.6.658 +Version: 1.6.659 Release: 1 Summary: Novell Common Authentication Service Adapter (CASA) Source: %{name}-%{version}.tar.bz2 @@ -256,6 +256,9 @@ %{prefix}/CASA/help/en/* %changelog -n CASA +* Thu May 25 2006 - jnorman@novell.com +- Bug 178796: change the way we generate the new salt so that + we are cross-plat. * Thu May 25 2006 - cmashayekhi@novell.com - casa-gnome-keyring.h was cleaned up. * Tue May 23 2006 - cmashayekhi@novell.com ++++++ CASA-1.6.658.tar.bz2 -> CASA-1.6.659.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA-1.6.658/CASA.changes new/CASA-1.6.659/CASA.changes --- old/CASA-1.6.658/CASA.changes 2006-05-25 19:47:45.000000000 +0200 +++ new/CASA-1.6.659/CASA.changes 2006-05-26 01:17:12.000000000 +0200 @@ -1,4 +1,9 @@ -------------------------------------------------------------------- +Thursday May 25 16:15:53 MST 2006 - jnorman@novell.com +- Bug 178796: change the way we generate the new salt so that + we are cross-plat. + +-------------------------------------------------------------------- Thursday May 25 09:21:53 MST 2006 - cmashayekhi@novell.com - casa-gnome-keyring.h was cleaned up. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA-1.6.658/c_micasad/lss/Rfc2898DeriveBytes.cs new/CASA-1.6.659/c_micasad/lss/Rfc2898DeriveBytes.cs --- old/CASA-1.6.658/c_micasad/lss/Rfc2898DeriveBytes.cs 2006-05-25 19:47:43.000000000 +0200 +++ new/CASA-1.6.659/c_micasad/lss/Rfc2898DeriveBytes.cs 2006-05-26 01:17:10.000000000 +0200 @@ -144,10 +144,12 @@ // iterate thru each character, creating a new Random, // getting 2 bytes from each, until our salt buffer is full. - for (int i = 0; i < password.Length; i++) - { - FastRandom ranNum = new FastRandom((password[i].ToString().GetHashCode()) * (j+1)); - + for (int i = 0; i < password.Length;) + { + char letter = password[i]; + int iLetter = (int)letter; + + FastRandom ranNum = new FastRandom(iLetter * (j+1)); byte[] temp = new byte[2]; ranNum.NextBytes(temp); @@ -156,16 +158,20 @@ buffer[j++] = temp[k]; // get out if buffer is full if (j >= saltSize) - { + { return buffer; } } + i++; + // reset i if at end of password - if ((i + 1) == password.Length) + if ((i + 1) > password.Length) { i = 0; - } + } + + } return buffer; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA-1.6.658/package/linux/CASA.changes new/CASA-1.6.659/package/linux/CASA.changes --- old/CASA-1.6.658/package/linux/CASA.changes 2006-05-25 19:47:45.000000000 +0200 +++ new/CASA-1.6.659/package/linux/CASA.changes 2006-05-26 01:17:12.000000000 +0200 @@ -1,4 +1,9 @@ -------------------------------------------------------------------- +Thursday May 25 16:15:53 MST 2006 - jnorman@novell.com +- Bug 178796: change the way we generate the new salt so that + we are cross-plat. + +-------------------------------------------------------------------- Thursday May 25 09:21:53 MST 2006 - cmashayekhi@novell.com - casa-gnome-keyring.h was cleaned up. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA-1.6.658/package/linux/CASA.spec new/CASA-1.6.659/package/linux/CASA.spec --- old/CASA-1.6.658/package/linux/CASA.spec 2006-05-25 19:47:45.000000000 +0200 +++ new/CASA-1.6.659/package/linux/CASA.spec 2006-05-26 01:17:12.000000000 +0200 @@ -25,7 +25,7 @@ Group: Productivity/Other Autoreqprov: on %define bldno 1.1.1 -Version: 1.6.658 +Version: 1.6.659 Release: 0 Summary: Novell Common Authentication Services Adapter (CASA) Source: %{name}-%{version}.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...