ChangeLog 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791
  1. 2007-09-12 Sebastien Pouliot <[email protected]>
  2. * Context.cs: Clear key info memory (not just nullify). Fix bug #82819
  3. 2007-08-16 Sebastien Pouliot <[email protected]>
  4. * RecordProtocol.cs, SslStreamBase.cs: Ensure nothing (even the same
  5. thread) can confuse the record decoding code. Fix bug #82145 (LDAP)
  6. which uses several thread over a single SslClientStream instance.
  7. 2007-05-23 Gonzalo Paniagua Javier <[email protected]>
  8. * Context.cs: fix the calculation of the unix time.
  9. 2007-05-09 Sebastien Pouliot <[email protected]>
  10. * HttpsClientStream.cs: Add support for client certificates from
  11. HttpWebRequest if it uses X509Certificate2 instance (which requires
  12. using 2.0 profile) and if the private key is available.
  13. * SslStreamBase.cs: Fix warning in 2.0 because Stream now implements
  14. Dispose. Rework Close (in 2.0) to avoid infinite recursion.
  15. 2006-12-08 Sebastien Pouliot <[email protected]>
  16. * ClientSessionCache.cs: Fix cache to be really used. Original patch
  17. by Roy Versteeg. Fix bug #80175.
  18. 2006-12-08 Sebastien Pouliot <[email protected]>
  19. * ClientSessionCache.cs: Check for a new environment variable to
  20. control the cache validity period (MONO_TLS_SESSION_CACHE_TIMEOUT).
  21. Fix bug #80174.
  22. 2006-09-11 Sebastien Pouliot <[email protected]>
  23. * CipherSuite.cs: Avoid creating a CryptoStream and a MemoryStream in
  24. EncryptRecord (removing the need to do a keysetup each time). Add
  25. helper methods to write inside byte buffers. Decrypt the data in
  26. place (without allocating new memory) as the result will always be
  27. smaller than the original. Avoid TlsStream in CreatePremasterSecret
  28. method. All HMAC access are done with the Negotiating parameters.
  29. * ClientRecordProtocol.cs: Set HandshakeState to None if we receive
  30. a HelloRequest during an existing session. Remove overidden method
  31. ProcessChangeCipherSpec. Skip memory allocation if possible.
  32. * Context.cs: Add new SecurityParameters for current, negotiating,
  33. read and write (actually only two different instance exists). Change
  34. readSequenceNumber and writeSequenceNumber to ulong to match specs.
  35. Remove all properties that are moved/replaced with SecurityParameters.
  36. Added methods to Start and End a switch of the security parameters.
  37. * RecordProtocol.cs: Add code to ProcessChangeCipherSpec (not abstract
  38. anymore). Remove ReadShort and it's use. Deal with null alerts in
  39. SendAlert method (internal error). Change code to deal with
  40. SendChangeCipherSpec inside an existing (encrypted) session. Update
  41. Cipher to use the correct one (mostly Read.Cipher or Negotiating.Cipher
  42. for ProcessCipherSpecV2Buffer method).
  43. * SecurityParameters.cs: New. Deal with all parameters that changes
  44. between negotiations.
  45. * ServerRecordProtocol.cs: Remove method ProcessChangeCipherSpec.
  46. * SslCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
  47. MAC keys to the Negotiating security parameters.
  48. * SslClientStream.cs: Change calls from Cipher to Negotiating.Cipher.
  49. * SslServerStream.cs: Change calls from Cipher to Negotiating.Cipher.
  50. Remove debugging dead code (DateTime).
  51. * SslStreamBase.cs: Change calls from Cipher to Current.Cipher. Reuse
  52. existing memory buffer.
  53. * TlsCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
  54. MAC keys to the Negotiating security parameters.
  55. * TlsClientSettings.cs: Comment code cause compiler warnings.
  56. * TlsStream.cs: Avoid/reduce memory allocations when reading or
  57. writing small integer values to the stream.
  58. 2006-09-07 Sebastien Pouliot <[email protected]>
  59. * HttpsClientStream.cs: Honor ServicePointManager.SecurityProtocol to
  60. select between SSL3, TLS1 or, by default, auto. Great for testing :)
  61. 2006-06-08 Sebastien Pouliot <[email protected]>
  62. * ClientRecordProtocol.cs: Avoid a NRE when the server request a
  63. re-negotiation of the security parameters. Possible fix for #78597.
  64. 2006-04-21 Sebastien Pouliot <[email protected]>
  65. * SslCipherSuite.cs: Enable abbreviated handshakes for SSL3 too.
  66. 2006-04-12 Sebastien Pouliot <[email protected]>
  67. * ClientSessionCache.cs: Deal with empty (null) master secret, that
  68. can find their ways into the cache, and treat them as invalid. Fix
  69. bug #78085.
  70. 2006-04-10 Sebastien Pouliot <[email protected]>
  71. * ClientSessionCache.cs: The session id can be zero-length (like our
  72. own server class).
  73. * SslServerStream.cs: Adapt code to fixes made in cipher suite and
  74. message processing changes in client code.
  75. 2006-03-16 Sebastien Pouliot <[email protected]>
  76. * CipherSuiteFactory.cs: Fix bad key exchange values for non-export
  77. cihpers. Most certificates have "too much" usages by default so this
  78. was hidden from view.
  79. * SslStreamBase.cs: Safety net. Throw an exception if we're waiting
  80. for more than five (5) minutes for an async read or write to complete.
  81. 2006-03-16 Sebastien Pouliot <[email protected]>
  82. * ClientSessionCache.cs: New. Handle a client-side session cache to
  83. enable the use of abbreviated handshake whenever possible. This will
  84. reduce the number of negotiation (a very CPU intensive process) done
  85. with the same host.
  86. * Context.cs: Add a property for AbbreviatedHandshake.
  87. * RecordProtocol.cs: Don't send Finished record from ChangeCipherSpec
  88. as this won't work if the message flow change.
  89. * SslClientStream.cs: Line endings.
  90. * SslServerStream.cs: Throw an exception if ReceiveRecord return null
  91. or an empty buffer (i.e. communication ended with client). Fix #76254.
  92. * SslStreamBase.cs: Re-add synchronous implementations for Read and
  93. Write.
  94. * TlsCipherSuite.cs: Update the client-side session cache with the
  95. mastersecret.
  96. * TlsStream.cs: Avoid possible buffer underun reading bytes (found by
  97. Gonzalo).
  98. 2006-03-08 Sebastien Pouliot <[email protected]>
  99. * SslStreamBase.cs: Re-implemented the synchronous versions of Read
  100. and Write methods so they don't use the async code.
  101. 2006-03-07 Gonzalo Paniagua Javier <[email protected]>
  102. * SslStreamBase.cs: avoid creating the ManualResetEvent whenever
  103. possible. Don't lock on an instance of an object that the user can get.
  104. 2006-03-06 Gonzalo Paniagua Javier <[email protected]>
  105. * RecordProtocol.cs: avoid creating the ManualResetEvent whenever
  106. possible. Don't lock on an instance of an object that the user can get.
  107. 2006-03-02 Sebastien Pouliot <[email protected]>
  108. * RecordProtocol.cs: Fix possible endless loop (#77663). Remove hack
  109. for an old, fixed, MCS bug (#67711).
  110. 2005-10-06 Sebastien Pouliot <[email protected]>
  111. * ClientRecordProtocol.cs: Update HandshakeMessages after each
  112. message. Fix bug #76258.
  113. * RecordProtocol.cs: Remove writing into the HandshakeMessages stream
  114. at this stage. We may need the data before that. Fix bug #76258.
  115. * ServerRecordProtocol.cs: Update HandshakeMessages after each
  116. message. Fix bug #76258.
  117. * SslServerStream.cs: Changed check for the presence of client
  118. certificates during handshake.
  119. 2005-09-02 Sebastien Pouliot <[email protected]>
  120. * SslStreamBase.cs, ServerRecordProtocol.cs, SslClientStream.cs,
  121. ClientRecordProtocol.cs, RecordProtocol.cs, SslServerStream.cs:
  122. Re-written async support for Ssl[Client|Server]Stream from JD Conley
  123. <[email protected]> with minor changes. Fix bug #75687 (and a
  124. lot of other known problems).
  125. 2005-07-01 Sebastien Pouliot <[email protected]>
  126. * ServerContext.cs: Build the list of trusted certificates from all
  127. the trusted root for the current user and the local machine.
  128. * SslServerStream.cs: Add support for client certificate (and the
  129. callback for optional mutual authentication with SSL3).
  130. 2005-06-22 Sebastien Pouliot <[email protected]>
  131. * SslClientStream.cs: Removed failsafe timeout of 5 minutes as some
  132. protocols can go idle for longer than this.
  133. 2005-06-14 Sebastien Pouliot <[email protected]>
  134. * SslClientStream.cs: Add support for _optional_ mutual authentication.
  135. SSL3 and TLS1 deals differently with this. SSL3 tested with OpenSSL,
  136. TSL1 tested with OpenSSL and LDAPS/AD.
  137. 2005-06-06 Sebastien Pouliot <[email protected]>
  138. * Alert.cs: Add NoCertificate (41) which _should_ be used in SSL3
  139. if we don't want to send a certificate when requested by a server
  140. (e.g. in the case the mutual authentication is optional).
  141. * CipherSuite.cs: Fixed recursive property. Changed type to short so
  142. it can hold 256 bits (valid value). Fixed ctor so it doesn't assign
  143. the it's own value.
  144. 2005-05-13 Sebastien Pouliot <[email protected]>
  145. * SslClientStream.cs: Forgot to set the event in the previous fix.
  146. 2005-05-10 Gonzalo Paniagua Javier <[email protected]>
  147. * SslClientStream.cs: check for the dispose in NetworkReadCallback.
  148. Patch by Sebastien "Cryptoman" Pouliot.
  149. 2005-04-14 Gonzalo Paniagua Javier <[email protected]>
  150. * SslClientStream.cs: gotta call EndInvoke, not EndRead.
  151. 2005-04-14 Gonzalo Paniagua Javier <[email protected]>
  152. * SslClientStream.cs: MemoryStream does not implement proper Begin*
  153. methods, so we need this to prevent infinite recursion if we have a
  154. callback that calls BeginRead.
  155. 2005-04-13 Sebastien Pouliot <[email protected]>
  156. * RecordProtocol.cs: Some API changes so a record can be decoded from
  157. any supplied stream (not just the inner network stream).
  158. * SslClientStream.cs: BeginRead is now truly async if the Negotiate is
  159. called from BeginWrite (where it should be in most case).
  160. * SslServerStream.cs: Adapted to API changes in RecordProtocol.cs.
  161. 2005-04-12 Sebastien Pouliot <[email protected]>
  162. * SslHandshakeHash.cs: Changed "SslHash" to "MD5SHA1". Fix #71696.
  163. 2005-04-10 Sebastien Pouliot <[email protected]>
  164. * HttpsClientStream.cs: Added a TrustFailure property so a
  165. WebException can now report TrustFailure correctly. Fix bug 74286.
  166. 2005-04-07 Sebastien Pouliot <[email protected]>
  167. * SslCipherSuite.cs: Fix calculation (sequence number) for the server
  168. side stream. Patch by Brian Ritchie.
  169. 2005-02-04 Sebastien Pouliot <[email protected]>
  170. * Reverting last changes in SslClientStream and RecordProtocol. This
  171. break when sending large files back and forth (echo test).
  172. 2005-02-02 Sebastien Pouliot <[email protected]>
  173. * SslClientStream.cs: Throw exception when we receive a null record.
  174. * RecordProtocol.cs: Added code to avoid blocking and endless loops
  175. if the data is incomplete or missing - even in the case the server
  176. side doesn't close the connection (see new cutcli tool).
  177. 2004-12-15 Sebastien Pouliot <[email protected]>
  178. * CipherSuite.cs: Removed unused MD5 and SHA1 instances created in
  179. PRF method (fix compilation warnings).
  180. 2004-12-13 Sebastien Pouliot <[email protected]>
  181. * SslClientStream.cs: New internal property, ServerCertificates, to
  182. "easily" retreive the server's certificate chain using reflection.
  183. 2004-11-23 Sebastien Pouliot <[email protected]>
  184. * RecordProtocol.cs: Fixed ClientHelloV2 support.
  185. 2004-11-10 Sebastien Pouliot <[email protected]>
  186. * CipherSuiteFactory.cs: Activated RSA_WITH_AES_256_CBC_SHA as it is
  187. supported by some browsers.
  188. * ContentType.cs: Removed ClientHelloV2 from the enum as it is not a
  189. "true" content type (it just looks so where we're processing it).
  190. * Context.cs: Added support to switch protocol (e.g. SSL2->SSL3 or
  191. SSL2->TLS1). Contributed by Carlos Guzman Alvarez.
  192. * RecordProtocol.cs: Added support for ClientHelloV2 message
  193. (contributed by Carlos Guzman Alvarez). This is a Handshake message
  194. so it must be MACed. Also fixed the challenge length because some
  195. browsers implementation don't interpret "This value must be 32." as
  196. having 32 bytes.
  197. 2004-10-05 Sebastien Pouliot <[email protected]>
  198. * SslClientStream.cs: Changed InputBuffer to internal (was protected).
  199. 2004-10-04 Gonzalo Paniagua Javier <[email protected]>
  200. * HttpsClientStream.cs: the .ctor receives a pre-read buffer now.
  201. * SslClientStream.cs: added InputBuffer property.
  202. 2004-09-23 Sebastien Pouliot <[email protected]>
  203. * RecordProtocol.cs: Fix alert data that could leak into appplication
  204. data (e.g. when closing the SSL session).
  205. 2004-07-14 Carlos Guzman Alvarez <[email protected]>
  206. * Removed duplicate license header file from
  207. all source files.
  208. 2004-07-14 Sebastien Pouliot <[email protected]>
  209. * SslClientStream.cs: Changed lock to "new object()" and not
  210. String.Empty (as the read/write locks points becomes the same).
  211. * SslServerStream.cs: Changed lock to "new object()" and not
  212. String.Empty (as the read/write locks points becomes the same).
  213. 2004-07-14 Gonzalo Paniagua Javier <[email protected]>
  214. * HttpsClientStream.cs: get an HttpWebRequest so that we can use the
  215. ServicePoint it has. No need to get the host now.
  216. 2004-05-09 Carlos Guzman Alvarez <[email protected]>
  217. * Mono.Security.Protocol.Tls/Alert.cs:
  218. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  219. * Mono.Security.Protocol.Tls/CipherSuiteCollection.cs:
  220. * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
  221. * Mono.Security.Protocol.Tls/Context.cs:
  222. * Mono.Security.Protocol.Tls/RecordProtocol.cs:
  223. * Mono.Security.Protocol.Tls/SecurityCompressionType.cs:
  224. * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
  225. * Mono.Security.Protocol.Tls/SslServerStream.cs:
  226. * Mono.Security.Protocol.Tls/TlsClientSettings.cs:
  227. - Changes for fix FxCop Rules.
  228. - Reworked CipherSuiteCollection class.
  229. 2004-04-21 Carlos Guzman Alvarez <[email protected]>
  230. * Mono.Security.Protocol.Tls/DebugHelper.cs:
  231. - New class.
  232. * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
  233. * Mono.Security.Protocol.Tls/RecordProtocol.cs:
  234. * Mono.Security.Protocol.Tls/Context.cs:
  235. * Mono.Security.Protocol.Tls/Context.cs:
  236. * Mono.Security.Protocol.Tls/SslCipherSuite.cs:
  237. * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
  238. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  239. - Added debug capabilities.
  240. * Mono.Security.Protocol.Tls/ServerContext.cs:
  241. - Added initialization of requested CertificateTypes and CA's
  242. 2004-04-16 Carlos Guzman Alvarez <[email protected]>
  243. * Mono.Security.Protocol.Tls/TlsException.cs:
  244. - Make it public until npgsql people can fix their sources.
  245. 2004-03-19 Carlos Guzman Alvarez <[email protected]>
  246. * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
  247. - Added new CertificateRSA property.
  248. - Added new UpdateCertfificateRSA method.
  249. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  250. - Removed CertificateRSA() method.
  251. 2004-03-19 Sebastien Pouliot <[email protected]>
  252. * CipherSuite.cs: Fixed PRF generation when secret is an odd number of
  253. bytes (section 5 in RFC2246).
  254. * CipherSuiteFactory.cs: Added algorithms RSA_EXPORT_WITH_RC4_40_MD5,
  255. RSA_EXPORT_WITH_RC2_CBC_40_MD5, RSA_EXPORT_WITH_DES40_CBC_SHA,
  256. RSA_EXPORT_WITH_RC4_56_MD5, RSA_EXPORT_WITH_RC2_CBC_56_MD5,
  257. RSA_EXPORT_WITH_DES_CBC_56_SHA and RSA_EXPORT_WITH_RC4_56_SHA to both
  258. SSL3 and TLS1 protocols.
  259. * SslCipherSuite.cs: Fixed key generation for exportable ciphers.
  260. * TlsCipherSuite.cs: Fixed key generation for exportable ciphers.
  261. 2004-03-16 Carlos Guzman Alvarez <[email protected]>
  262. * Mono.Security.Protocol.Tls/SslCipherSuite.cs:
  263. - Added changes for allow it to work as server or client.
  264. 2004-03-15 Carlos Guzman Alvarez <[email protected]>
  265. * Mono.Security.Protocol.Tls/TlsStream.cs:
  266. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  267. * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
  268. * Mono.Security.Protocol.Tls/SslHandshakeHash.cs:
  269. * Mono.Security.Protocol.Tls/RecordProtocol.cs:
  270. - Use Buffer.BlockCopy instead of System.Array.Copy
  271. 2004-03-10 Carlos Guzman Alvarez <[email protected]>
  272. * Mono.Security.Protocol.Tls/Ciphersuite.cs:
  273. - Added generation of the Server encryption algorithms.
  274. - Modified encryption/decription methods for work
  275. as client or server as needed.
  276. * Mono.Security.Protocol.Tls/RecordProtocol.cs:
  277. * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
  278. * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
  279. - Added new ProcessChangeCipherSpec method.
  280. * Mono.Security.Protocol.Tls/Context.cs:
  281. - Added new PrintBuffer method ( for debug ).
  282. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  283. * Mono.Security.Protocol.Tls/SslServerStream.cs:
  284. - Callback cleanup.
  285. 2004-03-06 Carlos Guzman Alvarez <[email protected]>
  286. * Mono.Security.Protocol.Tls/SslServerStream.cs:
  287. - Initial implementation of the doHandshake method.
  288. - Added initial events implementation.
  289. * Mono.Security.Protocol.Tls/Ciphersuite.cs:
  290. * Mono.Security.Protocol.Tls/TlsCiphersuite.cs:
  291. * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
  292. * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
  293. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  294. * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
  295. * Mono.Security.Protocol.Tls/TlsClientSettings.cs:
  296. * Mono.Security.Protocol.Tls/ClientContext.cs:
  297. - Changes for make use of the renamed classes and enums.
  298. * Mono.Security.Protocol.Tls/TlsContentType.cs:
  299. - Renamed to ContentType.cs ( Enum and file )
  300. * Mono.Security.Protocol.Tls/TlsCiphersuiteCollection.cs:
  301. - Renamed to CiphersuiteCollection.cs ( Class and file )
  302. * Mono.Security.Protocol.Tls/TlsCiphersuiteFactory.cs:
  303. - Renamed to CiphersuiteCollection.cs ( Class and file )
  304. * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
  305. - Renamed to SslHandshakeHash.cs ( Class and file )
  306. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  307. - Renamed to SslCipherSuite.cs ( Class and file )
  308. 2004-02-26 Carlos Guzman Alvarez <[email protected]>
  309. * Mono.Security.Protocol.Tls/HandshakeState.cs:
  310. - New file.
  311. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  312. * Mono.Security.Protocol.Tls/SslServerStream.cs:
  313. * Mono.Security.Protocol.Tls/Context.cs:
  314. * Mono.Security.Protocol.Tls/ClientContext.cs:
  315. * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
  316. - Added changes for better handling of ClientHelloRequest messages.
  317. 2004-02-25 Sebastien Pouliot <[email protected]>
  318. * HttpsClientStream.cs: New. Internal glue class between System.dll
  319. WebConnection and SslClientStream to reduce reflection.
  320. * SslClientStream.cs: RaiseServerCertificateValidation is now virtual
  321. to allow HttpsClientStream to override it.
  322. 2004-02-24 Carlos Guzman Alvarez <[email protected]>
  323. * Mono.Security.Protocol.Tls/RecordProtocol.cs:
  324. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  325. * Mono.Security.Protocol.Tls/SslServerStream.cs:
  326. - Reimplementation of TLS/SSL Alert Protocol.
  327. 2004-02-20 Carlos Guzmán Álvarez <[email protected]>
  328. * Mono.Security.Protocol.Tls.Handshake.Client/SslClientCertificate.cs:
  329. - Improved exception handling.
  330. 2004-02-18 Carlos Guzmán Álvarez <[email protected]>
  331. * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
  332. * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
  333. * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
  334. - Added Serializable attribute.
  335. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  336. * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
  337. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  338. * Mono.Security.Protocol.Tls/TlsContext.cs:
  339. - Added some optimizations proposed by Sebastien Pouliot.
  340. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
  341. - Changes on Common Name detection and certificate error handling ( Thanks to Sebastien Pouliot for his feedback ).
  342. 2004-02-18 Sebastien Pouliot <[email protected]>
  343. * SslClientStream.cs: Fixed (inverted) condition for ServerCertificate.
  344. * SecurityProtocolType.cs: Added [Serializable] to enum to match MS
  345. implementation.
  346. 2004-02-17 Carlos Guzmán Álvarez <[email protected]>
  347. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  348. - Added changes to security properties for check that the handshake is finished.
  349. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  350. - Added changes for bring async methods to work ( Thanks to Sebastien Pouliot )
  351. - Reworked the record fragmentation.
  352. - Fix for send the close notify alert in the Close method
  353. only if the Handshake is fully negotiated.
  354. 2004-02-16 Carlos Guzmán Álvarez <[email protected]>
  355. * Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:
  356. - Changed ciphersuites order of preference ( Thanks to Sebastien Pouliot for his feedback ).
  357. 2004-02-15 Carlos Guzmán Álvarez <[email protected]>
  358. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  359. - Added specific control od available data for Network Streams
  360. on Read ( Thanks to Francisco Figueiredo Jr. for his feedback ).
  361. - Removed test code.
  362. 2004-02-14 Carlos Guzmán Álvarez <[email protected]>
  363. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  364. - Removed test code.
  365. 2003-11-17 Carlos Guzmán Álvarez <[email protected]>
  366. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  367. Removed ReadByte method, use innerStream.ReadByte() method instead.
  368. 2003-11-13 Carlos Guzmán Álvarez <[email protected]>
  369. * Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.
  370. The next files are no more needed:
  371. - TlsSession.cs
  372. - TlsNetworkStream.cs
  373. - TlsSocket.cs
  374. - TlsSessionState.cs
  375. The next files are renamed:
  376. - TlsSessionSettings.cs -> TlsClientSettings.cs
  377. - TlsSessionContext.cs -> TlsContext.cs
  378. The next files are new:
  379. - SslClientStream.cs ( the name is non definitive yet )
  380. The next files where changed to reflect the new canges:
  381. - TlsHandshakeMessage.cs
  382. - TlsClientCertificate.cs
  383. - TlsClientCertificateVerify.cs
  384. - TlsClientFinished.cs
  385. - TlsClientHello.cs
  386. - TlsClientKeyExchange.cs
  387. - TlsServerCertificate.cs
  388. - TlsServerCertificateRequest.cs
  389. - TlsServerFinished.cs
  390. - TlsServerHello.cs
  391. - TlsServerHelloDone.cs
  392. - TlsServerKeyExchange.cs
  393. - TlsAlert.cs
  394. - TlsCloseNotifyAlert.cs
  395. 2003-11-12 Carlos Guzmán Álvarez <[email protected]>
  396. * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
  397. - Changes for give full error message only in debug mode ( Thanks to Sebastién Pouliot. )
  398. * Mono.Security.Protocol.Tls/TlsProtocol.cs:
  399. - Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )
  400. * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
  401. - Renamed to MD5SHA1.cs ( Thanks to Sebastién Pouliot. )
  402. * Mono.Security.Cryptography/TlsCompressionMethod.cs:
  403. - Renamed to SecurityCompressionType.
  404. * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
  405. * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
  406. * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
  407. - New enumerations that matches .NET 1.2 definitions with some minor differences.
  408. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  409. * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
  410. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  411. * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
  412. - Added changes for make use of new enumerations.
  413. * Mono.Security.Protocol.Tls/TlsClientStream.cs:
  414. - Added new informative properties that matches .NET 1.2 SslClientStream
  415. ( Not all the properties are implemented yet ).
  416. 2003-11-10 Carlos Guzmán Álvarez <[email protected]>
  417. * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
  418. - Fixed invalid alert message.
  419. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  420. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  421. * Mono.Security.Cryptography/HMAC.cs:
  422. * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
  423. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
  424. - Changed ( Thanks to Sebastién Pouliot for his feedback )
  425. SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
  426. MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();
  427. to
  428. HashAlgorithm sha = SHA1.Create();
  429. HashAlgorithm md5 = MD5.Create();
  430. 2003-11-04 Carlos Guzmán Álvarez <[email protected]>
  431. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  432. - Added custom padding for record encryption.
  433. 2003-11-03 Carlos Guzmán Álvarez <[email protected]>
  434. * Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
  435. - Removed file.
  436. * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
  437. - New class for handshake hashes calculation on SSL3 protocol.
  438. * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
  439. - Fixed mac keys clearing for SSL3 protocol.
  440. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  441. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
  442. - Added changes for make use of new TlsSslHandshakeHash class.
  443. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
  444. - Added initial implementation for SSL3 protocol.
  445. * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
  446. - New class for md5-sha hash calculation.
  447. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
  448. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
  449. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
  450. * Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
  451. - Make use of new MD5SHA1CryptoServiceProvider class.
  452. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
  453. - Added initial implementation (not finished).
  454. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
  455. - Minor change to message processing.
  456. - Changed verify method name to verifySignature.
  457. * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
  458. - Changed handshakeHashes member to be an TlsStream.
  459. 2003-10-28 Carlos Guzmán Álvarez <[email protected]>
  460. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  461. * Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
  462. * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
  463. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
  464. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
  465. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
  466. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
  467. - Added changes for make use of X509 classes from mono.
  468. 2003-10-23 Carlos Guzmán Álvarez <[email protected]>
  469. * Added partial implementation of SSL3 protocol ( not finished yet ).
  470. * TlsAbstractCipherSuite.cs: Renamed to CipherSuite.cs.
  471. * Removed AssemblyInfo.cs file.
  472. 2003-10-21 Carlos Guzmán Álvarez <[email protected]>
  473. TlsCipherSuiteFactory.cs: Changed names of private methods.
  474. TlsSslCipherSuite.cs: Replaced implementations of key generation methods with a throw new NotSupportedException().
  475. 2003-10-20 Carlos Guzmán Álvarez <[email protected]>
  476. TlsCupherSuite.cs: Fixed padding length calculation on record encryption.
  477. TlsSessionContext.cs: Added new CompressionMethod property.
  478. Added new MAX_FRAGMENT_SIZE constant.
  479. TlsSession.cs: Removed MaxFragmentSize property.
  480. TlsSocket.cs: Replaced use of TlsSesison.MaxFragmentSize by TlsSessionContext.MAX_FAGMENT_SIZE
  481. TlsSessionSettings.cs: Added new CompressionMethod property.
  482. * Abstracted CipherSuite classes for allow work with other protocol versions.
  483. * Added new files :
  484. TlsAbstractCipherSuite.cs
  485. TlsSslCipherSuite.cs
  486. TlsCipherSuiteFactory.cs
  487. TlsCompressionMethod.cs
  488. * Added new cipher suites definitions based on RFC3268 - (http://www.ietf.org/rfc/rfc3268.txt)
  489. * Added two new supported ciphersuites for TLS protocol:
  490. TLS_RSA_WITH_AES_256_CBC_SHA
  491. TLS_RSA_WITH_AES_128_CBC_SHA
  492. * Moved key generation stuff to specific cipher suite classes.
  493. 2003-10-20 Pedro Martínez Juliá <[email protected]>
  494. * AssemblyInfo.cs: commented out KeyFile reference.
  495. * TlsSession.cs: changed Math.Pow for System.Math.Pow because of MCS
  496. bug with namespace resolving.