pgstath / Sharp.Xmpp

Sharp.Xmpp is looking for a maintainer! Unfortunatelly I do not have currently the time needed to maintain the library. Luckily a small but vibrant community has evolved around Sharp.Xmpp. If you would like to be the project's maintainer please sent an email to pgstath@gmail.com. This should include issues, tickets and commits that you have done for Sharp.Xmpp or other similar project. Sharp.Xmpp is a multiplatform, Windows and Android, .NET XMPP client assembly.Sharp.Xmpp supports IM functionality & a variety of XMPP extensions, is simple and is extensively tested against Android Xamarin. It is a fork of the currently frozen excellent S22.Xmpp project. Sharp.Xmpp will be at the FOSSDEM 2016 Real time DevRoom!
Other
84 stars 51 forks source link

TLS 1.2 #18

Open lovetox opened 8 years ago

lovetox commented 8 years ago

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.

pgstath commented 8 years ago

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

lovetox commented 8 years ago

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.