-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should this work with Ruby 2.x? Its not for me #2
Comments
I've noticed this problem, too. Something in the Ruby 2 core has changed and made this work-around non-functional. I'm working to add PKCS8 support to krypt to avoid needing this module in the first place. When that's done then there will be support in Ruby 2.0 and 2.1. |
Seeing the same here. |
Heh, Yeah, I discovered the problem while trying to make chef_metal 0.11.beta2 work. Was about to let you (jkeiser) know once I got confirmation it wasn’t just me |
I'm having some trouble getting this working again due to other issues piling on. OpenSSL, as the Heartbeed bug demonstrated, is a pretty awful codebase to work with. Apple's been trying to cut ties with that toxic library and the default OpenSSL layer that ships with 10.9 has broken PKCS8 support making it harder to test this and develop a work-around. |
Somehow (OSX 10.9.3) (PS: The main reason why I use this gem sometimes is that Chrome WebStore requires key.pem in PKCS8 format.) |
That's an interesting combination. Do you have the OpenSSL library installed independent of the operating system, such as via Homebrew or MacPorts? Are you using RVM which sometimes installs its own version? I've had no trouble compiling 1.9.3 versions in the past, but 2.x has never worked for me, the internal structures have changed. This sort of hack shouldn't be necessary as the Ruby OpenSSL library should have a |
I had just |
somehow, |
Well, perhaps you can use https://github.com/cielavenir/openssl_pkcs8_pure, which also has DSA/EC and jruby support (only RSA though) |
I'm running on Max OS X 10.9.3 and rvm.
I have a simple test script:
If I use
ruby-1.9.3-p484
the test script works fine.If I use rvm to switch to any of the following
it doesn't work and I get something like:
Is it something in my environment? Or something else?
The text was updated successfully, but these errors were encountered: