[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [Kopete-devel] [Bug 63457] SSL support for IRC
From:       Thiago Macieira <thiagom () mail ! com>
Date:       2004-02-06 16:57:16
Message-ID: 200402061457.24713.thiagom () mail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Martijn Klingens wrote:
>On Friday 06 February 2004 16:17, Jason Keirstead wrote:
>> On February 06, 2004 10:03 am, Martijn Klingens wrote:
>> > Is it possible to subclass KExtendedSocket and add a setUseSSL()
>> > method on it that creates a KSSLSocket instead? Given the KExtSock
>> > API I have *very* little hope, but at least I can ask :)
>>
>> Yes, it is possible.
>>
>> I would rather just add the code into KExtSocket itself though, with
>> another constructor param that had bool useSSL = false );
>>
>> Either of these would be pretty easy, but the second would be more
>> usefull in the long run. Dunno about BC though.
>
>Let's add Thiago to CC and ask him :)

SSL support is pretty tricky. And I don't think linking in to OpenSSL at 
kdecore is wanted.

In any event, KExtendedSocket is going depreciated if all goes well, so 
I don't like the idea of modifying that code now. The new API should be 
modified instead.

The big problem with that is that KExtendedSocket uses always KSocks to 
implement I/O. This makes it a lot more difficult to implement SSL 
support.

However, if you really want to help me on this, a QSocketImpl-derived 
class would probably suit you better. See the libqt-addon documentation 
(http://www.thiago.macieira.info/~thiago/libqt-addon-doc/). It could be 
loaded as a plugin or part of Kopete code. The high-level socket 
classes should be able to cope with that.

-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiagom (AT) mail (dot) com
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Kopete-devel mailing list
Kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic