From kopete-devel Fri Feb 06 16:57:16 2004 From: Thiago Macieira Date: Fri, 06 Feb 2004 16:57:16 +0000 To: kopete-devel Subject: Re: [Kopete-devel] [Bug 63457] SSL support for IRC Message-Id: <200402061457.24713.thiagom () mail ! com> X-MARC-Message: https://marc.info/?l=kopete-devel&m=107608671312341 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0096105716==" --===============0096105716== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_0d8IABpP2yPT1Zk"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_0d8IABpP2yPT1Zk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 =3D 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=20 kdecore is wanted. In any event, KExtendedSocket is going depreciated if all goes well, so=20 I don't like the idea of modifying that code now. The new API should be=20 modified instead. The big problem with that is that KExtendedSocket uses always KSocks to=20 implement I/O. This makes it a lot more difficult to implement SSL=20 support. However, if you really want to help me on this, a QSocketImpl-derived=20 class would probably suit you better. See the libqt-addon documentation=20 (http://www.thiago.macieira.info/~thiago/libqt-addon-doc/). It could be=20 loaded as a plugin or part of Kopete code. The high-level socket=20 classes should be able to cope with that. =2D-=20 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 --Boundary-02=_0d8IABpP2yPT1Zk Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAI8d0M/XwBW70U1gRAsCdAKDCzYsTlhT1ANLdy9uK+0HrU30cmgCeKB7+ Klz0rCseLs/taEVCk1OKGpU= =Ok82 -----END PGP SIGNATURE----- --Boundary-02=_0d8IABpP2yPT1Zk-- --===============0096105716== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kopete-devel mailing list Kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel --===============0096105716==--