New test.
[mono.git] / mcs / class / corlib / Test / System.Security.Cryptography / ChangeLog
index 8e9171a00bcc8afce667279f4a68f08ad035a6a9..94924f32f50963f43c252dedbb9d761711d9968a 100644 (file)
@@ -1,3 +1,191 @@
+2006-09-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
+       PKCS1 and OAEP padding - both resulting in a CryptographicException.
+       * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
+       * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
+
+2006-09-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * RSACryptoServiceProviderTest.cs: Test case for #79269 where we 
+       ensure a CryptographicException (not a NRE) when decrypting without a
+       private key.
+
+2006-07-01  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * RSAPKCS1SignatureDeformatterTest.cs: Added test case where 
+       SetHashAlgorithm isn't called and the hash algorithm name is derived
+       from the hash instance. From bug #78744 by Diego Mesa Tabares.
+
+2006-06-15  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * HashAlgorithmTest.cs: Added new test cases wrt the output buffer 
+       used in TransformBlock (e.g. bug #78647). Updated existing test case
+       to work under 2.0 final.
+       * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work 
+       properly.
+       * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
+       work properly.
+       * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to 
+       work properly.
+       * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to 
+       work properly.
+       * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits 
+       the HashAlgorithm tests.
+       * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits 
+       the HashAlgorithm tests.
+       * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key 
+       (required for new, inherited, test cases). Fix ToString to match 
+       KeyedHashAlgorithm (and not an inherited class).
+
+2006-06-01  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs. 
+       Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
+       Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
+
+2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * RijndaelTest.cs: Add test cases for cycling key sizes and block 
+       sizes.
+       * SymmetricAlgorithm2Test.cs: Added test case for re-setting the 
+       BlockSize. Keeping the same value *doesn't* change the current IV 
+       (while doing the same on the KeySize *does* change the key).
+
+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
 2003-10-04  Sebastien Pouliot  <spouliot@videotron.ca>
 
        * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
-       Carlos Guzmán Álvarez and some small tests for empty stream with
+       Carlos Guzmán Álvarez and some small tests for empty stream with
        different PaddingMode (as found by Lluis Sanchez Gual).
 
 2003-08-05  Sebastien Pouliot  <spouliot@videotron.ca>
 
 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
-       * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
+       * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
        * AllTests.cs: added new test.