1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00
serenity/Userland/Libraries/LibTLS
Michiel Visser 976bb715e0 LibTLS: Correct matching hostname with certificate subject
The wildcard specified in a certificates subject can only match a single
level of subdomains. Originally, this function could match multiple
levels of subdomains with a single "*.".

As an example, https://wrong.host.badssl.com/ should fail to load, as
the certificate provided by the server only specifies "*.badssl.com".
However this was correctly matching anyway. With this change this page
now correctly fails to load.
2022-04-17 10:10:19 +04:30
..
Certificate.cpp LibTLS: Verify the certificate chain sent by the server 2022-04-17 10:10:19 +04:30
Certificate.h LibTLS: Verify the certificate chain sent by the server 2022-04-17 10:10:19 +04:30
CipherSuite.h LibCrypto+LibTLS: Generalize the elliptic curve interface 2022-03-20 00:51:50 +03:30
CMakeLists.txt LibTLS: Rework method names and arrangement in cpp files 2021-05-19 09:18:45 +02:00
Handshake.cpp LibTLS: Verify the certificate chain sent by the server 2022-04-17 10:10:19 +04:30
HandshakeCertificate.cpp LibTLS: Verify the certificate chain sent by the server 2022-04-17 10:10:19 +04:30
HandshakeClient.cpp LibTLS: Add references to RFC5246 for the verify procedure 2022-04-17 10:10:19 +04:30
HandshakeServer.cpp LibTLS: Add references to RFC5246 for the verify procedure 2022-04-17 10:10:19 +04:30
Record.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Socket.cpp LibCore+Everywhere: Make Core::Stream::read() return Bytes 2022-04-16 13:27:51 -04:00
TLSPacketBuilder.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TLSv12.cpp LibTLS: Correct matching hostname with certificate subject 2022-04-17 10:10:19 +04:30
TLSv12.h LibTLS: Simplify the way verify_chain is called 2022-04-17 10:10:19 +04:30