Assert that ciphers are not weak.
This commit is contained in:
parent
824b4d95e5
commit
a97ccae7f0
|
@ -1131,6 +1131,11 @@ describe RestClient::Request, :include_helpers do
|
|||
@request.send(:transmit, @uri, 'req', 'payload')
|
||||
end
|
||||
|
||||
it 'should not have weak default ciphers' do
|
||||
expect(OpenSSL::SSL::SSLContext::DEFAULT_PARAMS.fetch(:ciphers)).not_to \
|
||||
equal("ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW")
|
||||
end
|
||||
|
||||
# </ssl>
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue