Project

General

Profile

Actions

Feature #10420

closed

Cannot set IV length to OpenSSL::Cipher

Added by tomykaira (tomy kaira) about 10 years ago. Updated over 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:65864]

Description

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) ossl_set_iv_len.patch Patch that fixes this problem tomykaira (tomy kaira), 10/23/2014 02:53 AM

Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #8667: Unable to set OpenSSL GCM iv_length in RubyClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0