merge -r 58060:58217
[mono.git] / mcs / class / corlib / Test / System.Security.Cryptography / ChangeLog
index a106d3b2733bf5d8cf474f7c3c31e13c2ff7cc1f..0f304fa26327dae71992d5c9103cecd961aeb4fb 100644 (file)
@@ -1,3 +1,221 @@
+2005-11-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DSATest.cs: Added test case where J isn't imported. In this case we
+       don't export (our internally calculated) J and it's also not part of 
+       the XML output.
+
+2005-10-21  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this 
+       implementation (not algorithm specific but required to match MS 
+       behaviour).
+       * RijndaelManagedTest.cs: Added unit tests specific to this 
+       implementation (not algorithm specific but required to match MS
+       behaviour).
+       * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
+       implementation (not algorithm specific but required to match MS
+       behaviour).
+       * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to 
+       this implementation (not algorithm specific but required to match MS
+       behaviour).
+
+2005-09-29  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
+       in some of the existing tests (under 2.0).
+
+2005-04-27  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
+       directly in UseMachineKeyStore (not just wrapped inside a 
+       CryptographicException). 
+       * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
+       directly in UseMachineKeyStore (not just wrapped inside a 
+       CryptographicException). 
+
+2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
+       EncodeOID for 2.0. Comment test for RSA OID (2.0).
+       * DESTest.cs: Check that null keys throws CryptographicException in 
+       IsWeakKey and IsSemiWeakKey for 2.0.
+       * TripleDESTest.cs: Check that null keys throws CryptographicException
+       in IsWeakKey for 2.0.
+       * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
+       a CryptographicException in 2.0.
+
+2005-04-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
+       is set to 0 before starting encryption.
+
+2005-03-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoStreamTest.cs: Added test case when when no padding is used.
+
+2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
+       * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
+
+2005-02-10  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
+       for NET_2_0 now that we can inherit from DSA outside corlib.
+
+2005-01-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
+       ("NotWorking")] to reduce nunit logs.
+
+2005-01-19  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit 
+       tests that were converted to [Category]
+
+2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
+       algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and 
+       HMACSHA512) to the tests.
+       * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
+       ensure that Mono didn't create the key before starting verification.
+       * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
+       constructor tests and for VerifyHash with a null OID.
+       * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for 
+       SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
+       (working only in Mono) can't be used because 2.0 use new OID for those
+       hash algorithms. Note that this still only works with Mono in 2.0!
+
+2005-01-10  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
+       HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
+       RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
+       Use [Category ("NotDotNet")] for tests failing only on the MS runtime
+       (so they are now executed on Mono).
+
+2005-01-08  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * TripleDESTest.cs: Testing weak key with null throws a NRE.
+
+2005-01-06  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * DESTest.cs: Updated weak key and semi-weak key tests with more 
+       exhaustive versions.
+       * TripleDESTest.cs: Added tests when including a DES weak key into
+       a 2DES or 3DES key.
+
+2005-01-04  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * CryptoStreamTest.cs: Undo some previous fixes that have changed from
+       2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing 
+       again with Dec.
+
+2004-12-23  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
+       * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on 
+       2.0 Nov CTP.
+       * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
+       * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on 
+       2.0 Nov CTP.
+
+2004-12-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ProtectedDataTest.cs: Moved in System.Security.dll
+       * ProtectedMemoryTest.cs: Moved in System.Security.dll
+
+2004-12-06  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that 
+       RSACryptoServiceProvider doesn't support private keys without CRT
+       parameters available - except to import the keys.
+
+2004-11-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
+       bug that will be fixed in 2.0 beta 2.
+
+2004-11-03  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to 
+       fail if the key container directory wasn't yet created (root).
+       * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
+       for all constructors, tests for properties and a test for bug 69036.
+       * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to 
+       fail if the key container directory wasn't yet created (root).
+
+2004-08-31  Nick Drochak <ndrochak@gol.com>
+
+       * DSACryptoServiceProviderTest.cs: 
+       * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
+
+2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DESTest.cs: Added a new test case to check default values.
+       * HMACSHA1.cs: Fixed bad test (and renamed it).
+       * RC2Test.cs: Added a new test case to check default values.
+       * RijndaelTest.cs: Added a new test case to check default values.
+       Convert tests from NUnit 1 to 2.2.
+       * TripleDESTest.cs: Added a new test case to check default values.
+       Convert tests to NUnit 2.2.
+
+2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AllTests2.cs: Updated to NUnit 2.2 Assert.
+       * CipherModeTest.cs: New. Tests supported CipherMode for all 
+       SymmetricAlgorithm included in the framework (enum contains two more
+       modes that aren't implemented in any Fx version).
+       * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
+       * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
+       Fixed a bad test.
+       * CspProviderFlagsTest.cs: New. Test the values of the enum.
+       * DSACryptoServiceProviderTest.cs: Added new tests for new public 
+       properties and methods added in Fx 2.0. Duplicated test to import a
+       key pair into a disposed instance (works in Fx 2.0). Removed all
+       [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
+       * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
+       different reported exception in Fx 2.0.
+       * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
+       different reported exception in Fx 2.0.
+       * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
+       * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and 
+       NET_2_0 profiles (as HMACSHA1 changed it's base class).
+       * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
+       Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
+       * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and 
+       NET_2_0 profiles.
+       * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
+       MS class has been fixed.
+       * PaddingModeTest.cs: Added new tests for the two new padding mode
+       introduced in Fx 2.0. Converted to NUnit 2.2.
+       * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for 
+       StrangeBehaviour test as it is fixed in Fx 2.0.
+       * RC2Test.cs: Changed exception from CryptographicException to 
+       CryptographicUnexpectedOperationException for Fx 1.1/2.0.
+       * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
+       * RSACryptoServiceProviderTest.cs: Added new tests for new public 
+       properties and methods added in Fx 2.0. Duplicated test to import a
+       key pair into a disposed instance (works in Fx 2.0). Duplicated test
+       to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
+       * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
+       exchange with no key (to match Fx 2.0).
+       * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
+       exchange with no key (to match Fx 2.0).
+       * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
+       exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
+       the MS class/runtime has been fixed.
+       * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
+       SetKey method, now throw an ArgumentNullException in Fx 2.0.
+       * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
+       SetKey method, now throw an ArgumentNullException in Fx 2.0.
+       * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
+       * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a 
+       CryptographicException.
+       * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
+       Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
+
 2004-06-23  Sebastien Pouliot  <sebastien@ximian.com>
 
        * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that