• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

compat/H29-Nov-2021-4,5123,057

include/H29-Nov-2021-1,8121,373

m4/H29-Nov-2021-9,7458,817

man/H29-Nov-2021-2,8742,790

scripts/H29-Nov-2021-3215

LIBTLS_VERSIONH A D25-Nov-20217 21

Makefile.amH A D29-Nov-20213.7 KiB162131

Makefile.am.commonH A D28-Sep-2021162 43

Makefile.inH A D29-Nov-202198.6 KiB1,6381,481

README.7H A D29-Nov-20212.9 KiB156155

VERSIONH A D29-Nov-20217 31

aclocal.m4H A D29-Nov-202142.3 KiB1,1791,070

compileH A D06-Sep-20217.2 KiB349259

config.guessH A D06-Sep-202148.2 KiB1,7491,522

config.subH A D06-Sep-202134.2 KiB1,8741,687

configureH A D29-Nov-2021482.3 KiB16,82314,116

configure.acH A D29-Nov-20211.8 KiB6752

depcompH A D06-Sep-202123 KiB792502

install-shH A D06-Sep-202115 KiB542352

libtls.pc.inH A D29-Nov-2021334 1411

ltmain.shH A D29-Nov-2021316.6 KiB11,1507,980

missingH A D06-Sep-20216.7 KiB216143

tls.cH A D29-Nov-202119.9 KiB1,008788

tls.symH A D25-Nov-20212 KiB9291

tls_bio_cb.cH A D29-Nov-20213.5 KiB154113

tls_client.cH A D29-Nov-202110.7 KiB489360

tls_config.cH A D29-Nov-202120.3 KiB920740

tls_conninfo.cH A D29-Nov-20218.2 KiB391305

tls_internal.hH A D29-Nov-20218.2 KiB297217

tls_keypair.cH A D02-Oct-20214.1 KiB170126

tls_ocsp.cH A D29-Nov-202111.1 KiB465357

tls_peer.cH A D14-Nov-20172.3 KiB10068

tls_server.cH A D29-Nov-202110.6 KiB454332

tls_util.cH A D29-Nov-20214.5 KiB227157

tls_verify.cH A D29-Nov-20216.6 KiB281180

README.7

1.Dd August  3, 2020
2.Dt README 7
3.Os "Causal Agency"
4.\" To view this file, run: man ./README.7
5.
6.Sh NAME
7.Nm LibreTLS
8.Nd libtls for OpenSSL
9.
10.Sh DESCRIPTION
11.Nm
12is a port of
13.Sy libtls
14from LibreSSL
15to OpenSSL.
16.Lk https://man.openbsd.org/tls_init.3 libtls
17is
18.Do
19a new TLS library, designed to make it easier to write foolproof applications
20.Dc .
21.
22.Pp
23.Sy libtls
24provides an excellent new API,
25but LibreSSL can be difficult to install
26on systems which already use OpenSSL.
27.Nm
28aims to make the
29.Sy libtls
30API more easily and widely available.
31.
32.Ss Releases
33.Nm
34is based on
35.Lk https://www.libressl.org/releases.html LibreSSL-portable
36sources.
37.Nm
38releases track LibreSSL releases,
39starting with version 3.2.0.
40If patches must be released
41between LibreSSL releases,
42the letter
43.Sq p
44followed by an increasing digit
45starting from 1
46will be added to the version number.
47.
48.Pp
49.Nm
50release tarballs are available from
51.Lk https://causal.agency/libretls/ .
52.
53.Ss Compatibility
54The
55.Sy libtls
56provided by
57.Nm
58is ABI-compatible with the
59.Sy libtls
60provided by the corresponding LibreSSL release.
61.
62.Pp
63The behaviour of
64.Nm
65and LibreSSL
66differs in how the root certificates
67are loaded by default.
68LibreSSL uses a hardcoded path to a CA bundle file,
69while
70.Nm
71uses the default CA locations of OpenSSL,
72which may include a CA directory.
73To restore the behaviour of LibreSSL,
74call
75.Xr tls_config_set_ca_file 3
76with the path returned by
77.Xr tls_default_ca_cert_file 3 .
78All other behaviour should be identical.
79.
80.Pp
81.Nm
82targets the OpenSSL 1.1.1 series.
83Due to a bug in OpenSSL,
84only versions 1.1.1b and newer
85are known to work.
86.
87.Ss Platform Support
88.Nm
89should work on the same platforms as
90.Lk https://www.libressl.org/releases.html LibreSSL-portable ,
91though it has not been thoroughly tested
92on platforms other than
93Linux,
94.Fx
95and macOS.
96.
97.Ss License
98.Sy libtls
99consists of all new code
100developed as part of
101.Ox
102under
103.Lk https://www.openbsd.org/policy.html "OpenBSD's preferred license"
104of ISC.
105Some
106.Pa compat
107sources are under the 3-clause BSD license
108or the MIT license.
109.
110.Pp
111.Nm
112is not encumbered by the dual-licensing of OpenSSL
113under both the OpenSSL license
114and the original SSLeay license,
115which are incompatible with
116the GNU General Public License.
117When OpenSSL 3.0 is released
118under the Apache 2.0 license,
119software under the GPLv3
120will be able to link against
121.Nm
122and OpenSSL
123without additional permissions.
124.
125.Sh INSTALLING
126To install from a release tarball,
127run the following:
128.Bd -literal -offset indent
129\&./configure
130make all
131make install
132.Ed
133.
134.Pp
135To install from a git checkout,
136.Sy autoconf ,
137.Sy automake
138and
139.Sy libtool
140are required.
141Run the following before continuing
142with the steps above:
143.Bd -literal -offset indent
144autoreconf -fi
145.Ed
146.
147.Sh AUTHORS
148.Nm
149is maintained by
150.An June Bug Aq Mt june@causal.agency .
151.Pp
152LibreSSL is developed by
153.Lk https://www.openbsd.org "The OpenBSD project" .
154.
155.\" To view this file, run: man ./README.7
156