[ruby-core:77439] [Ruby trunk Bug#8221][Closed] 2 AES-128-GCM (probably same in AES-256-GCM) bug?

From: k@...
Date: 2016-09-28 07:40:02 UTC
List: ruby-core #77439
Issue #8221 has been updated by Kazuki Yamaguchi.

Status changed from Assigned to Closed
Backport set to 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: REQUIRED

Fixed by the following commits at ruby/openssl.

1. AES-GCM ciphers does not have uppercase short name

    https://github.com/ruby/openssl/commit/2ed10db12deb114066443b4a0f1ffd49a8f612b2

2. The ordering issue of key and IV

    https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062

----------------------------------------
Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug?
https://bugs.ruby-lang.org/issues/8221#change-60699

* Author: nov matake
* Status: Closed
* Priority: Normal
* Assignee: openssl
* ruby -v: 2.1.0
* Backport: 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: REQUIRED
----------------------------------------
1. OpenSSL::Cipher::AES.new(128, :GDM) doesn't work

2. You can't set iv before key

Sample code here.
https://gist.github.com/nov/5311749




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next