From: k@... Date: 2016-07-03T06:59:49+00:00 Subject: [ruby-core:76244] [Ruby trunk Feature#10420][Closed] Cannot set IV length to OpenSSL::Cipher Issue #10420 has been updated by Kazuki Yamaguchi. Tracker changed from Bug to Feature Status changed from Open to Closed Thanks for providing a patch! I made it in a generic way. Please see: https://github.com/ruby/openssl/pull/58 ---------------------------------------- Feature #10420: Cannot set IV length to OpenSSL::Cipher https://bugs.ruby-lang.org/issues/10420#change-59483 * Author: tomy kaira * Status: Closed * Priority: Normal * Assignee: openssl ---------------------------------------- GCM cipher accepts variable iv length, but Ruby OpenSSL implementation does not provide a way to set it. This is critical because ruby cannot decrypt cryptograms whose iv length is not 12 (openssl crypto default). CCM's iv length is also variable, but CCM is not yet supported. So my patch handles only GCM. ---Files-------------------------------- ossl_set_iv_len.patch (3.17 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: