Giter Site home page Giter Site logo

Comments (5)

zzak avatar zzak commented on May 20, 2024

This is something I definitely need to write/work on.

Thanks for bringing this up and making a formal ticket for it!

from openssl.

rhenium avatar rhenium commented on May 20, 2024
  • there has been no releases of openssl, at all (rubygem.org says "Don't install this!")

I'd like to include gemified ext/openssl in Ruby 2.4.0-preview2 which will be released on September, at least.

https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseEngineering24

  • I don't know how the handling of security issues in openssl works (while Ruby itself has at least some sane solid security procedures).

I don't know if this has been discussed...

  • it's not clear how (in)compatible openssl is wrt the version bundled with Ruby. e.g. can I as distributor rely on it being a drop-in replacement for the bundled openssl library? (now, or even in some future)

As far as I can recall, the following changes can affect existing code.

  • f8eec6b (openssl: make Cipher#key= and #iv= reject too long values)

The followings are due to the incompatibilities in OpenSSL 1.1.0.

  • fcb9b4a (openssl: add SSLContext#ecdh_curves=)
  • 77b4850 (openssl: check existence of RAND_pseudo_bytes())
  • 7ea72f1 (openssl: adapt OpenSSL::PKey to OpenSSL 1.1.0 opaque structs)

I'm sorry as I did suggest you switching to openssl gem, it might not be the best choice for a Ruby 2.3 package... f8eec6b will break existing Rails applications, and it might be also a problem that the user can't load openssl without rubygems.

from openssl.

zzak avatar zzak commented on May 20, 2024

I believe this can be closed now 🙇

from openssl.

terceiro avatar terceiro commented on May 20, 2024

@zzak thanks, it looks good to me! I am looking forward to shipping openssl as a separate module with Ruby 2.4+ (which will only happen for Debian 10 as Debian 9 will ship Ruby 2.3).

@rhenium do you think the 3 commits you linked to (fcb9b4a (openssl: add SSLContext#ecdh_curves=), 77b4850 (openssl: check existence of RAND_pseudo_bytes()), and 7ea72f1 (openssl: adapt OpenSSL::PKey to OpenSSL 1.1.0 opaque structs)) could be backported to Ruby 2.3?

from openssl.

rhenium avatar rhenium commented on May 20, 2024

@terceiro They 3 changes are necessary to make it compile with OpenSSL 1.1.0. As for the second one (77b4850), the removed OpenSSL::Random.pseudo_bytes can be changed to an alias for OpenSSL::Random.random_bytes. I don't think there is a way to provide shims for others.

I'm closing this issue, but let me know if there is anything I can help!

from openssl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.