ChangeLog 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. 2007-12-15 Sebastien Pouliot <[email protected]>
  2. * TlsServerCertificate.cs: Add support for wilcard (*) when matching
  3. the target host with the certificate. Fix bug #346812
  4. 2007-05-22 Sebastien Pouliot <[email protected]>
  5. * TlsClientCertificate.cs: If possible avoid to export the private key
  6. (it could be non-exportable in a different RSA class implementation).
  7. Patch from Roy Versteeg to fix #81592.
  8. * TlsClientCertificateVerify.cs: Add chain support for x.509 client
  9. certificates. Based on Roy Versteeg patch to fix #80557.
  10. 2006-12-23 Gonzalo Paniagua Javier <[email protected]>
  11. * TlsServerCertificate.cs: typo.
  12. 2006-09-11 Sebastien Pouliot <[email protected]>
  13. * TlsClientFinished.cs: Use Write.Cipher instead of Cipher. Remove
  14. usage of TlsStream in ProcessAsSsl3.
  15. * TlsClientKeyExchange.cs: Use Negotiating.Cipher instead of Cipher.
  16. Refactor to avoid code duplication between SSL3 and TLS.
  17. * TlsServerCertificate.cs: Use Negotiating.Cipher instead of Cipher.
  18. * TlsServerFinished.cs: Use Current.Cipher instead of Cipher. Use
  19. Compare to test client and server digests equality. Remove usage of
  20. TlsStream in ProcessAsSsl3.
  21. * TlsServerHello.cs: Use Negotiating.Cipher instead of Cipher. Remove
  22. usage of TlsStream to reduce memory allocations. Remove method
  23. CompareSessionId and use the new base class Compare method instead.
  24. 2006-03-16 Sebastien Pouliot <[email protected]>
  25. * TlsClientHello.cs: Check to see if we already have a known session
  26. (past or concurrent) with the same target host. If so the use this
  27. session id to try to resume (i.e. abbreviated handshake).
  28. * TlsServerFinished.cs: Don't reset the hasndshake stream here. The
  29. stream must be resetted once BOTH the client and the server are done.
  30. The order of message can be different if we use an abbreviated
  31. handshake sequence which leads to an invalid handshake.
  32. * TlsServerHello.cs: Add this session info to the client cache. If the
  33. server sends the same session id (as we supplied) then we MUST do an
  34. abbreviated handshake.
  35. 2005-11-23 Sebastien Pouliot <[email protected]>
  36. * TlsServerCertificate.cs: Add support for Netscape Server Gated
  37. Crypto (2.16.840.1.113730.4) as a valid server-side EKU OID. Fix bug
  38. #76804.
  39. 2005-06-14 Sebastien Pouliot <[email protected]>
  40. * TlsClientCertificate.cs: Add support for _optional_ mutual
  41. authentication. SSL3 and TLS1 deals differently with this. SSL3 tested
  42. with OpenSSL, TSL1 tested with OpenSSL and LDAPS/AD.
  43. 2005-04-12 Sebastien Pouliot <[email protected]>
  44. * TlsClientCertificateVerify.cs: Add missing data length (16 bits -
  45. not to be confused with the record 24 bits length) before the RSA
  46. signature of the MD5SHA1 hash. Fix #71696.
  47. 2004-05-11 Carlos Guzman Alvarez <[email protected]>
  48. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
  49. - Added fix for better handling of exceptions when
  50. building the X509 Certificate chain.
  51. 2004-04-22 Sebastien Pouliot <[email protected]>
  52. * TlsClientCertificateVerify.cs: Use Buffer.BlockCopy instead of
  53. Array.Copy.
  54. * TlsServerCertificate.cs: Changed KeyUsage to KeyUsages and CertType
  55. to CertTypes.
  56. 2004-03-19 Sebastien Pouliot <[email protected]>
  57. * TlsClientKeyExchange.cs: Fixed key pair used to encrypt pre-master
  58. secret for exportable ciphers - must use the public key received in
  59. ServerKeyExchange.
  60. 2004-03-10 Carlos Guzman Alvarez <[email protected]>
  61. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
  62. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificateRequest.cs:
  63. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
  64. * Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
  65. * Mono.Security.Protocol.Tls.Handshake.Server/TlsServerCertificateRequest.cs:
  66. * Mono.Security.Protocol.Tls.Handshake.Server/TlsServerFinished.cs:
  67. - Fixed meesage type definition.
  68. 2004-03-04 Carlos Guzman Alvarez <[email protected]>
  69. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHelloDone.cs:
  70. * Mono.Security.Protocol.Tls.Handshake.Server/TlsServerHelloDone.cs:
  71. - Fixed message type.
  72. 2004-02-26 Sebastien Pouliot <[email protected]>
  73. * TlsServerCertificate.cs: Certificate validation has been activated.
  74. 2004-02-26 Carlos Guzman Alvarez <[email protected]>
  75. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
  76. - Added changes for better handling of ClientHelloRequest messages.
  77. 2004-02-21 Carlos Guzman Alvarez <[email protected]>
  78. * TlsServerHello: Fix for handle SecurityProtocolType.Default.
  79. 2004-02-20 Sebastien Pouliot <[email protected]>
  80. * TlsServerCertificate.cs: Added code to validate the server X.509
  81. certificate (identity, usage) and it's chain to a trusted root.
  82. Note that the verification is commented for the time being.
  83. 2004-02-14 Carlos Guzmán Álvarez <[email protected]>
  84. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
  85. - Removed test code.
  86. 2003-11-17 Carlos Guzmán Álvarez <[email protected]>
  87. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  88. Removed ReadByte method, use innerStream.ReadByte() method instead.
  89. 2003-11-13 Carlos Guzmán Álvarez <[email protected]>
  90. * Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.
  91. The next files are no more needed:
  92. - TlsSession.cs
  93. - TlsNetworkStream.cs
  94. - TlsSocket.cs
  95. - TlsSessionState.cs
  96. The next files are renamed:
  97. - TlsSessionSettings.cs -> TlsClientSettings.cs
  98. - TlsSessionContext.cs -> TlsContext.cs
  99. The next files are new:
  100. - SslClientStream.cs ( the name is non definitive yet )
  101. The next files where changed to reflect the new canges:
  102. - TlsHandshakeMessage.cs
  103. - TlsClientCertificate.cs
  104. - TlsClientCertificateVerify.cs
  105. - TlsClientFinished.cs
  106. - TlsClientHello.cs
  107. - TlsClientKeyExchange.cs
  108. - TlsServerCertificate.cs
  109. - TlsServerCertificateRequest.cs
  110. - TlsServerFinished.cs
  111. - TlsServerHello.cs
  112. - TlsServerHelloDone.cs
  113. - TlsServerKeyExchange.cs
  114. - TlsAlert.cs
  115. - TlsCloseNotifyAlert.cs
  116. 2003-11-12 Carlos Guzmán Álvarez <[email protected]>
  117. * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
  118. - Changes for give full error message only in debug mode ( Thanks to Sebastién Pouliot. )
  119. * Mono.Security.Protocol.Tls/TlsProtocol.cs:
  120. - Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )
  121. * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
  122. - Renamed to MD5SHA1.cs ( Thanks to Sebastién Pouliot. )
  123. * Mono.Security.Cryptography/TlsCompressionMethod.cs:
  124. - Renamed to SecurityCompressionType.
  125. * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
  126. * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
  127. * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
  128. - New enumerations that matches .NET 1.2 definitions with some minor differences.
  129. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  130. * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
  131. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  132. * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
  133. - Added changes for make use of new enumerations.
  134. * Mono.Security.Protocol.Tls/TlsClientStream.cs:
  135. - Added new informative properties that matches .NET 1.2 SslClientStream
  136. ( Not all the properties are implemented yet ).
  137. 2003-11-10 Carlos Guzmán Álvarez <[email protected]>
  138. * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
  139. - Fixed invalid alert message.
  140. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  141. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  142. * Mono.Security.Cryptography/HMAC.cs:
  143. * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
  144. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
  145. - Changed ( Thanks to Sebastién Pouliot for his feedback )
  146. SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
  147. MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();
  148. to
  149. HashAlgorithm sha = SHA1.Create();
  150. HashAlgorithm md5 = MD5.Create();
  151. 2003-11-04 Carlos Guzmán Álvarez <[email protected]>
  152. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  153. - Added custom padding for record encryption.
  154. 2003-11-03 Carlos Guzmán Álvarez <[email protected]>
  155. * Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
  156. - Removed file.
  157. * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
  158. - New class for handshake hashes calculation on SSL3 protocol.
  159. * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
  160. - Fixed mac keys clearing for SSL3 protocol.
  161. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  162. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
  163. - Added changes for make use of new TlsSslHandshakeHash class.
  164. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
  165. - Added initial implementation for SSL3 protocol.
  166. * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
  167. - New class for md5-sha hash calculation.
  168. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
  169. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
  170. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
  171. * Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
  172. - Make use of new MD5SHA1CryptoServiceProvider class.
  173. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
  174. - Added initial implementation (not finished).
  175. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
  176. - Minor change to message processing.
  177. - Changed verify method name to verifySignature.
  178. * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
  179. - Changed handshakeHashes member to be an TlsStream.
  180. 2003-10-28 Carlos Guzmán Álvarez <[email protected]>
  181. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  182. * Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
  183. * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
  184. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
  185. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
  186. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
  187. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
  188. - Added changes for make use of X509 classes from mono.
  189. 2003-10-23 Carlos Guzmán Álvarez <[email protected]>
  190. * Added partial implementation of SSL3 protocol ( not finished yet ).