From: "nobu (Nobuyoshi Nakada)" Date: 2013-05-01T23:00:21+09:00 Subject: [ruby-core:54728] [ruby-trunk - Bug #8221] 2 AES-128-GCM (probably same in AES-256-GCM) bug? Issue #8221 has been updated by nobu (Nobuyoshi Nakada). ruby -v set to 2.1.0 =begin Is this related to (())? 4) Error: test_aes_gcm_wrong_tag(OpenSSL::TestCipher): OpenSSL::Cipher::CipherError: unable to set GCM tag /home/travis/build/ruby/ruby/test/openssl/test_cipher.rb:190:in `auth_tag=' /home/travis/build/ruby/ruby/test/openssl/test_cipher.rb:190:in `test_aes_gcm_wrong_tag' =end ---------------------------------------- Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug? https://bugs.ruby-lang.org/issues/8221#change-39073 Author: nov (nov matake) Status: Assigned Priority: Normal Assignee: MartinBosslet (Martin Bosslet) Category: Target version: 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/