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 nobu (Nobuyoshi Nakada) about 4 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 naruse (Yui NARUSE) almost 4 years ago
#7 [ruby-core:77439] Updated by rhenium (Kazuki Yamaguchi) 9 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