From 281baf4218ab08ce04bce38ad5f4cf5498ff96fc Mon Sep 17 00:00:00 2001 From: Colin Surprenant Date: Tue, 3 Sep 2019 14:22:42 -0400 Subject: [PATCH] use 2048 bits key Fixes #11115 --- logstash-core/spec/logstash/patches_spec.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/logstash-core/spec/logstash/patches_spec.rb b/logstash-core/spec/logstash/patches_spec.rb index f97d4ea20..e9c7739bd 100644 --- a/logstash-core/spec/logstash/patches_spec.rb +++ b/logstash-core/spec/logstash/patches_spec.rb @@ -36,9 +36,7 @@ describe "OpenSSL defaults" do # https://github.com/jordansissel/ruby-flores/blob/master/spec/flores/pki_integration_spec.rb # since these helpers were created to fix this particular issue let(:csr) { Flores::PKI::CertificateSigningRequest.new } - # Here, I use a 1024-bit key for faster tests. - # Please do not use such small keys in production. - let(:key_bits) { 1024 } + let(:key_bits) { 2048 } let(:key) { OpenSSL::PKey::RSA.generate(key_bits, 65537) } let(:certificate_duration) { Flores::Random.number(1..86400) }