GithubHelp home page GithubHelp logo

jhominal / toytls Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 71 KB

A TLS library in Python written as an exercise to learn TLS 1.2. Not recommended for non-educational use.

License: BSD Zero Clause License

Shell 0.70% Python 99.30%

toytls's Introduction

toytls

Disclaimer - DO NOT USE THIS LIBRARY

toytls was written using Python 3 in March to May 2020, as an exercise to understand TLS 1.2, Python 3 typing annotations and the async/await syntax.

As the result of a learning exercise, this library will crumble like wet cardboard if confronted with any kind of adverse network conditions or unexpected/malformed TLS messages.

In other words, beyond its teaching value in helping understanding TLS, this library should not be used by anyone, for any purpose.

If you want to learn more about TLS 1.2, I can only recommend looking at https://tls12.xargs.org/

Dependencies

The dependencies are listed in requirements.txt.

toytls.https

toytls.https can be used to make a HTTP 1.1 GET request on a given URL.

It can be used on the command line: python -m toytls.https https://www.google.com

Given the toytls disclaimer, this command-line should only be used to connect to trusted web servers.

toytls's People

Contributors

jhominal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.