asynts
938e5c7719
Everywhere: Replace a bundle of dbg with dbgln.
...
These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.Everything:
The modifications in this commit were automatically made using the
following command:
find . -name '*.cpp' -exec sed -i -E 's/dbg\(\) << ("[^"{]*");/dbgln\(\1\);/' {} \;
2021-01-09 21:11:09 +01:00
Andreas Kling
d5600e966a
LibTLS+LibCrypto: Remove all remaining uses of ByteBuffer::wrap()
2020-12-19 18:29:13 +01:00
Andreas Kling
e517505e35
LibTLS: Even more ByteBuffer -> Span conversion
2020-12-19 18:29:13 +01:00
Andreas Kling
8e20208dd6
LibTLS+LibCrypto: Replace a whole bunch of ByteBuffers with Spans
2020-12-19 18:29:13 +01:00
AnotherTest
37c089fb7b
LibTLS: (Almost) verify certificate chain against root CA certificates
...
Also adds a very primitive systemwide ca_certs.ini file.
2020-10-30 23:42:03 +01:00
asynts
10c6f062b3
AK: Add Endian.h header to replace NetworkOrdered.h.
2020-08-25 16:22:14 +02:00
AnotherTest
0be3937be7
LibTLS: Do not process_message() the finished message twice
...
With two different sequence numbers to boot!
Fixes #3273
2020-08-24 09:29:39 +02:00
AnotherTest
9d3ffa096a
LibTLS: Add (basic) support for sending client certificates
2020-08-02 18:57:51 +02:00
AnotherTest
d54d2892a9
LibTLS: Avoid busy-wait between ClientHello and ServerHello
...
This commit also adds a timeout timer to cancel the connection if the
server does not respond to the hello request in 10 seconds.
2020-05-30 18:26:13 +02:00
Andreas Kling
c1dd67e792
LibCrypto+LibTLS: Use AK/Random.h
...
This makes it possible to build both of these on Linux.
2020-05-27 12:28:17 +02:00
Andreas Kling
5049e41223
LibTLS: Put lots of debug spam behind TLS_DEBUG
2020-05-26 23:46:28 +02:00
AnotherTest
af1ce6c33d
LibTLS: Verify server certificate expiry date
2020-05-07 10:23:58 +02:00
AnotherTest
0da07c284e
LibTLS: Implement build_alert()
2020-05-02 12:24:10 +02:00
AnotherTest
dace14e70d
LibTLS: Split TLSv12 to sensible categorical files
...
This commit splits the TLSv12 file into multiple files, and also removes
some magic values, to make the code less horrible. :^)
2020-05-02 12:24:10 +02:00