1 2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
3 * CryptoStreamTest.cs: Convert to newer nunit syntax
5 2008-09-17 Sebastien Pouliot <sebastien@ximian.com>
7 * CryptoConfigTest.cs: Add test cases for HMAC URI.
9 2008-07-13 Nestor Salceda <nestor.salceda@gmail.com>
11 * RSAPKCS1KeyExchangeFormatterTest.cs: Add test case where you are
12 passing null parameters to SetKey method and constructor with the key as
13 parameter. Fixes the bug #408738.
15 2008-04-21 Sebastien Pouliot <sebastien@ximian.com>
17 * HMACSHA1Test.cs: Add test case where data reside inside a byte
18 array. Patch by Kazuki Oikawa.
20 2008-04-17 Sebastien Pouliot <sebastien@ximian.com>
22 * DSATest.cs: Add valid test cases with invalid xml. Update to
24 * HashAlgorithmTest.cs: Fix compiler warnings.
25 * RSATest.cs: Add valid test cases with invalid xml. Update to
27 * SHA256Test.cs, SHA384Test.cs, SHA512Test.cs: Flush
29 2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
31 * PaddingModeTest.cs: Add test case for #366623 ANSI padding bug.
33 2008-02-21 Sebastien Pouliot <sebastien@ximian.com>
35 * Rfc2898DeriveBytesTest.cs: Add test cases for consecutive calls to
36 GetBytes and compare the result to a single, larger, call. Converted
37 all exitsing tests to NUnit 2.2.
39 2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
41 * RC2CryptoServiceProviderTest.cs: Fix Create[De|En]cryptor_KeyNull
42 test case not to fail about 1 out of 256 times under the 2.0 profile.
43 * TripleDESCryptoServiceProviderTest.cs: Fix Create[De|En]cryptor_KeyNull
44 test case not to fail about 1 out of 256 times under the 2.0 profile.
46 2007-11-20 Sebastien Pouliot <sebastien@ximian.com>
48 * DESCryptoServiceProviderTest.cs: Fix CreateDecryptor_KeyNull test
49 case not to fail about 1 out of 256 times under the 2.0 profile.
51 2007-10-23 Sebastien Pouliot <sebastien@ximian.com>
53 * DESCryptoServiceProviderTest.cs: Fix CreateEncryptor_KeyNull test
54 case not to fail about 1 out of 256 times under the 2.0 profile.
56 2007-05-16 Sebastien Pouliot <sebastien@ximian.com>
58 * CryptoStreamTest.cs: Add test cases for WriteByte.
60 2007-05-08 Randolph Chung <tausq@debian.org>
62 * DSACryptoServiceProviderTest.cs: Remove "NotWorking" annotation
63 for the blob tests that should now pass.
65 2007-05-08 Sebastien Pouliot <sebastien@ximian.com>
67 * DSATest.cs: Add test case where we import a key that has a null Y
68 (public part) but where X (private part) is available - and usable
71 2007-03-22 Sebastien Pouliot <sebastien@ximian.com>
73 * CryptoConfigTest.cs: Fix upper/lower/mixed cases tests as they work
75 * CryptoStreamTest.cs: Fixed some test cases to work properly on MS
77 * DSACryptoServiceProviderTest.cs: Normalize line endings.
78 * PasswordDeriveBytesTest.cs: Fix test case that used Reset (as the
79 method was fixed to reset the state in fx 2.0).
80 * Rfc2898DeriveBytesTest.cs: Add test case to trigger an endian bug.
81 * RSACryptoServiceProviderTest.cs: Normalize line endings.
82 * SymmetricAlgorithmTransformTest.cs: Change/split test cases so that
83 they work properly under both MS 1.1 and 2.0. In some cases tests are
84 marked as NotWorking because Mono implements the, more consistent, 2.0
85 behavior for all transforms.
87 2007-03-15 Roei Erez <roeie@mainsoft.com>
89 * Adding some TARGET_JVM tags.
91 2007-03-05 Sebastien Pouliot <sebastien@ximian.com>
93 * SymmetricAlgorithmTransformTest.cs: Add test cases for #81008 by
94 looking at the encrypted/decrypted block length when TransformBlock is
95 called with different MoO and paddings.
97 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
99 * HashAlgorithmTest.cs: Convert to NUnit 2.2 format.
100 * HMACMD5Test.cs: Convert to NUnit 2.2 format.
101 * HMACRIPEMD160Test.cs: Convert to NUnit 2.2 format.
102 * HMACSHA1Test.cs: Convert to NUnit 2.2 format.
103 * HMACSHA256Test.cs: Convert to NUnit 2.2 format.
104 * HMACSHA384Test.cs: Convert to NUnit 2.2 format. Add test cases from
105 RFC4231 using the correct block size (128) and the "legacy" size (64).
106 * HMACSHA512Test.cs: Convert to NUnit 2.2 format. . Add test cases from
107 RFC4231 using the correct block size (128) and the "legacy" size (64).
108 * KeyedHashAlgorithmTest.cs: Convert to NUnit 2.2 format.
109 * SHA1CryptoServiceProviderTest.cs: Convert to NUnit 2.2 format.
110 * SHA1Test.cs: Convert to NUnit 2.2 format.
111 * SHA256ManagedTest.cs: Convert to NUnit 2.2 format.
112 * SHA256Test.cs: Convert to NUnit 2.2 format.
113 * SHA384ManagedTest.cs: Convert to NUnit 2.2 format.
114 * SHA384Test.cs: Convert to NUnit 2.2 format.
115 * SHA512ManagedTest.cs: Convert to NUnit 2.2 format.
116 * SHA512Test.cs: Convert to NUnit 2.2 format.
118 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
120 * CryptoConfigTest.cs: Adjust line-endings.
121 * CryptoStreamTest.cs: Adjust line-endings.
122 * DESTest.cs: Adjust line-endings.
123 * DSACryptoServiceProviderTest.cs: Adjust line-endings.
124 * DSATest.cs: Adjust line-endings.
125 * RSACryptoServiceProviderTest.cs: Adjust line-endings.
127 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
129 * DESCryptoServiceProviderTest.cs: Remove test cases for bug #80439
130 as they are more general than DES and the default padding.
131 * SymmetricAlgorithmTransformTest.cs: New. Extensive test cases for
132 bug #80439, all symmtric ciphers (all block size), all mode of
133 operations and all supported padding modes.
135 2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
137 * DESCryptoServiceProviderTest.cs: Update and add new test cases for
140 2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
142 * DESCryptoServiceProviderTest.cs: Add tests for bug #80439 where
143 inputCount is reduced to fit into the output buffer (for any mode).
145 2006-11-24 Sebastien Pouliot <sebastien@ximian.com>
147 * CryptoConfigTest.cs: Added test case for X509Chain.
149 2006-11-16 Sebastien Pouliot <sebastien@ximian.com>
151 * PasswordDeriveBytesTest.cs: Added test case for bug #79499
153 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
155 * CryptoConfigTest.cs: Added test cases to ensure lower/mixed-case of
156 algorithm names are supported by CreateFromName and MapNameToOID (fix
157 bug #79641). Updated some OID that were changed (well nulled) in the
158 final 2.0 release of MS framework.
160 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
162 * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
163 PKCS1 and OAEP padding - both resulting in a CryptographicException.
164 * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
165 * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
167 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
169 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
170 ensure a CryptographicException (not a NRE) when decrypting without a
173 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
175 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
176 SetHashAlgorithm isn't called and the hash algorithm name is derived
177 from the hash instance. From bug #78744 by Diego Mesa Tabares.
179 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
181 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
182 used in TransformBlock (e.g. bug #78647). Updated existing test case
183 to work under 2.0 final.
184 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
186 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
188 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
190 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
192 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
193 the HashAlgorithm tests.
194 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
195 the HashAlgorithm tests.
196 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
197 (required for new, inherited, test cases). Fix ToString to match
198 KeyedHashAlgorithm (and not an inherited class).
200 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
202 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
203 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
204 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
206 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
208 * RijndaelTest.cs: Add test cases for cycling key sizes and block
210 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
211 BlockSize. Keeping the same value *doesn't* change the current IV
212 (while doing the same on the KeySize *does* change the key).
214 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
216 * DSATest.cs: Added test case where J isn't imported. In this case we
217 don't export (our internally calculated) J and it's also not part of
220 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
222 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
223 implementation (not algorithm specific but required to match MS
225 * RijndaelManagedTest.cs: Added unit tests specific to this
226 implementation (not algorithm specific but required to match MS
228 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
229 implementation (not algorithm specific but required to match MS
231 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
232 this implementation (not algorithm specific but required to match MS
235 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
237 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
238 in some of the existing tests (under 2.0).
240 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
242 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
243 directly in UseMachineKeyStore (not just wrapped inside a
244 CryptographicException).
245 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
246 directly in UseMachineKeyStore (not just wrapped inside a
247 CryptographicException).
249 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
251 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
252 EncodeOID for 2.0. Comment test for RSA OID (2.0).
253 * DESTest.cs: Check that null keys throws CryptographicException in
254 IsWeakKey and IsSemiWeakKey for 2.0.
255 * TripleDESTest.cs: Check that null keys throws CryptographicException
256 in IsWeakKey for 2.0.
257 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
258 a CryptographicException in 2.0.
260 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
262 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
263 is set to 0 before starting encryption.
265 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
267 * CryptoStreamTest.cs: Added test case when when no padding is used.
269 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
271 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
272 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
274 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
276 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
277 for NET_2_0 now that we can inherit from DSA outside corlib.
279 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
281 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
282 ("NotWorking")] to reduce nunit logs.
284 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
286 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
287 tests that were converted to [Category]
289 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
291 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
292 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
293 HMACSHA512) to the tests.
294 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
295 ensure that Mono didn't create the key before starting verification.
296 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
297 constructor tests and for VerifyHash with a null OID.
298 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
299 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
300 (working only in Mono) can't be used because 2.0 use new OID for those
301 hash algorithms. Note that this still only works with Mono in 2.0!
303 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
305 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
306 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
307 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
308 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
309 (so they are now executed on Mono).
311 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
313 * TripleDESTest.cs: Testing weak key with null throws a NRE.
315 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
317 * DESTest.cs: Updated weak key and semi-weak key tests with more
319 * TripleDESTest.cs: Added tests when including a DES weak key into
322 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
324 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
325 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
328 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
330 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
331 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
333 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
334 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
337 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
339 * ProtectedDataTest.cs: Moved in System.Security.dll
340 * ProtectedMemoryTest.cs: Moved in System.Security.dll
342 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
344 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
345 RSACryptoServiceProvider doesn't support private keys without CRT
346 parameters available - except to import the keys.
348 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
350 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
351 bug that will be fixed in 2.0 beta 2.
353 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
355 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
356 fail if the key container directory wasn't yet created (root).
357 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
358 for all constructors, tests for properties and a test for bug 69036.
359 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
360 fail if the key container directory wasn't yet created (root).
362 2004-08-31 Nick Drochak <ndrochak@gol.com>
364 * DSACryptoServiceProviderTest.cs:
365 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
367 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
369 * DESTest.cs: Added a new test case to check default values.
370 * HMACSHA1.cs: Fixed bad test (and renamed it).
371 * RC2Test.cs: Added a new test case to check default values.
372 * RijndaelTest.cs: Added a new test case to check default values.
373 Convert tests from NUnit 1 to 2.2.
374 * TripleDESTest.cs: Added a new test case to check default values.
375 Convert tests to NUnit 2.2.
377 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
379 * AllTests2.cs: Updated to NUnit 2.2 Assert.
380 * CipherModeTest.cs: New. Tests supported CipherMode for all
381 SymmetricAlgorithm included in the framework (enum contains two more
382 modes that aren't implemented in any Fx version).
383 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
384 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
386 * CspProviderFlagsTest.cs: New. Test the values of the enum.
387 * DSACryptoServiceProviderTest.cs: Added new tests for new public
388 properties and methods added in Fx 2.0. Duplicated test to import a
389 key pair into a disposed instance (works in Fx 2.0). Removed all
390 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
391 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
392 different reported exception in Fx 2.0.
393 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
394 different reported exception in Fx 2.0.
395 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
396 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
397 NET_2_0 profiles (as HMACSHA1 changed it's base class).
398 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
399 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
400 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
402 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
403 MS class has been fixed.
404 * PaddingModeTest.cs: Added new tests for the two new padding mode
405 introduced in Fx 2.0. Converted to NUnit 2.2.
406 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
407 StrangeBehaviour test as it is fixed in Fx 2.0.
408 * RC2Test.cs: Changed exception from CryptographicException to
409 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
410 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
411 * RSACryptoServiceProviderTest.cs: Added new tests for new public
412 properties and methods added in Fx 2.0. Duplicated test to import a
413 key pair into a disposed instance (works in Fx 2.0). Duplicated test
414 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
415 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
416 exchange with no key (to match Fx 2.0).
417 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
418 exchange with no key (to match Fx 2.0).
419 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
420 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
421 the MS class/runtime has been fixed.
422 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
423 SetKey method, now throw an ArgumentNullException in Fx 2.0.
424 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
425 SetKey method, now throw an ArgumentNullException in Fx 2.0.
426 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
427 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
428 CryptographicException.
429 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
430 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
432 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
434 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
435 an encryptor doesn't reduce the number of block on Write while the
436 second shows that a decryptor does reduce the number of blocks on
439 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
441 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
442 cases for the previously undocumented .ctor(SecurityElement) - which
443 is now, backwardly, documented in VS.NET 2005.
445 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
447 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
449 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
451 * CryptoStreamTest.cs: Added new unit tests for overflows.
452 * FromBase64Transform.cs: Added new unit tests for undocumented
453 exceptions (null, overflows...).
454 * ToBase64TransformTest.cs: Added new unit tests for negatives and
457 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
459 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
460 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
461 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
462 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
463 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
464 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
465 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
466 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
467 public (required for new nunit).
469 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
471 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
472 constructor behave with null seeds or if they modify the seed.
474 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
476 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
477 (was badly tested) and simplified test to reduce key pair generations.
478 * PasswordDerivceBytesTest.cs: Added new tests to complete
480 * RSACryptoServiceProviderTest.cs: Added new tests to complete
482 * ToBase64TransformTest.cs: Added a (legal) test where the final
483 transform receive data smaller than it's input block (padding).
485 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
487 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
488 exceptions to test exception handling (and get more coverage).
489 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
491 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
493 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
495 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
497 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
499 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
501 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
503 * RSATest.cs: Updated unit tests for importing XML key pairs.
504 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
505 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
506 tests. Converted to NUnit2.
507 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
508 coverage (like exception testing).
509 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
511 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
513 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
515 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
516 * FromBase64Transform.cs: New unit tests for better coverage.
517 * HashAlgorithmTest.cs: New unit tests for better coverage.
518 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
520 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
522 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
523 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
525 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
526 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
527 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
528 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
529 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
530 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
532 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
534 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
535 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
537 * DESTest.cs: Added test vectors from FIPS 81.
539 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
541 * DESTest.cs: New. Unit tests for DES including checks for weak and
542 semi-weak keys (with and without parity applied on keys). Completes
543 coverage for DES class.
545 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
547 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
548 it works on big endian machines.
550 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
552 * FromBase64Transform.cs: Two new unit tests showing that the
553 transform doesn't care if it's data is invalid base64. Convert class
556 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
558 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
559 for properties, Dispose, Reuse and ignored characters.
561 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
563 * DSATest.cs : Added ToXmlString test that checks if input without
564 Seed and PgenCounter elements pass or not.
566 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
568 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
569 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
571 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
573 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
575 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
578 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
580 * CryptoStreamTest.cs: Added many more tests for every problem found
581 with CryptoStream using code samples from the internet.
583 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
585 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
586 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
587 symmetric algorithms.
588 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
589 both 1.0 and 1.1 framework.
591 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
593 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
594 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
596 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
598 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
601 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
603 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
604 and test vectors from RFC3211.
606 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
608 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
610 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
611 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
612 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
614 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
616 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
617 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
618 RIPEMD160Managed implementation.
620 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
622 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
623 Carlos Guzmán Álvarez and some small tests for empty stream with
624 different PaddingMode (as found by Lluis Sanchez Gual).
626 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
628 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
631 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
633 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
634 test case from bugzilla #46143 from Joerg Rosenkranz.
635 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
636 different from .NET 1.0 and 1.1.
638 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
640 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
641 and better test coverage (based on Zoltan's logs).
642 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
643 test coverage (import incomplete public keys).
644 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
645 and better test coverage (based on Zoltan's logs).
646 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
647 test coverage (import incomplete public keys).
649 2003-06-23 Nick Drochak <ndrochak@gol.com>
651 * MACTripleDESTest.cs: Adjust for .NET 1.1.
653 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
655 * AllTests2.cs: Converted tests to NUnit2 format.
656 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
657 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
658 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
659 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
660 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
662 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
664 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
665 (as it's result isn't valid on both framework 1.0 and 1.1).
666 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
667 cloned the previous error into many more tests. Hopefully fixed.
669 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
671 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
672 which doesn't throw the same exception under 1.1. Also converted
673 the tests to NUnit2 format.
675 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
677 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
678 unit test (will work on Mono but fails with MS implementation).
679 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
680 both Mono and MS (under Windows XP) generated OAEP results.
681 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
683 2003-04-17 Nick Drochak <ndrochak@gol.com>
685 * DSATest.cs: Use nunit version 2 style to test throw.
686 * HMACSHA1Test.cs: Eliminate compiler warning.
688 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
690 * CryptoConfigTest.cs: Added new tests for algorithms
691 documented in book ".NET Framework Security".
693 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
695 * PasswordDeriveBytesTest.cs: Added some new tests to complete
697 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
698 invalid hash algorithm.
700 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
702 * HMACSHA1Test.cs: Added tests for constructors.
703 * MACTripleDESTest.cs: Added tests for constructors.
705 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
707 * HashAlgorithmTest.cs: Added new test for null streams.
708 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
710 2002-12-21 Nick Drochak <ndrochak@gol.com>
712 * all: make tests build and run under nunit2
714 2002-12-21 Nick Drochak <ndrochak@gol.com>
716 * AllTests2.cs: Helper file for unit tests
718 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
720 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
721 as it doesn't seems to work on my system and the exception behavior
722 isn't logical (only MD5 not SHA1, ...).
724 2002-11-18 Nick Drochak <ndrochak@gol.com>
726 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
727 verifying a bad signature. Test for that.
729 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
731 * AllTests.cs: Added a common RSA keypair for tests and all RSA
732 suites for new tests.
733 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
734 import/export and signature (no encryption yet).
735 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
736 pre-generated vectors from Mono/Windows (cannot yet compare
737 with CryptoAPI/Windows as OAEP isn't available on my system).
738 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
739 is compatible with the Deformatter.
740 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
741 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
742 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
743 is compatible with the Deformatter.
744 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
745 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
746 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
747 is compatible with the Deformatter.
749 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
751 * AllTests.cs: Added suites for DSASignatureDeformatter,
752 DSASignatureFormatter.
753 * CryptoConfigTest.cs: Tests new URLs. This test will fail
754 if System.Security.dll isn't present (or not yet compiled).
755 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
756 because it's too slow), Import/Export, Signature and Verification.
757 * DSASignatureDeformatterTest.cs: New. Test signature verification.
758 * DSASignatureFormatterTest.cs: New. Test signature creation.
759 * DSATest.cs: Comment DSA-derived test class as DSA constructor
760 is internal. Reworked the test suite.
761 * SignatureDescriptionTest.cs: Added tests for
762 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
764 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
766 * AllTests.cs: Added suites for SignatureDescription and
767 activated suites for SHA384Managed and SHA512Managed.
768 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
769 know the context in which the class is used).
771 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
773 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
774 (last two partly commented until implementation is commited).
775 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
776 * SHA256ManagedTest.cs: New. Implementation tests (inherits
778 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
779 * SHA384ManagedTest.cs: New. Implementation tests (inherits
781 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
782 * SHA512ManagedTest.cs: New. Implementation tests (inherits
785 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
787 * AllTests.cs: Added suite for PasswordDeriveBytes
788 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
789 only works for short runs (keys < HashSize) not long runs
791 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
793 * AllTests.cs: Added suite for Rjindael
794 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
796 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
798 * AllTests.cs: Renabled most tests after commenting all code causing a
799 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
800 until commented code is replaced.
801 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
802 algorithm implementation, all cipher modes, all padding modes, all key
803 sizes, all block sizes, feedback...
804 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
805 tests to check for various exceptions
807 2002-10-16 Nick Drochak <ndrochak@gol.com>
809 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
810 algorithms that aren't in the build yet.
812 2002-10-16 Nick Drochak <ndrochak@gol.com>
814 * AllTests.cs: Disable tests that use components were are excluding
818 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
820 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
821 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
822 result isn't the same as MS implementation !?! is MS using this class ?
824 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
826 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
828 * HashAlgorithmTest.cs: New. Test for Create and Clear
829 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
830 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
832 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
834 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
835 SHA1CryptoServiceProvider
836 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
837 random quality tests (FIPS140-2)
838 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
839 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
842 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
844 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
845 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
846 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
848 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
850 * CryptoConfigTest.cs: New tests
851 * AllTests.cs: Added CryptoConfigTest in suite
853 2002-10-05 Andrew Birkett <andy@nobugs.org>
855 * RC2Test.cs: New test. Only three cases are enabled - the other
856 five work fine under mono, but fail under MS corlib, so I've
859 * AllTests.cs: Added RC2Test.
861 2002-09-23 Andrew Birkett <andy@nobugs.org>
863 * RijndaelManagedTest.cs: Fixed initialization order problem
864 to match MS behaviour.
866 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
868 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
869 * AllTests.cs: added new test.