1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/drb/ssl.rb: generate 1024 bits RSA key instead of 512 bits.

OpenSSL 1.0.1 rejects 512 bits RSA key for TLS1.2 with SHA512.
  http://rt.openssl.org/Ticket/Display.html?id=2769&user=guest&pass=guest
  reported by Bohuslav Kabrda.
  [ruby-core:43844] [ruby-trunk - Bug #6221]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2012-04-23 11:15:35 +00:00
parent 8f16d22e99
commit c2086cc7ff
2 changed files with 10 additions and 2 deletions

View file

@ -1,7 +1,15 @@
Mon Apr 23 20:11:02 2012 Tanaka Akira <akr@fsij.org>
* lib/drb/ssl.rb: generate 1024 bits RSA key instead of 512 bits.
OpenSSL 1.0.1 rejects 512 bits RSA key for TLS1.2 with SHA512.
http://rt.openssl.org/Ticket/Display.html?id=2769&user=guest&pass=guest
reported by Bohuslav Kabrda.
[ruby-core:43844] [ruby-trunk - Bug #6221]
Mon Apr 23 19:54:33 2012 Tanaka Akira <akr@fsij.org>
* test/drb/drbtest.rb: rescue Errno::ESRCH for Process.kill.
[ruby-dev:45551] reported by NARUSE, Yui.
reported by NARUSE, Yui. [ruby-dev:45551]
Mon Apr 23 14:16:45 2012 NARUSE, Yui <naruse@ruby-lang.org>

View file

@ -54,7 +54,7 @@ module DRb
return
end
rsa = OpenSSL::PKey::RSA.new(512){|p, n|
rsa = OpenSSL::PKey::RSA.new(1024){|p, n|
next unless self[:verbose]
case p
when 0; $stderr.putc "." # BN_generate_prime