jyhong836 / Vivi

Vivi is a XMPP chatting client on OS X.
GNU General Public License v2.0
1 stars 0 forks source link

Encrypted stream #18

Closed jyhong836 closed 9 years ago

jyhong836 commented 9 years ago

Encrypt communication stream when encryption is capability.

jyhong836 commented 9 years ago

By default, Swiften would use TLS to encrypt stream. In ClientOptions.h:

ClientOptions() : 
                useStreamCompression(true), 
                useTLS(UseTLSWhenAvailable),
                                ...
{
}
jyhong836 commented 9 years ago

Unfortunately, Swiften does not support OTR currently.

An alternative may be found in otr, where provide otrlib for implement otr.

jyhong836 commented 9 years ago

Since now stream has been encrypted with TLS, I will provide another issue(#20) for OTR implement.