Tkabber

View Ticket
Login
Ticket Hash: b171376e88f5dd456b00e51a03dda38d56fb8954
Title: tclsasl support for tcl8.6
Status: Closed Type: Feature_Request
Severity: Critical Priority: Immediate
Subsystem: Resolution: Rejected
Last Modified: 2015-12-20 09:38:27
Version Found In: 1.0.1
User Comments:
anonymous added on 2015-06-18 08:07:45:
Hi,

I'm using sgolovan's tclsasl on debian sid:

$ apt-cache policy tclsasl
tclsasl:
  Installed: 1.0-4
  Candidate: 1.0-4
  Version table:
 *** 1.0-4 0
        500 http://sgolovan.nes.ru/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status


tclsh8.6 fails to load package sasl:
$ LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/sasl2 tclsh8.6
% package require sasl
couldn't load file "/usr/lib/libtclsasl.so": /usr/lib/libtclsasl.so: undefined symbol: tclStubsPtr
%



<offtopic>
my bash-foo to start tkabber which can login to google talk:

$ sudo ln -sf  wish8.5 /usr/bin/wish
$ LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/sasl2/ tkabber

anonymous added on 2015-06-18 09:36:46:
1) You can find recent SASL package comatible with tkabber in tcllib:
apt-get install tcllib
2) Google ClientLogin, used for secure authentication over insecure connection, was deprecated - https://developers.google.com/identity/protocols/AuthForInstalledApps - and now you need to establish secure connection first. For tkabber: 
a. apt-get install tcl-tls
b. check STARTTLS option in Tkabber login window
c. set ::::loginconf(sslcacertstore) option in Tkabber settings to '/etc/ssl/certs', it will verify connection certificates against system certificate storage and Tkabber will not show SSL warnings

sgolovan added on 2015-06-18 09:56:41:
The tclsasl extension is long time unmaintained and abandoned, so
I don't think it'll be usable with Tcl 8.6 in the future.

But what surprises me is that your Tkabber haven't loaded the SASL
package from Tcllib automagically. Ideally, you shouldn't notice that
tclsasl doesn't work at all.

Could you try to execute

package require SASL

in a tclsh8.6 session and tell if it fails for some reason?

Also, could you show the XML log for the failed connection attempt
using Tcl/Tk 8.6 and for the successful connection attempt using
Tcl/Tk 8.5?

sgolovan (claiming to be Sergei Golovan) added on 2015-12-20 09:38:27:
As far as I can see, the SASL package from the Tcllib should
be enough for Tkabber to work. The tclsasl isn't necessary.
Therefore, I'm closing this bug. If you think otherwise then
feel free to reopen it with an example where you can connect
to some XMPP server using tclsasl and can't connect with
the SASL package.