Sharp.Xmpp icon indicating copy to clipboard operation
Sharp.Xmpp copied to clipboard

TLS 1.2

Open lovetox opened this issue 9 years ago • 2 comments

instead of using

XmppCore.cs:

sslStream.AuthenticateAsClient(hostname) which defaults always to TLS 1.0

we should use something like this

sslStream.AuthenticateAsClient(hostname, null, SslProtocols.Tls12 | SslProtocols.Tls11 | SslProtocols.Tls, false);

which allows every TLS Version.

lovetox avatar Feb 20 '16 02:02 lovetox

Good proposal, I will check it for the next version. Feel free to make a pull request

pgstath avatar Feb 22 '16 22:02 pgstath

sorry for only opening issues, i am a programming newbie, so i dont really know if you want me to make pull requests, but maybe i will try for one of the easier solveable issues in the future :)

it also would be a good idea, to expose a public property which gets the TLS Version the connection has. Encryption is important today and this could be useful for developers.

lovetox avatar Feb 23 '16 10:02 lovetox