Open tibbon opened 6 years ago
Everything works fine under Ruby 2.3.1.
These are about the only things I've been able to find about CTRL_NOT_IMPLEMENTED
https://github.com/sfackler/rust-openssl/issues/556 https://github.com/grpc/grpc/blob/master/src/boringssl/err_data.c#L864
@tibbon I've made some changes around Ruby support. If you're pegged to Ruby 2.3, can you retry with gala v0.3.2?
If you're not pegged to Ruby v2.3, can you upgrade to gala v0.4 which support Ruby 2.4 and above?
Thank you!
In Ruby 2.3.7 I'm hitting some significant problems.
First, simply running
bundle install
from this repo doesn't seem to installaead
, since when I run the tests or pull open a pry/irb console and try torequire 'aead'
it says file not found. I had to check out that repo manually, do agem build
and install it from there globally.Once that's done, I'm getting a
ArgumentError: ciphertext failed authentication step
error, which is also happening in my application when thedecrypt
operation is attempted. See below:My Ruby and System OpenSSL install are using the same version:
I've tried commenting out the
rescue
from~/.rbenv/versions/2.3.7/lib/ruby/gems/2.3.0/gems/aead-1.8.2/lib/aead/cipher/aes_gcm.rb:49
and then get a slightly different error ofOpenSSL::Cipher::CipherError: CTRL_NOT_IMPLEMENTED
:Any ideas?