Skip to content

DouglasKooChenSoon/illustrated-tls13

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Illustrated TLS Connection

Published at https://tls13.ulfheim.net

  • site/: page source for the finished product
  • server/main.c: server code
  • client/main.c: client code
  • boringssl/: patch of boringssl that removes any random aspects of the documented connection
  • captures/: PCAP and keylog files

See also https://github.com/syncsynchalt/illustrated-tls for a TLS 1.2 version of this project.

Build instructions

If you'd like a working example that reproduces the exact handshake documented on the site:

git clone https://github.com/syncsynchalt/illustrated-tls13.git
cd illustrated-tls13/
cd boringssl/
make
cd ../server/
make
cd ../client/
make

Then open two terminals and run ./server in the server/ subdir and ./client in the client/ subdir.

This has been shown to work on MacOS 10.14 and various Linuxes and only has a few easy-to-find dependencies: gcc or clang, golang, cmake, make, patch.

About

The Illustrated TLS 1.3 Connection: Every byte explained

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 60.9%
  • C 26.4%
  • CSS 6.4%
  • Makefile 2.7%
  • JavaScript 2.6%
  • Shell 1.0%