ChangeLog 11 KB

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