From: k@... Date: 2016-09-28T07:40:02+00:00 Subject: [ruby-core:77439] [Ruby trunk Bug#8221][Closed] 2 AES-128-GCM (probably same in AES-256-GCM) bug? 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: