Diff

Differences From Artifact [20f98786f0]:

To Artifact [683b4d9f00]:


1
2
3
4
5
6
7
8

9
10
11
12
13
14
15
16
17


18
19
20
21
22
23
24
25
26
27
28



29
30
31




32
33


34
35

36
37
38
39
40











41
42
43
44
45
46
47
1
2
3
4
5
6
7

8
9
10
11
12
13
14
15


16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31



32
33
34
35

36
37
38
39

40





41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58







-
+







-
-
+
+











+
+
+
-
-
-
+
+
+
+
-

+
+

-
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+







Tool Command Language (TCL) Transport Layer Security (TLS) Extension

Intro
=====

This package provides an extension which implements Secure Socket Layer (SSL)
and Transport Layer Security (TLS) encryption over Transmission Control
Protocol (TCP) network communication channels. It utilizes the OpenSSL library.
Protocol (TCP) network communication channels utilizing the OpenSSL library.


Description
===========

This extension works by creating a layered TCL Channel on top of an existing
bi-directional channel created by the TLS socket command. All existing socket
functionality is supported, in addition to several new options. Both client
and server modes are supported.
functionality is supported in addition to several new options. Both client and
server modes are supported.


Documentation
=============

See the doc directory for the full usage documentation.


Compatibility
=============

TCL
---

This package requires TCL 8.5 or later. It will work with TCL 9. If this
extension is built against TCL 8.x it will not work with TCL 9 or vice versa.
It is best to compile both separately then install them with the compatible
This package requires TCL 8.5 or later. It will also work with TCL 9, but it is
not binary compatible between major TCL versions. This means if this extension
is built with TCL 8.x it will not load into TCL 9 or vice versa. It is best
to compile both separately then install them with the compatible TCL versions.
TCL versions.

OpenSSL
-------

This package is compatible with:
This package is compatible with OpenSSL v1.1.1 or later, though 3.2 or later is
- OpenSSL v1.1.1 or later though 3.2+ is preferred. See (http://www.openssl.org/

Note: There are incompatibilities between OpenSSL 1.1.1 and 3.x, so if this
extension is built against OpenSSL 1.1.1 it will not work with an OpenSSL 3.x
installation or vice versa.
preferred. See http://www.openssl.org/. Please note that there are a few API
incompatibilities between OpenSSL 1.1.1 and 3.x, so if this extension is built
against OpenSSL 1.1.1 it is not binary compatible with OpenSSL 3.x or vice
versa.

TCLTLS
------

There were several changes made in the callback command arguments between
versions 1.7 and 2.0. See the doc/tls.html for what changed and library/tls.tcl
for example handler functions that are backwards compatible.


Installation
============

This package uses the TCL Extension Architecture (TEA) to build and install on
any supported Unix, Mac, or MS Windows system. It depends on the OpenSSL
115
116
117
118
119
120
121
122

123
124
125
126
127
128
129
126
127
128
129
130
131
132

133
134
135
136
137
138
139
140







-
+







==========

Original TLS Copyright (C) 1997-2000 Matt Newman <matt@novadigm.com>
TLS 1.4.1    Copyright (C) 2000 Ajuba Solutions
TLS 1.6      Copyright (C) 2008 ActiveState Software Inc.
TLS 1.7      Copyright (C) 2016 Matt Newman, Ajuba Solutions, ActiveState
                                Software Inc, Roy Keene <tcltls@rkeene.org>
TLS 1.8     Copyright (C) 2023 Brian O'Hagan
TLS 1.8-2.0  Copyright (C) 2023-2024 Brian O'Hagan

Acknowledgments
===============

Non-exclusive credits for TLS are:
   Original work: Matt Newman @ Novadigm
   Updates: Jeff Hobbs @ ActiveState