6641a03ee86750fefe2f1cf75b95509a09fec212
[mono.git] / mcs / class / Mono.Security / ChangeLog
1 2004-02-10 Carlos Guzmán Álvarez  <carlosga@telefonica.net>
2
3     * Mono.Security.Protocol.Tls/SslServerStream.cs:
4
5         - Ssl Server class without implementation ( methods signatures only )
6         That matches the described in the .NET 1.2 documentation.
7
8 2004-02-09  Sebastien Pouliot  <sebastien@ximian.com>
9
10         * Mono.Security_test.dll.sources Added Mono.Math BigInteger unit test
11         to the build (as they cannot be executed with corlib).
12
13 2004-02-09 Carlos Guzmán Álvarez  <carlosga@telefonica.net>
14
15     * Changed the license header to all the sources files
16     to remove accents.
17
18     * Mono.Security.Protocol.Tls/TlsSessionState.cs:
19
20         - Removed old file.
21
22         * Mono.Security.Protocol.Tls/SslClientStream.cs:
23
24                 - Try to improve record reading.
25
26         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
27
28                 - Send always the first certificate.
29
30         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
31
32                 - Added changes for correct verification of the signed data sent 
33                 by the server.
34
35         * Mono.Security.Cryptography/PKCS1.cs:
36
37                 - Added change to Encode_v15 method for allow correct
38                 encoding of hash algorithms that doesn't have an OID
39                 like the MD5SHA1 hash used in SSL/TLS protocols.
40
41         * Added files from mono:: project that are going to be needed
42         for client authentication:
43
44                 Mono.Math/*
45
46                 Mono.Math.Prime/*
47
48                 Mono.Math.Prime.Generator/*
49
50                 Mono.Security.Cryptography/RSAManaged.cs
51
52         * Mono.Security.Protocol.Tls/RSASslSignatureFormatter.cs:
53
54                 - Create RSA as an RSAManaged instance.
55                 
56         * Mono.Security.Protocol.Tls/RSASslSignatureFormatter.cs:
57         * Mono.Security.Protocol.Tls/RSASslSignatureDeformatter.cs:
58                 
59                 - Changed key field to be of RSA type.
60
61         * Mono.Security.Protocol.Tls/RSASslSignatureFormatter.cs:
62         * Mono.Security.Protocol.Tls/RSASslSignatureDeformatter.cs:
63
64                 - Added new classes for implement in the future RSA-SSL signatures.
65
66         * Changed #region names in all source files.
67
68         * Mono.Security.Protocol.Handshake.Client/TlsServerCertificate.cs:
69                 
70                 - Fixed message (but not working yet - we need RSA signing 
71                 capabilitites with MD5SHA1 hash).       
72
73         * Mono.Security.Protocol.Handshake.Client/TlsServerCertificate.cs:
74         
75                 - Retrict certificate validation to the first validation.
76                 ( real validation needs to be made using a chain )
77                 
78                 - Improved domain validation by making a IP checking between
79                 the target host IP and the certificate domain IP.
80
81                 - Fixed error list handling on certificate validation.  
82
83         * Mono.Security.Protocol.Tls/SslClientStream.cs:
84
85                 - Added new exceptions.
86
87
88 2004-02-06  Sebastien Pouliot  <sebastien@ximian.com>
89
90         * Mono.Security.dll.sources: Added KeyPairPersistence and it's 
91         dependencies in Mono.Xml (MiniParser and SecurityParser). Also 
92         added CryptoTools and SymmetricTransforms in Mono.Sec.Crypt.
93         * Mono.Security_test.dll.sources: Added unit tests for 
94         KeyPairPersistence.
95
96 2003-12-07  Sebastien Pouliot  <spouliot@videotron.ca>
97
98         * Mono.Security.dll.sources: Added PKCS#12 support for X.509 certificates.
99         * Mono.Security_test.dll.sources: Added unit tests for PKCS#12.
100
101 2003-12-01  Sebastien Pouliot  <spouliot@videotron.ca>
102
103         * Mono.Security.dll.sources: Added Mono.Security.Protocol.Ntlm namespace
104         * Mono.Security_test.dll.sources: Added Mono.Security.Protocol.Ntlm unit
105         tests.
106
107 2003-11-27  Sebastien Pouliot  <spouliot@videotron.ca>
108
109         * Mono.Security.dll.sources: Added MD4, MD4Managed and PKCS8 to build.
110         * Mono.Security_test.dll.sources: Added unit tests for MD4, MD4Managed
111         and PKCS8.
112         
113 2003-11-22 Carlos Guzman Alvarez <carlosga@telefonica.net>
114
115         * Changed line endings to unix format in SSL/TLS sources.
116         
117         * Mono.Security.CryptographyoHMD5SHA1CryptoServiceProvider.cs:
118         
119             - Removed file (now it's called MD5SHA1.cs)
120         
121         * Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:
122         
123             - Removed comments from AES ciphersuites.
124
125
126 2003-11-17 Carlos Guzmán Álvarez  <carlosga@telefonica.net>
127
128         * Mono.Security.Protocol.Tls/SslClientStream.cs:
129
130                 Removed ReadByte method, use innerStream.ReadByte() method instead.
131
132 2003-11-13 Carlos Guzmán Álvarez  <carlosga@telefonica.net>
133
134         * Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.
135
136                 The next files are no more needed:
137
138                         - TlsSession.cs
139
140                         - TlsNetworkStream.cs
141
142                         - TlsSocket.cs
143
144                         - TlsSessionState.cs
145
146                 The next files are renamed:
147
148                         - TlsSessionSettings.cs -> TlsClientSettings.cs
149
150                         - TlsSessionContext.cs -> TlsContext.cs
151
152                 The next files are new:
153
154                         - SslClientStream.cs ( the name is non definitive yet )
155
156                 The next files where changed to reflect the new canges:
157
158                         - TlsHandshakeMessage.cs
159
160                         - TlsClientCertificate.cs
161
162                         - TlsClientCertificateVerify.cs
163
164                         - TlsClientFinished.cs
165
166                         - TlsClientHello.cs
167
168                         - TlsClientKeyExchange.cs
169
170                         - TlsServerCertificate.cs
171
172                         - TlsServerCertificateRequest.cs
173
174                         - TlsServerFinished.cs
175
176                         - TlsServerHello.cs
177
178                         - TlsServerHelloDone.cs
179
180                         - TlsServerKeyExchange.cs
181
182                         - TlsAlert.cs
183
184                         - TlsCloseNotifyAlert.cs
185
186                 
187 2003-11-12 Carlos Guzmán Álvarez  <carlosga@telefonica.net>
188
189         * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
190         
191                 - Changes for give full error message only in debug mode ( Thanks to Sebastién Pouliot. )
192                 
193         * Mono.Security.Protocol.Tls/TlsProtocol.cs:
194         
195                 - Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )
196         
197         * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
198         
199                 - Renamed to MD5SHA1.cs ( Thanks to Sebastién Pouliot. )
200                 
201         * Mono.Security.Cryptography/TlsCompressionMethod.cs:
202         
203                 - Renamed to SecurityCompressionType.
204                 
205         * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
206         * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
207         * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
208         
209                 - New enumerations that matches .NET 1.2 definitions with some minor differences.
210         
211         * Mono.Security.Protocol.Tls/CipherSuite.cs:
212         * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
213         * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
214         * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
215         
216                 - Added changes for make use of new enumerations.
217         
218         * Mono.Security.Protocol.Tls/TlsClientStream.cs:
219         
220                 - Added new informative properties that matches .NET 1.2 SslClientStream
221                 ( Not all the properties are implemented yet ).
222
223
224 2003-11-10 Carlos Guzmán Álvarez  <carlosga@telefonica.net>
225
226         * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
227
228                 - Fixed invalid alert message.
229
230         * Mono.Security.Protocol.Tls/CipherSuite.cs:
231         * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
232         * Mono.Security.Cryptography/HMAC.cs:
233         * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
234         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
235
236                 - Changed ( Thanks to Sebastién Pouliot for his feedback )
237
238                         SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
239                         MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();
240
241                         to
242
243                         HashAlgorithm sha = SHA1.Create();
244                         HashAlgorithm md5 = MD5.Create(); 
245
246
247 2003-11-04 Carlos Guzmán Álvarez <carlosga@telefonica.net>
248
249         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
250
251                 - Commented server certificate signature verification.
252
253         * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
254
255                 - Renamed ServerCertificates property to Certificates.
256
257
258 2003-11-04 Carlos Guzmán Álvarez (carlosga@telefonica.net)
259
260         * Updated SSL/TLS implementation files with unix like line endings.
261
262 2003-11-04 Carlos Guzmán Álvarez <carlosga@telefonica.net>
263
264         * Mono.Security.Protocol.Tls/CipherSuite.cs:
265
266                 - Added custom padding for record encryption.
267
268
269 2003-11-03 Carlos Guzmán Álvarez <carlosga@telefonica.net>
270
271         * Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
272         
273                 - Removed file.
274
275         * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
276         
277                 - New class for handshake hashes calculation on SSL3 protocol.
278
279         * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
280         
281                 - Fixed mac keys clearing for SSL3 protocol.
282
283         * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
284         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
285         
286                 - Added changes for make use of new TlsSslHandshakeHash class.
287         
288         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
289         
290                 - Added initial implementation for SSL3 protocol.
291         
292         * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
293         
294                 - New class for md5-sha hash calculation.
295                                                         
296         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
297         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
298         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
299         * Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
300         
301                 - Make use of new MD5SHA1CryptoServiceProvider class.
302                 
303         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
304         
305                 - Added initial implementation (not finished).
306                         
307         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
308         
309                 - Minor change to message processing.
310
311                 - Changed verify method name to verifySignature.
312                         
313         * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
314         
315                 - Changed handshakeHashes member to be an TlsStream.
316
317 2003-10-28 Carlos Guzmán Álvarez <carlosga@telefonica.net>
318
319         * Mono.Security.Protocol.Tls/CipherSuite.cs:
320         * Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
321         * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
322         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
323         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
324         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
325         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
326
327                 - Added changes for make use of X509 classes from mono.
328
329 2003-10-23 Carlos Guzmán Álvarez <carlosga@telefonica.net>
330
331         * Added partial implementation of SSL3 protocol ( not finished yet ) to the TLS sources.
332
333 2003-10-20  Sebastien Pouliot  <spouliot@videotron.ca>
334
335         * Mono.Security.dll.sources: Removed AssemblyInfo.cs from build.
336         This file is for TLS not for the complete Mono.Security assembly.
337
338 2003-10-20  Duncan Mak  <duncan@ximian.com>
339
340         * Mono.Security.dll.sources: Added TlsAbstractCipherSuite.cs,
341         TlsCipherSuiteFactory.cs and TlsCompressMethod.cs. This fixes the
342         build.
343
344 2003-10-20  Carlos Guzmán Álvarez  <carlosga@telefonica.net>
345
346         * Mono.Security.dll.sources: Added references for new Tls files.
347
348 2003-10-20  Pedro Martínez Juliá  <yoros@wanadoo.es>
349
350         * Mono.Security.dll.sources: Added references for Tls files.
351
352 2003-09-05  Sebastien Pouliot  <spouliot@videotron.ca>
353
354         * KeyAttributesExtension.cs: New. Added for WSE.
355
356 2003-09-01  Sebastien Pouliot  <spouliot@videotron.ca>
357
358         * Mono.Security.dll.sources: Added support for Authenticode(tm)
359         signatures.
360
361 2003-07-30  Sebastien Pouliot  <spouliot@videotron.ca>
362
363         * Mono.Security.dll.sources: Added ExtendedKeyUsageExtension.cs 
364         certificate extension (so MakeCert can now create SSL certificates).
365
366 2003-07-28  Sebastien Pouliot  <spouliot@videotron.ca>
367
368         * Mono.Security.dll.sources: Added missing SubjectAltNameExtension.cs
369
370 2003-06-14  Sebastien Pouliot  <spouliot@videotron.ca>
371
372         * list.unix. Added SubjectAltNameExtension.cs
373
374 2003-03-06  Sebastien Pouliot  <spouliot@videotron.ca>
375
376         * list.unix: New. All C# files required to build the assembly.
377         * makefile.gnu: New. Makefile to build the assembly under Linux.
378         * Mono.Security.build: New. NAnt build file. 
379