Forum: Ruby-core [ruby-trunk - Bug #7818][Open] Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.

Posted by agileanimal (Mark Madsen) (Guest)
on 2013-02-09 21:11
(Received via mailing list)
Issue #7818 has been reported by agileanimal (Mark Madsen).

----------------------------------------
Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
https://bugs.ruby-lang.org/issues/7818

Author: agileanimal (Mark Madsen)
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.3.0]


=begin
Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.

It works as expected on 1.0.1c

When used with 1.0.1d ruby is unable to validate certificates and other 
things might be broken as well.

For example:

    gem install bundler --source https://rubygems.org

will fail when linked to 1.0.1d with:

    ERROR:  While executing gem ... (OpenSSL::SSL::SSLError)
        SSL_read: bad decompression

As noted, openssl 1.0.1c works as expected.
=end
Posted by MartinBosslet (Martin Bosslet) (Guest)
on 2013-02-09 21:31
(Received via mailing list)
Issue #7818 has been updated by MartinBosslet (Martin Bosslet).

Category set to ext
Status changed from Open to Assigned
Assignee set to MartinBosslet (Martin Bosslet)


----------------------------------------
Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
https://bugs.ruby-lang.org/issues/7818#change-36095

Author: agileanimal (Mark Madsen)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.3.0]


=begin
Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.

It works as expected on 1.0.1c

When used with 1.0.1d ruby is unable to validate certificates and other 
things might be broken as well.

For example:

    gem install bundler --source https://rubygems.org

will fail when linked to 1.0.1d with:

    ERROR:  While executing gem ... (OpenSSL::SSL::SSLError)
        SSL_read: bad decompression

As noted, openssl 1.0.1c works as expected.
=end
Posted by bitsweat (Jeremy Kemper) (Guest)
on 2013-02-09 21:57
(Received via mailing list)
Issue #7818 has been updated by bitsweat (Jeremy Kemper).


This is working for me:

2.0.0-rc2 ~ ruby -ropenssl -e 'puts RUBY_DESCRIPTION, 
OpenSSL::OPENSSL_VERSION'
ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.2.0]
OpenSSL 1.0.1d 5 Feb 2013

2.0.0-rc2 ~ gem install bundler --source https://rubygems.org
Successfully installed bundler-1.2.3
Done installing documentation for bundler (0 sec).
1 gem installed
----------------------------------------
Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
https://bugs.ruby-lang.org/issues/7818#change-36096

Author: agileanimal (Mark Madsen)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.3.0]


=begin
Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.

It works as expected on 1.0.1c

When used with 1.0.1d ruby is unable to validate certificates and other 
things might be broken as well.

For example:

    gem install bundler --source https://rubygems.org

will fail when linked to 1.0.1d with:

    ERROR:  While executing gem ... (OpenSSL::SSL::SSLError)
        SSL_read: bad decompression

As noted, openssl 1.0.1c works as expected.
=end
Posted by agileanimal (Mark Madsen) (Guest)
on 2013-02-09 22:51
(Received via mailing list)
Issue #7818 has been updated by agileanimal (Mark Madsen).


I was seeing it fail when it tries to validate without a cacert.pem for 
openssl - but in this case shouldn't it fall back to the pem that comes 
with ruby gems?
----------------------------------------
Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
https://bugs.ruby-lang.org/issues/7818#change-36098

Author: agileanimal (Mark Madsen)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.3.0]


=begin
Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.

It works as expected on 1.0.1c

When used with 1.0.1d ruby is unable to validate certificates and other 
things might be broken as well.

For example:

    gem install bundler --source https://rubygems.org

will fail when linked to 1.0.1d with:

    ERROR:  While executing gem ... (OpenSSL::SSL::SSLError)
        SSL_read: bad decompression

As noted, openssl 1.0.1c works as expected.
=end
Posted by agileanimal (Mark Madsen) (Guest)
on 2013-02-09 23:43
(Received via mailing list)
Issue #7818 has been updated by agileanimal (Mark Madsen).


I am building ruby with 1.0.1d on something that is not a Mac right now 
and will report back  the results.
----------------------------------------
Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
https://bugs.ruby-lang.org/issues/7818#change-36099

Author: agileanimal (Mark Madsen)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.3.0]


=begin
Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.

It works as expected on 1.0.1c

When used with 1.0.1d ruby is unable to validate certificates and other 
things might be broken as well.

For example:

    gem install bundler --source https://rubygems.org

will fail when linked to 1.0.1d with:

    ERROR:  While executing gem ... (OpenSSL::SSL::SSLError)
        SSL_read: bad decompression

As noted, openssl 1.0.1c works as expected.
=end
Posted by agileanimal (Mark Madsen) (Guest)
on 2013-02-10 01:10
(Received via mailing list)
Issue #7818 has been updated by agileanimal (Mark Madsen).


@Martin, you can close this. I think the issue is that the openssl 
1.0.1d bundled with rbenv couldn't find it's cacert.pem.

----------------------------------------
Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
https://bugs.ruby-lang.org/issues/7818#change-36101

Author: agileanimal (Mark Madsen)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.3.0]


=begin
Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.

It works as expected on 1.0.1c

When used with 1.0.1d ruby is unable to validate certificates and other 
things might be broken as well.

For example:

    gem install bundler --source https://rubygems.org

will fail when linked to 1.0.1d with:

    ERROR:  While executing gem ... (OpenSSL::SSL::SSLError)
        SSL_read: bad decompression

As noted, openssl 1.0.1c works as expected.
=end
Posted by MartinBosslet (Martin Bosslet) (Guest)
on 2013-02-10 03:21
(Received via mailing list)
Issue #7818 has been updated by MartinBosslet (Martin Bosslet).

Status changed from Assigned to Closed

Alright, closed. Thanks Mark, for sorting this out!
----------------------------------------
Bug #7818: Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.
https://bugs.ruby-lang.org/issues/7818#change-36112

Author: agileanimal (Mark Madsen)
Status: Closed
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.3.0]


=begin
Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.

It works as expected on 1.0.1c

When used with 1.0.1d ruby is unable to validate certificates and other 
things might be broken as well.

For example:

    gem install bundler --source https://rubygems.org

will fail when linked to 1.0.1d with:

    ERROR:  While executing gem ... (OpenSSL::SSL::SSLError)
        SSL_read: bad decompression

As noted, openssl 1.0.1c works as expected.
=end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.