test_SSL Module

This file contains tests around SSL

class test_SSL.TestSSL[source]

Bases: object

FORBIDDEN_HASHES = ['md5']
REQUIRED_BITS = 2048
default_hash()[source]

Fixture, providing default hash function.

key_strength()[source]

Fixture, providing SSL key strength.

test_default_hash_function(default_hash)[source]

Confirm default hashing method is not md5

Raises :pytest.Failed
test_default_key_strength(key_strength)[source]

Confirm that the default SSL certificate generation strength is at least 2048 bits.

Raises :pytest.Failed

Previous topic

test_SSHD Module

Next topic

test_SYSLOG Module

This Page