[#70843] Re: [ruby-cvs:58952] hsbt:r51801 (trunk): * lib/rubygems: Update to RubyGems HEAD(fe61e4c112). — Eric Wong <normalperson@...>
hsbt@ruby-lang.org wrote:
3 messages
2015/09/17
[ruby-core:70778] [Ruby trunk - Bug #10420] Cannot set IV length to OpenSSL::Cipher
From:
zzak@...
Date:
2015-09-13 03:24:51 UTC
List:
ruby-core #70778
Issue #10420 has been updated by Zachary Scott. Assignee set to openssl ---------------------------------------- Bug #10420: Cannot set IV length to OpenSSL::Cipher https://bugs.ruby-lang.org/issues/10420#change-54159 * Author: tomy kaira * Status: Open * Priority: Normal * Assignee: openssl * ruby -v: ruby 2.2.0dev (2014-10-23 trunk 48106) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- 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/