2 AES-128-GCM (probably same in AES-256-GCM) bug?
OpenSSL::Cipher::AES.new(128, :GDM) doesn't work
You can't set iv before key
Sample code here.
#2 [ruby-core:54728] Updated by Nobuyoshi Nakada over 3 years ago
- ruby -v set to 2.1.0
Is this related to ((URL:https://s3.amazonaws.com/archive.travis-ci.org/jobs/6783150/log.txt))?
OpenSSL::Cipher::CipherError: unable to set GCM tag
#5 [ruby-core:56219] Updated by Yui NARUSE over 3 years ago
#7 [ruby-core:77439] Updated by Kazuki Yamaguchi 4 months ago
- 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.
AES-GCM ciphers does not have uppercase short name
The ordering issue of key and IV