tags:

views:

49

answers:

1

I know there is a TLS package for Tcl 8.x.

I cannot find any packages to do TLS/SSL on Tcl 7.x.

I would be happy to get any pointers to such an implementation.

A: 

Since I could not find a package for Tcl I will be using an SSL Tunnel from http://www.stunnel.org/. I'll have the ssl tunnel listen on port 444 on the local machine and forward the requests to the target server using TLS.

I am still interested in a better solution if someone has any.

Nir Levy
The problem is that 7.* didn't support binary data or channel transforms or … well, there's a lot of machinery under the hood that exists to make it all work transparently in modern Tcl. If you're stuck with old Tcl, you probably need to implement most of the stack yourself (or rather have a library do it, providing commands to read and write from the encrypted stream).
Donal Fellows
@DKF, yeah, you are right. I gave up on trying to compile the TLS package for Tcl 7 - too much work. I'll either use a tunnel or just simple "exec wget".
Nir Levy