1 2007-11-20 Sebastien Pouliot <sebastien@ximian.com>
3 * DESCryptoServiceProviderTest.cs: Fix CreateDecryptor_KeyNull test
4 case not to fail about 1 out of 256 times under the 2.0 profile.
6 2007-10-23 Sebastien Pouliot <sebastien@ximian.com>
8 * DESCryptoServiceProviderTest.cs: Fix CreateEncryptor_KeyNull test
9 case not to fail about 1 out of 256 times under the 2.0 profile.
11 2007-05-16 Sebastien Pouliot <sebastien@ximian.com>
13 * CryptoStreamTest.cs: Add test cases for WriteByte.
15 2007-05-08 Randolph Chung <tausq@debian.org>
17 * DSACryptoServiceProviderTest.cs: Remove "NotWorking" annotation
18 for the blob tests that should now pass.
20 2007-05-08 Sebastien Pouliot <sebastien@ximian.com>
22 * DSATest.cs: Add test case where we import a key that has a null Y
23 (public part) but where X (private part) is available - and usable
26 2007-03-22 Sebastien Pouliot <sebastien@ximian.com>
28 * CryptoConfigTest.cs: Fix upper/lower/mixed cases tests as they work
30 * CryptoStreamTest.cs: Fixed some test cases to work properly on MS
32 * DSACryptoServiceProviderTest.cs: Normalize line endings.
33 * PasswordDeriveBytesTest.cs: Fix test case that used Reset (as the
34 method was fixed to reset the state in fx 2.0).
35 * Rfc2898DeriveBytesTest.cs: Add test case to trigger an endian bug.
36 * RSACryptoServiceProviderTest.cs: Normalize line endings.
37 * SymmetricAlgorithmTransformTest.cs: Change/split test cases so that
38 they work properly under both MS 1.1 and 2.0. In some cases tests are
39 marked as NotWorking because Mono implements the, more consistent, 2.0
40 behavior for all transforms.
42 2007-03-15 Roei Erez <roeie@mainsoft.com>
44 * Adding some TARGET_JVM tags.
46 2007-03-05 Sebastien Pouliot <sebastien@ximian.com>
48 * SymmetricAlgorithmTransformTest.cs: Add test cases for #81008 by
49 looking at the encrypted/decrypted block length when TransformBlock is
50 called with different MoO and paddings.
52 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
54 * HashAlgorithmTest.cs: Convert to NUnit 2.2 format.
55 * HMACMD5Test.cs: Convert to NUnit 2.2 format.
56 * HMACRIPEMD160Test.cs: Convert to NUnit 2.2 format.
57 * HMACSHA1Test.cs: Convert to NUnit 2.2 format.
58 * HMACSHA256Test.cs: Convert to NUnit 2.2 format.
59 * HMACSHA384Test.cs: Convert to NUnit 2.2 format. Add test cases from
60 RFC4231 using the correct block size (128) and the "legacy" size (64).
61 * HMACSHA512Test.cs: Convert to NUnit 2.2 format. . Add test cases from
62 RFC4231 using the correct block size (128) and the "legacy" size (64).
63 * KeyedHashAlgorithmTest.cs: Convert to NUnit 2.2 format.
64 * SHA1CryptoServiceProviderTest.cs: Convert to NUnit 2.2 format.
65 * SHA1Test.cs: Convert to NUnit 2.2 format.
66 * SHA256ManagedTest.cs: Convert to NUnit 2.2 format.
67 * SHA256Test.cs: Convert to NUnit 2.2 format.
68 * SHA384ManagedTest.cs: Convert to NUnit 2.2 format.
69 * SHA384Test.cs: Convert to NUnit 2.2 format.
70 * SHA512ManagedTest.cs: Convert to NUnit 2.2 format.
71 * SHA512Test.cs: Convert to NUnit 2.2 format.
73 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
75 * CryptoConfigTest.cs: Adjust line-endings.
76 * CryptoStreamTest.cs: Adjust line-endings.
77 * DESTest.cs: Adjust line-endings.
78 * DSACryptoServiceProviderTest.cs: Adjust line-endings.
79 * DSATest.cs: Adjust line-endings.
80 * RSACryptoServiceProviderTest.cs: Adjust line-endings.
82 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
84 * DESCryptoServiceProviderTest.cs: Remove test cases for bug #80439
85 as they are more general than DES and the default padding.
86 * SymmetricAlgorithmTransformTest.cs: New. Extensive test cases for
87 bug #80439, all symmtric ciphers (all block size), all mode of
88 operations and all supported padding modes.
90 2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
92 * DESCryptoServiceProviderTest.cs: Update and add new test cases for
95 2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
97 * DESCryptoServiceProviderTest.cs: Add tests for bug #80439 where
98 inputCount is reduced to fit into the output buffer (for any mode).
100 2006-11-24 Sebastien Pouliot <sebastien@ximian.com>
102 * CryptoConfigTest.cs: Added test case for X509Chain.
104 2006-11-16 Sebastien Pouliot <sebastien@ximian.com>
106 * PasswordDeriveBytesTest.cs: Added test case for bug #79499
108 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
110 * CryptoConfigTest.cs: Added test cases to ensure lower/mixed-case of
111 algorithm names are supported by CreateFromName and MapNameToOID (fix
112 bug #79641). Updated some OID that were changed (well nulled) in the
113 final 2.0 release of MS framework.
115 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
117 * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
118 PKCS1 and OAEP padding - both resulting in a CryptographicException.
119 * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
120 * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
122 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
124 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
125 ensure a CryptographicException (not a NRE) when decrypting without a
128 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
130 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
131 SetHashAlgorithm isn't called and the hash algorithm name is derived
132 from the hash instance. From bug #78744 by Diego Mesa Tabares.
134 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
136 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
137 used in TransformBlock (e.g. bug #78647). Updated existing test case
138 to work under 2.0 final.
139 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
141 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
143 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
145 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
147 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
148 the HashAlgorithm tests.
149 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
150 the HashAlgorithm tests.
151 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
152 (required for new, inherited, test cases). Fix ToString to match
153 KeyedHashAlgorithm (and not an inherited class).
155 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
157 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
158 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
159 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
161 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
163 * RijndaelTest.cs: Add test cases for cycling key sizes and block
165 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
166 BlockSize. Keeping the same value *doesn't* change the current IV
167 (while doing the same on the KeySize *does* change the key).
169 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
171 * DSATest.cs: Added test case where J isn't imported. In this case we
172 don't export (our internally calculated) J and it's also not part of
175 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
177 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
178 implementation (not algorithm specific but required to match MS
180 * RijndaelManagedTest.cs: Added unit tests specific to this
181 implementation (not algorithm specific but required to match MS
183 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
184 implementation (not algorithm specific but required to match MS
186 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
187 this implementation (not algorithm specific but required to match MS
190 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
192 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
193 in some of the existing tests (under 2.0).
195 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
197 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
198 directly in UseMachineKeyStore (not just wrapped inside a
199 CryptographicException).
200 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
201 directly in UseMachineKeyStore (not just wrapped inside a
202 CryptographicException).
204 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
206 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
207 EncodeOID for 2.0. Comment test for RSA OID (2.0).
208 * DESTest.cs: Check that null keys throws CryptographicException in
209 IsWeakKey and IsSemiWeakKey for 2.0.
210 * TripleDESTest.cs: Check that null keys throws CryptographicException
211 in IsWeakKey for 2.0.
212 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
213 a CryptographicException in 2.0.
215 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
217 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
218 is set to 0 before starting encryption.
220 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
222 * CryptoStreamTest.cs: Added test case when when no padding is used.
224 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
226 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
227 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
229 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
231 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
232 for NET_2_0 now that we can inherit from DSA outside corlib.
234 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
236 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
237 ("NotWorking")] to reduce nunit logs.
239 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
241 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
242 tests that were converted to [Category]
244 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
246 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
247 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
248 HMACSHA512) to the tests.
249 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
250 ensure that Mono didn't create the key before starting verification.
251 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
252 constructor tests and for VerifyHash with a null OID.
253 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
254 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
255 (working only in Mono) can't be used because 2.0 use new OID for those
256 hash algorithms. Note that this still only works with Mono in 2.0!
258 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
260 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
261 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
262 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
263 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
264 (so they are now executed on Mono).
266 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
268 * TripleDESTest.cs: Testing weak key with null throws a NRE.
270 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
272 * DESTest.cs: Updated weak key and semi-weak key tests with more
274 * TripleDESTest.cs: Added tests when including a DES weak key into
277 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
279 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
280 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
283 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
285 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
286 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
288 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
289 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
292 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
294 * ProtectedDataTest.cs: Moved in System.Security.dll
295 * ProtectedMemoryTest.cs: Moved in System.Security.dll
297 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
299 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
300 RSACryptoServiceProvider doesn't support private keys without CRT
301 parameters available - except to import the keys.
303 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
305 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
306 bug that will be fixed in 2.0 beta 2.
308 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
310 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
311 fail if the key container directory wasn't yet created (root).
312 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
313 for all constructors, tests for properties and a test for bug 69036.
314 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
315 fail if the key container directory wasn't yet created (root).
317 2004-08-31 Nick Drochak <ndrochak@gol.com>
319 * DSACryptoServiceProviderTest.cs:
320 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
322 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
324 * DESTest.cs: Added a new test case to check default values.
325 * HMACSHA1.cs: Fixed bad test (and renamed it).
326 * RC2Test.cs: Added a new test case to check default values.
327 * RijndaelTest.cs: Added a new test case to check default values.
328 Convert tests from NUnit 1 to 2.2.
329 * TripleDESTest.cs: Added a new test case to check default values.
330 Convert tests to NUnit 2.2.
332 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
334 * AllTests2.cs: Updated to NUnit 2.2 Assert.
335 * CipherModeTest.cs: New. Tests supported CipherMode for all
336 SymmetricAlgorithm included in the framework (enum contains two more
337 modes that aren't implemented in any Fx version).
338 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
339 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
341 * CspProviderFlagsTest.cs: New. Test the values of the enum.
342 * DSACryptoServiceProviderTest.cs: Added new tests for new public
343 properties and methods added in Fx 2.0. Duplicated test to import a
344 key pair into a disposed instance (works in Fx 2.0). Removed all
345 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
346 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
347 different reported exception in Fx 2.0.
348 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
349 different reported exception in Fx 2.0.
350 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
351 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
352 NET_2_0 profiles (as HMACSHA1 changed it's base class).
353 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
354 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
355 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
357 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
358 MS class has been fixed.
359 * PaddingModeTest.cs: Added new tests for the two new padding mode
360 introduced in Fx 2.0. Converted to NUnit 2.2.
361 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
362 StrangeBehaviour test as it is fixed in Fx 2.0.
363 * RC2Test.cs: Changed exception from CryptographicException to
364 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
365 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
366 * RSACryptoServiceProviderTest.cs: Added new tests for new public
367 properties and methods added in Fx 2.0. Duplicated test to import a
368 key pair into a disposed instance (works in Fx 2.0). Duplicated test
369 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
370 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
371 exchange with no key (to match Fx 2.0).
372 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
373 exchange with no key (to match Fx 2.0).
374 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
375 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
376 the MS class/runtime has been fixed.
377 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
378 SetKey method, now throw an ArgumentNullException in Fx 2.0.
379 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
380 SetKey method, now throw an ArgumentNullException in Fx 2.0.
381 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
382 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
383 CryptographicException.
384 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
385 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
387 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
389 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
390 an encryptor doesn't reduce the number of block on Write while the
391 second shows that a decryptor does reduce the number of blocks on
394 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
396 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
397 cases for the previously undocumented .ctor(SecurityElement) - which
398 is now, backwardly, documented in VS.NET 2005.
400 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
402 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
404 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
406 * CryptoStreamTest.cs: Added new unit tests for overflows.
407 * FromBase64Transform.cs: Added new unit tests for undocumented
408 exceptions (null, overflows...).
409 * ToBase64TransformTest.cs: Added new unit tests for negatives and
412 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
414 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
415 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
416 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
417 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
418 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
419 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
420 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
421 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
422 public (required for new nunit).
424 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
426 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
427 constructor behave with null seeds or if they modify the seed.
429 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
431 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
432 (was badly tested) and simplified test to reduce key pair generations.
433 * PasswordDerivceBytesTest.cs: Added new tests to complete
435 * RSACryptoServiceProviderTest.cs: Added new tests to complete
437 * ToBase64TransformTest.cs: Added a (legal) test where the final
438 transform receive data smaller than it's input block (padding).
440 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
442 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
443 exceptions to test exception handling (and get more coverage).
444 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
446 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
448 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
450 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
452 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
454 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
456 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
458 * RSATest.cs: Updated unit tests for importing XML key pairs.
459 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
460 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
461 tests. Converted to NUnit2.
462 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
463 coverage (like exception testing).
464 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
466 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
468 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
470 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
471 * FromBase64Transform.cs: New unit tests for better coverage.
472 * HashAlgorithmTest.cs: New unit tests for better coverage.
473 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
475 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
477 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
478 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
480 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
481 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
482 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
483 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
484 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
485 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
487 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
489 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
490 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
492 * DESTest.cs: Added test vectors from FIPS 81.
494 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
496 * DESTest.cs: New. Unit tests for DES including checks for weak and
497 semi-weak keys (with and without parity applied on keys). Completes
498 coverage for DES class.
500 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
502 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
503 it works on big endian machines.
505 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
507 * FromBase64Transform.cs: Two new unit tests showing that the
508 transform doesn't care if it's data is invalid base64. Convert class
511 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
513 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
514 for properties, Dispose, Reuse and ignored characters.
516 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
518 * DSATest.cs : Added ToXmlString test that checks if input without
519 Seed and PgenCounter elements pass or not.
521 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
523 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
524 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
526 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
528 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
530 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
533 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
535 * CryptoStreamTest.cs: Added many more tests for every problem found
536 with CryptoStream using code samples from the internet.
538 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
540 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
541 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
542 symmetric algorithms.
543 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
544 both 1.0 and 1.1 framework.
546 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
548 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
549 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
551 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
553 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
556 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
558 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
559 and test vectors from RFC3211.
561 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
563 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
565 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
566 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
567 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
569 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
571 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
572 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
573 RIPEMD160Managed implementation.
575 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
577 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
578 Carlos Guzmán Álvarez and some small tests for empty stream with
579 different PaddingMode (as found by Lluis Sanchez Gual).
581 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
583 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
586 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
588 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
589 test case from bugzilla #46143 from Joerg Rosenkranz.
590 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
591 different from .NET 1.0 and 1.1.
593 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
595 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
596 and better test coverage (based on Zoltan's logs).
597 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
598 test coverage (import incomplete public keys).
599 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
600 and better test coverage (based on Zoltan's logs).
601 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
602 test coverage (import incomplete public keys).
604 2003-06-23 Nick Drochak <ndrochak@gol.com>
606 * MACTripleDESTest.cs: Adjust for .NET 1.1.
608 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
610 * AllTests2.cs: Converted tests to NUnit2 format.
611 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
612 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
613 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
614 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
615 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
617 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
619 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
620 (as it's result isn't valid on both framework 1.0 and 1.1).
621 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
622 cloned the previous error into many more tests. Hopefully fixed.
624 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
626 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
627 which doesn't throw the same exception under 1.1. Also converted
628 the tests to NUnit2 format.
630 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
632 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
633 unit test (will work on Mono but fails with MS implementation).
634 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
635 both Mono and MS (under Windows XP) generated OAEP results.
636 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
638 2003-04-17 Nick Drochak <ndrochak@gol.com>
640 * DSATest.cs: Use nunit version 2 style to test throw.
641 * HMACSHA1Test.cs: Eliminate compiler warning.
643 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
645 * CryptoConfigTest.cs: Added new tests for algorithms
646 documented in book ".NET Framework Security".
648 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
650 * PasswordDeriveBytesTest.cs: Added some new tests to complete
652 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
653 invalid hash algorithm.
655 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
657 * HMACSHA1Test.cs: Added tests for constructors.
658 * MACTripleDESTest.cs: Added tests for constructors.
660 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
662 * HashAlgorithmTest.cs: Added new test for null streams.
663 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
665 2002-12-21 Nick Drochak <ndrochak@gol.com>
667 * all: make tests build and run under nunit2
669 2002-12-21 Nick Drochak <ndrochak@gol.com>
671 * AllTests2.cs: Helper file for unit tests
673 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
675 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
676 as it doesn't seems to work on my system and the exception behavior
677 isn't logical (only MD5 not SHA1, ...).
679 2002-11-18 Nick Drochak <ndrochak@gol.com>
681 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
682 verifying a bad signature. Test for that.
684 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
686 * AllTests.cs: Added a common RSA keypair for tests and all RSA
687 suites for new tests.
688 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
689 import/export and signature (no encryption yet).
690 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
691 pre-generated vectors from Mono/Windows (cannot yet compare
692 with CryptoAPI/Windows as OAEP isn't available on my system).
693 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
694 is compatible with the Deformatter.
695 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
696 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
697 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
698 is compatible with the Deformatter.
699 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
700 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
701 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
702 is compatible with the Deformatter.
704 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
706 * AllTests.cs: Added suites for DSASignatureDeformatter,
707 DSASignatureFormatter.
708 * CryptoConfigTest.cs: Tests new URLs. This test will fail
709 if System.Security.dll isn't present (or not yet compiled).
710 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
711 because it's too slow), Import/Export, Signature and Verification.
712 * DSASignatureDeformatterTest.cs: New. Test signature verification.
713 * DSASignatureFormatterTest.cs: New. Test signature creation.
714 * DSATest.cs: Comment DSA-derived test class as DSA constructor
715 is internal. Reworked the test suite.
716 * SignatureDescriptionTest.cs: Added tests for
717 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
719 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
721 * AllTests.cs: Added suites for SignatureDescription and
722 activated suites for SHA384Managed and SHA512Managed.
723 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
724 know the context in which the class is used).
726 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
728 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
729 (last two partly commented until implementation is commited).
730 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
731 * SHA256ManagedTest.cs: New. Implementation tests (inherits
733 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
734 * SHA384ManagedTest.cs: New. Implementation tests (inherits
736 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
737 * SHA512ManagedTest.cs: New. Implementation tests (inherits
740 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
742 * AllTests.cs: Added suite for PasswordDeriveBytes
743 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
744 only works for short runs (keys < HashSize) not long runs
746 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
748 * AllTests.cs: Added suite for Rjindael
749 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
751 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
753 * AllTests.cs: Renabled most tests after commenting all code causing a
754 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
755 until commented code is replaced.
756 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
757 algorithm implementation, all cipher modes, all padding modes, all key
758 sizes, all block sizes, feedback...
759 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
760 tests to check for various exceptions
762 2002-10-16 Nick Drochak <ndrochak@gol.com>
764 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
765 algorithms that aren't in the build yet.
767 2002-10-16 Nick Drochak <ndrochak@gol.com>
769 * AllTests.cs: Disable tests that use components were are excluding
773 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
775 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
776 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
777 result isn't the same as MS implementation !?! is MS using this class ?
779 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
781 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
783 * HashAlgorithmTest.cs: New. Test for Create and Clear
784 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
785 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
787 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
789 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
790 SHA1CryptoServiceProvider
791 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
792 random quality tests (FIPS140-2)
793 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
794 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
797 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
799 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
800 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
801 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
803 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
805 * CryptoConfigTest.cs: New tests
806 * AllTests.cs: Added CryptoConfigTest in suite
808 2002-10-05 Andrew Birkett <andy@nobugs.org>
810 * RC2Test.cs: New test. Only three cases are enabled - the other
811 five work fine under mono, but fail under MS corlib, so I've
814 * AllTests.cs: Added RC2Test.
816 2002-09-23 Andrew Birkett <andy@nobugs.org>
818 * RijndaelManagedTest.cs: Fixed initialization order problem
819 to match MS behaviour.
821 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
823 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
824 * AllTests.cs: added new test.