Repository navigation
Tls client stream - #532
Conversation
|
Wow, here it is :) I haven't looked at the actual TLS implementation because I don't think I have much to contribute there. One question regarding the integration into Npgsql: I see the UseSslStream connection string parameter is still there, but is always false. How about letting users specify it as true to force usage of the .NET implementation, just in case? We could add a check that bombs if async notifications are used along with UseSslStream=true (because of the lack of DataAvailable)? If you're really against letting users choose .NET SslStream, then the parameter should be removed altogether. Aside from that it looks good. |
There are some problems with SslStream and Mono's stream: * No DataAvailable property so that (a)sync notifications can be properly supported. * Both streams seem to have problems with renegotiations. * Mono currently has a very old cipher suite with no "Perfect forward secrecy". * It's a bit annoying to have an external dependency.
8be6751 to
e7428f6
Compare
|
I see no problem that the users can choose to use .NET SslStream, so I'll leave the parameter, but defaulted to TlsClientStream. |
No description provided.