Bug #8221

2 AES-128-GCM (probably same in AES-256-GCM) bug?

Added by nov matake about 1 year ago. Updated 3 months ago.

[ruby-core:54001]
Status:Assigned
Priority:Normal
Assignee:openssl
Category:ext/openssl
Target version:current: 2.2.0
ruby -v:2.1.0 Backport:

Description

  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

History

#1 Updated by Yui NARUSE about 1 year ago

  • Tracker changed from Backport to Bug
  • Project changed from Backport200 to ruby-trunk
  • Status changed from Open to Assigned
  • Assignee set to Martin Bosslet

#2 Updated by Nobuyoshi Nakada 12 months 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))?

4) Error:
testaesgcmwrongtag(OpenSSL::TestCipher):
OpenSSL::Cipher::CipherError: unable to set GCM tag
/home/travis/build/ruby/ruby/test/openssl/testcipher.rb:190:in auth_tag='
/home/travis/build/ruby/ruby/test/openssl/test_cipher.rb:190:in
test
aesgcmwrong_tag'
=end

#3 Updated by Yui NARUSE 11 months ago

  • Category set to ext/openssl
  • Target version set to 2.1.0

#4 Updated by Yui NARUSE 11 months ago

  • Assignee changed from Martin Bosslet to openssl

#6 Updated by Hiroshi SHIBATA 3 months ago

  • Target version changed from 2.1.0 to current: 2.2.0

Also available in: Atom PDF