From: zzak@... Date: 2015-09-13T03:24:51+00:00 Subject: [ruby-core:70778] [Ruby trunk - Bug #10420] Cannot set IV length to OpenSSL::Cipher 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/