Project

sslshake

0.16
No commit activity in last 3 years
No release in over 3 years
This is a library to simulate SSL and TLS handshake from SSLv2, SSLv3, to TLS 1.0-1.2. It does not rely on OpenSSL and is not designed as a replacement either. It targets full support for even older handshakes, which are not available in current releases of OpenSSL anymore. It also aims to be executable on all systems with a sufficiently modern version of Ruby without any additional requirements or pre-compiled binaries.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

sslshake

Tiny Ruby library to simulate SSL and TLS handshakes. Independent of OpenSSL. Supports SSLv2, SSLv3, TLS 1.0 - 1.2.

Requirements

  • Ruby v1.9.3+

Usage

require 'sslshake'
SSLShake.hello('my.host', port: 4443, protocol: 'tls1.2')

Test (requires Docker)

bundle install
bundle exec test/accuracy/test.rb

License

MPLv2, see https://www.mozilla.org/en-US/MPL/2.0/