jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
JRuby
  • JRuby
  • JRUBY-5035

Merge JRuby-OSSL

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: JRuby 1.7.0.pre1
  • Component/s: Extensions, OpenSSL
  • Labels:
    None
  • Environment:
    N/A
  • Number of attachments :
    0

Description

Merge JRuby-OSSL to JRuby.

  • no BC jars inclusion.
  • works without warnings as to the extent possible.
  • warns when user tries to use some features which depends BC jars.
  • no warnings after installing bouncy-castle-java gem.

Discussion at jruby-user ML:

  • gmame: http://thread.gmane.org/gmane.comp.lang.jruby.user/12936
  • nabble: http://old.nabble.com/feature-request:-package-jruby-openssl-gem-td29361411.html

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Hiroshi Nakamura added a comment - 07/Oct/10 8:52 PM

Here's the merge policy.

  • Do not add BC jars in JRuby distribution
  • Should detect BC jars when rubygems is loaded and bouncy-castle-java is installed as a gem
  • Do not require rubygems automatically: even if bouncy-castle-java gem is installed
    % jruby -S gem install bouncy-castle-java
    % jruby -ropenssl -e ‘p OpenSSL::SSL’ => Error
    % jruby -rubygems -ropenssl -e ‘p OpenSSL::SSL’ => OK
    

Done almost in ossl branch. I'll merge it before 1.6.

Show
Hiroshi Nakamura added a comment - 07/Oct/10 8:52 PM Here's the merge policy. Do not add BC jars in JRuby distribution Should detect BC jars when rubygems is loaded and bouncy-castle-java is installed as a gem Do not require rubygems automatically: even if bouncy-castle-java gem is installed % jruby -S gem install bouncy-castle-java % jruby -ropenssl -e ‘p OpenSSL::SSL’ => Error % jruby -rubygems -ropenssl -e ‘p OpenSSL::SSL’ => OK Done almost in ossl branch. I'll merge it before 1.6.
Hide
Permalink
Charles Oliver Nutter added a comment - 20/Oct/10 4:26 PM

So if I understand right, rubygems must be loaded and bouncy-castle-java gem must be installed for OpenSSL::SSL to work properly?

Show
Charles Oliver Nutter added a comment - 20/Oct/10 4:26 PM So if I understand right, rubygems must be loaded and bouncy-castle-java gem must be installed for OpenSSL::SSL to work properly?
Hide
Permalink
Duncan Mak added a comment - 15/Sep/11 11:12 AM

I checked out the ossl branch. It looks like a lot of work is already in place. What's missing?

Show
Duncan Mak added a comment - 15/Sep/11 11:12 AM I checked out the ossl branch. It looks like a lot of work is already in place. What's missing?
Hide
Permalink
Hiroshi Nakamura added a comment - 29/Apr/12 3:34 AM

Charles began the work.

Show
Hiroshi Nakamura added a comment - 29/Apr/12 3:34 AM Charles began the work.
Hide
Permalink
Hiroshi Nakamura added a comment - 29/Apr/12 8:51 PM

Charles's branch: https://github.com/headius/jruby/tree/builtin_ssl
Squashed merge commit (for easily reversion): https://github.com/jruby/jruby/commit/82f049beaca8f0f69e191c7bc2da0c32879c7ddb

I'm clearing me from assignee because the merge is already happened. Possibly it's OK to close.

Show
Hiroshi Nakamura added a comment - 29/Apr/12 8:51 PM Charles's branch: https://github.com/headius/jruby/tree/builtin_ssl Squashed merge commit (for easily reversion): https://github.com/jruby/jruby/commit/82f049beaca8f0f69e191c7bc2da0c32879c7ddb I'm clearing me from assignee because the merge is already happened. Possibly it's OK to close.
Hide
Permalink
Charles Oliver Nutter added a comment - 29/Apr/12 10:02 PM

I merged everything to master, and this will go out with 1.7. Any additional issues should be filed separately.

Show
Charles Oliver Nutter added a comment - 29/Apr/12 10:02 PM I merged everything to master, and this will go out with 1.7. Any additional issues should be filed separately.

People

  • Assignee:
    Charles Oliver Nutter
    Reporter:
    Hiroshi Nakamura
Vote (0)
Watch (1)

Dates

  • Created:
    23/Aug/10 6:12 AM
    Updated:
    29/Apr/12 10:02 PM
    Resolved:
    29/Apr/12 10:02 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.