Code Monkey home page Code Monkey logo

btls's Introduction

btls

btls is a TLS and cryptography library for Haskell. It’s built on top of BoringSSL, Google’s audited fork of OpenSSL.

Although BoringSSL does not have a stable API or ABI, we expect that btls will converge to a stable API before we release btls version 1. In the meantime, the API remains unstable, we do not follow the Package Versioning Policy, and we will not post btls on Hackage.

btls is not production ready yet. It is feature-incomplete and has not undergone review or auditing.

Building

btls includes a copy of BoringSSL as a Git submodule. Ensure you’ve checked out that submodule before building. If you’ve just cloned btls, git submodule update --init should do it. You’ll also need all of BoringSSL’s build dependencies. On Debian, run

apt install cmake gcc g++ golang ninja-build perl

to install them. You do not need to build BoringSSL itself; btls’s Setup.hs will take care of that for you.

btls needs GHC, c2hs and a few Haskell libraries to build. On Debian,

apt install c2hs ghc libghc-gtk2hs-buildtools-dev

should get you everything you need; you can also run

apt install libghc-{base16-bytestring,monad-loops,smallcheck,tasty,tasty-hunit,tasty-smallcheck}-dev

if you want to install everything you can through APT instead of Cabal. Once you’ve done so, you can build and run the test suite.

cabal new-build tests
dist-newstyle/build/btls-*/build/tests/tests

This is not an official Google product.

This product includes cryptographic software written by Eric Young.

This product includes software written by Tim Hudson.

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit.

btls's People

Contributors

bbarenblat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.