Skip to content

tianlai/tlsdr

 
 

Repository files navigation

TLS;DR

Transport Layer Security; Didn't Read

That's the general philosophy of most people having to support apps that need secure connections.

This project aims to fix that by making TLS more human readable.

Running the Vagrant machine

  1. Install Vagrant (and VirtualBox)
  2. Run this to setup your box
vagrant up && vagrant ssh
  1. Profit!

Creating PCAPs for testing

Once SSHed into the vagrant box, run this

sudo su - 
cd /vagrant/test
./bootstrap.sh

The Certificate Authorities

There are 2 certificate authorities created using carb

/vagrant/test/goodca
/vagrant/test/badca

Both have a password of tlsdr.

The Certificates

When we say certificate in this section, we actually mean certificate+key pair.

goodca
  - trusted    (CN:trusted.demo.com)
  - mutual     (CN:mutual.demo.com)
  - goodclient (CN:goodclient)
badca
  - bad        (CN:bad.demo.com)
  - badclient  (CN:badclient)

The development environment

This project uses gom for dependency management.

  1. If you haven't already, set your $GOPATH
  2. Make sure $GOPATH/bin is in your $PATH
  3. Go Get gom
go get github.com/mattn/gom
  1. Say gom when you mean go. E.g.
gom run tlsdr.go
  1. When you need new dependencies, modify Gomfile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 59.1%
  • Ruby 19.9%
  • Shell 13.9%
  • HTML 5.5%
  • Nginx 1.6%