ObjFW  History of src/OFTLSStream.m of 9a6b5d6cc44f538a

History of file src/OFTLSStream.m at check-in 9a6b5d6cc44f538a

2024-11-13
23:46
OFOpenSSLTLSStream: Use more error codes file: [78c4319f41] check-in: [fa9652e096] user: js, branch: trunk, size: 5081 [annotate] [blame] [check-ins using] [diff]
2024-11-12
00:28
OFTLSStream: Add more error codes file: [698fb25b59] check-in: [448629661d] user: js, branch: trunk, size: 5091 [annotate] [blame] [check-ins using] [diff]
2024-04-29
21:42
Properly hide private symbols file: [9bf5b732e6] check-in: [f16bccc7b3] user: js, branch: trunk, size: 4560 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [cdc1005db6] check-in: [7413a728a7] user: js, branch: trunk, size: 4539 [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
Update copyright file: [22db768987] check-in: [7324ec8590] user: js, branch: 1.0, size: 4447 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [27008f3718] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 4331 [annotate] [blame] [check-ins using] [diff]
2023-10-15
12:32
Add -[OFStream lowlevelIsAtEndOfStream]

This allows for a much cleaner solution to avoid the internal read
buffer of e.g. a TLS connection never being processed while waiting for
a delimiter. file: [0b19f7bfbb] check-in: [a61e0594b4] user: js, branch: trunk, size: 4331 [annotate] [blame] [check-ins using] [diff]

2023-08-30
15:02
Add OFTLSStreamImplementation to Amiga .library file: [3d2bc34baf] check-in: [8a48cff63c] user: js, branch: amiga-library, size: 4617 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [4de584ae09] check-in: [8939cbdb52] user: js, branch: trunk, size: 4447 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [01bd29e506] check-in: [1a86b8175b] user: js, branch: trunk, size: 4447 [annotate] [blame] [check-ins using] [diff]
2021-11-21
10:40
OFTLSStream: wrappedStream -> underlyingStream file: [de0cb549c8] check-in: [3ed8cf7a52] user: js, branch: trunk, size: 4447 [annotate] [blame] [check-ins using] [diff]
00:30
Add OFGnuTLSTLSStream file: [659fa26933] check-in: [6b4dd1f24f] user: js, branch: trunk, size: 4417 [annotate] [blame] [check-ins using] [diff]
2021-11-20
13:18
Move TLS implementations to a separate library

These implementations all depend on additional libraries that are
otherwise not needed for an ObjFW application that does not use TLS,
meaning they would add unnecessary dependencies for a lot of
applications and waste memory. file: [ab25ba8801] check-in: [8f8af474fc] user: js, branch: trunk, size: 4331 [annotate] [blame] [check-ins using] [diff]

2021-11-13
20:28
Add OFSecureTransportTLSStream

This implements OFTLSStream using Apple's Secure Transport. While Secure
Transport is declared deprecated by Apple, Apple so far has failed to
provide a suitable replacement. They recommend Network.framework as a
replacement, however it can neither work on arbitrary sockets, nor can
it do STARTTLS. file: [6023c3c0c6] check-in: [112eb62f7b] user: js, branch: trunk, size: 4220 [annotate] [blame] [check-ins using] [diff]

13:04
Renamed src/OFTLSSocket.m → src/OFTLSStream.m. Completely rework the TLS/SSL API

The previous API could never work cleanly and would always require
hacks, as it needed intercepting all interactions of OFTCPSocket with
the raw socket and did not work at all if the OFTCPSocket had anything
in its read buffer before starting the TLS handshake. This also could
not be fixed easily, as it would have required the object to contain two
read buffers, one for the unencrypted connection and one for the
encrypted connection. There was also no clean way to perform the
handshake in a non-blocking way.

The new API is a lot cleaner and requires none of the hacks, but using
it requires slightly more work. But this is more than made up for by
making a fully asynchronous handshake possible. It uses the concept of a
stream wrapping another stream, meaning the entire connecting part is
being handled by OFTCPSocket and then the connected socket is passed off
to OFTLSStream to wrap it. This also makes for a lot cleaner separation
of concerns. file: [53f8754aca] check-in: [d30efa8bbf] user: js, branch: trunk, size: 3817 [annotate] [blame] [check-ins using] [diff]

2021-11-07
19:39
OFTLSSocket: Reduce methods to override file: [dab6e3fd2b] check-in: [79ac3fe177] user: js, branch: trunk, size: 4646 [annotate] [blame] [check-ins using] [diff]
2021-11-06
17:36
Fix OFTLSSocket for the case sockets are not FDs file: [d04b51f1a5] check-in: [746ddd7d7f] user: js, branch: trunk, size: 4709 [annotate] [blame] [check-ins using] [diff]
00:10
Added: Make OFTLSSocket an abstract class

This should make it easier to add TLS support using various
implementations. file: [d6f41e909e] check-in: [34cb121dc5] user: js, branch: trunk, size: 4757 [annotate] [blame] [check-ins using]