[#65451] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...

Issue #10333 has been updated by Koichi Sasada.

9 messages 2014/10/07

[ruby-core:65864] [ruby-trunk - Bug #10420] [Open] Cannot set IV length to OpenSSL::Cipher

From: tomykaira@...
Date: 2014-10-23 02:53:59 UTC
List: ruby-core #65864
Issue #10420 has been reported by tomy kaira.

----------------------------------------
Bug #10420: Cannot set IV length to OpenSSL::Cipher
https://bugs.ruby-lang.org/issues/10420

* Author: tomy kaira
* Status: Open
* Priority: Normal
* Assignee: 
* Category: ext/openssl
* Target version: 
* 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/

In This Thread

Prev Next