Skip to content

Commit

Permalink
use 2048 bits key
Browse files Browse the repository at this point in the history
  • Loading branch information
colinsurprenant committed Sep 3, 2019
1 parent 28345e8 commit 974da8c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions logstash-core/spec/logstash/patches_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
# 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) }

Expand Down

0 comments on commit 974da8c

Please sign in to comment.