From: "naruse (Yui NARUSE)" Date: 2013-07-27T15:10:06+09:00 Subject: [ruby-core:56219] [ruby-trunk - Bug #8221] 2 AES-128-GCM (probably same in AES-256-GCM) bug? Issue #8221 has been updated by naruse (Yui NARUSE). http://rbci.lakewood.privs.net/ruby-trunk/log/20130726T230003Z.log.html.gz also relates this ---------------------------------------- Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug? https://bugs.ruby-lang.org/issues/8221#change-40707 Author: nov (nov matake) Status: Assigned Priority: Normal Assignee: openssl Category: ext/openssl Target version: current: 2.1.0 ruby -v: 2.1.0 Backport: 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 -- http://bugs.ruby-lang.org/