1 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
3 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
4 an encryptor doesn't reduce the number of block on Write while the
5 second shows that a decryptor does reduce the number of blocks on
8 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
10 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
11 cases for the previously undocumented .ctor(SecurityElement) - which
12 is now, backwardly, documented in VS.NET 2005.
14 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
16 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
18 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
20 * CryptoStreamTest.cs: Added new unit tests for overflows.
21 * FromBase64Transform.cs: Added new unit tests for undocumented
22 exceptions (null, overflows...).
23 * ToBase64TransformTest.cs: Added new unit tests for negatives and
26 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
28 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
29 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
30 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
31 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
32 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
33 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
34 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
35 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
36 public (required for new nunit).
38 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
40 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
41 constructor behave with null seeds or if they modify the seed.
43 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
45 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
46 (was badly tested) and simplified test to reduce key pair generations.
47 * PasswordDerivceBytesTest.cs: Added new tests to complete
49 * RSACryptoServiceProviderTest.cs: Added new tests to complete
51 * ToBase64TransformTest.cs: Added a (legal) test where the final
52 transform receive data smaller than it's input block (padding).
54 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
56 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
57 exceptions to test exception handling (and get more coverage).
58 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
60 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
62 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
64 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
66 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
68 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
70 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
72 * RSATest.cs: Updated unit tests for importing XML key pairs.
73 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
74 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
75 tests. Converted to NUnit2.
76 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
77 coverage (like exception testing).
78 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
80 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
82 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
84 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
85 * FromBase64Transform.cs: New unit tests for better coverage.
86 * HashAlgorithmTest.cs: New unit tests for better coverage.
87 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
89 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
91 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
92 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
94 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
95 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
96 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
97 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
98 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
99 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
101 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
103 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
104 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
106 * DESTest.cs: Added test vectors from FIPS 81.
108 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
110 * DESTest.cs: New. Unit tests for DES including checks for weak and
111 semi-weak keys (with and without parity applied on keys). Completes
112 coverage for DES class.
114 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
116 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
117 it works on big endian machines.
119 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
121 * FromBase64Transform.cs: Two new unit tests showing that the
122 transform doesn't care if it's data is invalid base64. Convert class
125 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
127 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
128 for properties, Dispose, Reuse and ignored characters.
130 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
132 * DSATest.cs : Added ToXmlString test that checks if input without
133 Seed and PgenCounter elements pass or not.
135 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
137 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
138 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
140 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
142 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
144 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
147 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
149 * CryptoStreamTest.cs: Added many more tests for every problem found
150 with CryptoStream using code samples from the internet.
152 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
154 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
155 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
156 symmetric algorithms.
157 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
158 both 1.0 and 1.1 framework.
160 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
162 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
163 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
165 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
167 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
170 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
172 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
173 and test vectors from RFC3211.
175 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
177 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
179 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
180 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
181 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
183 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
185 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
186 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
187 RIPEMD160Managed implementation.
189 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
191 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
192 Carlos Guzmán Álvarez and some small tests for empty stream with
193 different PaddingMode (as found by Lluis Sanchez Gual).
195 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
197 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
200 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
202 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
203 test case from bugzilla #46143 from Joerg Rosenkranz.
204 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
205 different from .NET 1.0 and 1.1.
207 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
209 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
210 and better test coverage (based on Zoltan's logs).
211 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
212 test coverage (import incomplete public keys).
213 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
214 and better test coverage (based on Zoltan's logs).
215 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
216 test coverage (import incomplete public keys).
218 2003-06-23 Nick Drochak <ndrochak@gol.com>
220 * MACTripleDESTest.cs: Adjust for .NET 1.1.
222 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
224 * AllTests2.cs: Converted tests to NUnit2 format.
225 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
226 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
227 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
228 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
229 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
231 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
233 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
234 (as it's result isn't valid on both framework 1.0 and 1.1).
235 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
236 cloned the previous error into many more tests. Hopefully fixed.
238 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
240 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
241 which doesn't throw the same exception under 1.1. Also converted
242 the tests to NUnit2 format.
244 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
246 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
247 unit test (will work on Mono but fails with MS implementation).
248 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
249 both Mono and MS (under Windows XP) generated OAEP results.
250 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
252 2003-04-17 Nick Drochak <ndrochak@gol.com>
254 * DSATest.cs: Use nunit version 2 style to test throw.
255 * HMACSHA1Test.cs: Eliminate compiler warning.
257 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
259 * CryptoConfigTest.cs: Added new tests for algorithms
260 documented in book ".NET Framework Security".
262 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
264 * PasswordDeriveBytesTest.cs: Added some new tests to complete
266 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
267 invalid hash algorithm.
269 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
271 * HMACSHA1Test.cs: Added tests for constructors.
272 * MACTripleDESTest.cs: Added tests for constructors.
274 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
276 * HashAlgorithmTest.cs: Added new test for null streams.
277 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
279 2002-12-21 Nick Drochak <ndrochak@gol.com>
281 * all: make tests build and run under nunit2
283 2002-12-21 Nick Drochak <ndrochak@gol.com>
285 * AllTests2.cs: Helper file for unit tests
287 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
289 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
290 as it doesn't seems to work on my system and the exception behavior
291 isn't logical (only MD5 not SHA1, ...).
293 2002-11-18 Nick Drochak <ndrochak@gol.com>
295 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
296 verifying a bad signature. Test for that.
298 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
300 * AllTests.cs: Added a common RSA keypair for tests and all RSA
301 suites for new tests.
302 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
303 import/export and signature (no encryption yet).
304 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
305 pre-generated vectors from Mono/Windows (cannot yet compare
306 with CryptoAPI/Windows as OAEP isn't available on my system).
307 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
308 is compatible with the Deformatter.
309 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
310 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
311 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
312 is compatible with the Deformatter.
313 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
314 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
315 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
316 is compatible with the Deformatter.
318 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
320 * AllTests.cs: Added suites for DSASignatureDeformatter,
321 DSASignatureFormatter.
322 * CryptoConfigTest.cs: Tests new URLs. This test will fail
323 if System.Security.dll isn't present (or not yet compiled).
324 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
325 because it's too slow), Import/Export, Signature and Verification.
326 * DSASignatureDeformatterTest.cs: New. Test signature verification.
327 * DSASignatureFormatterTest.cs: New. Test signature creation.
328 * DSATest.cs: Comment DSA-derived test class as DSA constructor
329 is internal. Reworked the test suite.
330 * SignatureDescriptionTest.cs: Added tests for
331 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
333 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
335 * AllTests.cs: Added suites for SignatureDescription and
336 activated suites for SHA384Managed and SHA512Managed.
337 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
338 know the context in which the class is used).
340 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
342 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
343 (last two partly commented until implementation is commited).
344 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
345 * SHA256ManagedTest.cs: New. Implementation tests (inherits
347 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
348 * SHA384ManagedTest.cs: New. Implementation tests (inherits
350 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
351 * SHA512ManagedTest.cs: New. Implementation tests (inherits
354 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
356 * AllTests.cs: Added suite for PasswordDeriveBytes
357 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
358 only works for short runs (keys < HashSize) not long runs
360 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
362 * AllTests.cs: Added suite for Rjindael
363 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
365 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
367 * AllTests.cs: Renabled most tests after commenting all code causing a
368 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
369 until commented code is replaced.
370 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
371 algorithm implementation, all cipher modes, all padding modes, all key
372 sizes, all block sizes, feedback...
373 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
374 tests to check for various exceptions
376 2002-10-16 Nick Drochak <ndrochak@gol.com>
378 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
379 algorithms that aren't in the build yet.
381 2002-10-16 Nick Drochak <ndrochak@gol.com>
383 * AllTests.cs: Disable tests that use components were are excluding
387 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
389 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
390 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
391 result isn't the same as MS implementation !?! is MS using this class ?
393 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
395 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
397 * HashAlgorithmTest.cs: New. Test for Create and Clear
398 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
399 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
401 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
403 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
404 SHA1CryptoServiceProvider
405 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
406 random quality tests (FIPS140-2)
407 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
408 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
411 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
413 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
414 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
415 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
417 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
419 * CryptoConfigTest.cs: New tests
420 * AllTests.cs: Added CryptoConfigTest in suite
422 2002-10-05 Andrew Birkett <andy@nobugs.org>
424 * RC2Test.cs: New test. Only three cases are enabled - the other
425 five work fine under mono, but fail under MS corlib, so I've
428 * AllTests.cs: Added RC2Test.
430 2002-09-23 Andrew Birkett <andy@nobugs.org>
432 * RijndaelManagedTest.cs: Fixed initialization order problem
433 to match MS behaviour.
435 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
437 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
438 * AllTests.cs: added new test.