Actions
Bug #8221
closed2 AES-128-GCM (probably same in AES-256-GCM) bug?
Description
-
OpenSSL::Cipher::AES.new(128, :GDM) doesn't work
-
You can't set iv before key
Sample code here.
https://gist.github.com/nov/5311749
Updated by naruse (Yui NARUSE) over 11 years ago
- Tracker changed from Backport to Bug
- Project changed from Backport200 to Ruby master
- Status changed from Open to Assigned
- Assignee set to MartinBosslet (Martin Bosslet)
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- ruby -v set to 2.1.0
=begin
Is this related to ((URL:https://s3.amazonaws.com/archive.travis-ci.org/jobs/6783150/log.txt))?
- 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:inauth_tag=' /home/travis/build/ruby/ruby/test/openssl/test_cipher.rb:190:in
test_aes_gcm_wrong_tag'
=end
Updated by naruse (Yui NARUSE) over 11 years ago
- Category set to ext/openssl
- Target version set to 2.1.0
Updated by naruse (Yui NARUSE) over 11 years ago
- Assignee changed from MartinBosslet (Martin Bosslet) to 7150
Updated by naruse (Yui NARUSE) over 11 years ago
Updated by hsbt (Hiroshi SHIBATA) almost 11 years ago
- Target version changed from 2.1.0 to 2.2.0
Updated by rhenium (Kazuki Yamaguchi) about 8 years 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
https://github.com/ruby/openssl/commit/2ed10db12deb114066443b4a0f1ffd49a8f612b2
-
The ordering issue of key and IV
https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062
Updated by usa (Usaku NAKAMURA) over 7 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: REQUIRED to 2.2: WONTFIX, 2.3: DONE, 2.4: DONTNEED
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0Like0