0.0
No commit activity in last 3 years
No release in over 3 years
Cucumber step file definitions for sslscan
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0
~> 12
~> 6

Runtime

 Project Readme

Gem Version

sslscan_steps

sslscan_steps provides cucumber step definitions for executing SSL/TLS protocol scans with the sslscan tool.

It uses the sslscan_wrapper gem for interaction with sslscan.

Usage

In your Gemfile:

gem 'sslscan_steps'

In your support/env.rb:

require 'sslscan_steps'

Use the steps in your feature files:

Feature: SSL/TLS protocol parameters
  To be a responsible site operator my website must support
  state-of-the-art encryption protocols.

  Scenario: Host must support strong encryption
    Given the target host for sslscan is markusbenning.de
    And the target port for sslscan is 443
    When the sslscan is executed
    Then the scanned hostname is markusbenning.de
    Then the scanned host certificate signature algorithm is sha256WithRSAEncryption
    Then the scanned host certificate is not self-signed
    Then the scanned host certificate is not expired
    Then the scanned host is not vulnerable to heartbleed
    Then the scanned host must support the cipher ECDHE-RSA-AES128-GCM-SHA256
    Then the scanned host must support sslversion TLSv1.2

More Examples

See features/.