Forum: Ruby-core [Backport 200 - Backport #8221][Open] 2 AES-128-GCM (probably same in AES-256-GCM) bug?

48ae3f36c0d73d2fa0f07f99ed5f66fd?d=identicon&s=25 nov (nov matake) (Guest)
on 2013-04-04 20:05
(Received via mailing list)
Issue #8221 has been reported by nov (nov matake).

----------------------------------------
Backport #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug?
https://bugs.ruby-lang.org/issues/8221

Author: nov (nov matake)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


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
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-05-01 16:01
(Received via mailing list)
Issue #8221 has been updated by nobu (Nobuyoshi Nakada).

ruby -v set to 2.1.0

=begin
Is this related to
((<URL:https://s3.amazonaws.com/archive.travis-ci.org/job...))?

   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
9361878d459f1709feec780518946ee5?d=identicon&s=25 naruse (Yui NARUSE) (Guest)
on 2013-05-27 10:12
(Received via mailing list)
Issue #8221 has been updated by naruse (Yui NARUSE).

Category set to ext/openssl
Target version set to current: 2.1.0


----------------------------------------
Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug?
https://bugs.ruby-lang.org/issues/8221#change-39539

Author: nov (nov matake)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext/openssl
Target version: current: 2.1.0
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
9361878d459f1709feec780518946ee5?d=identicon&s=25 naruse (Yui NARUSE) (Guest)
on 2013-05-27 10:14
(Received via mailing list)
Issue #8221 has been updated by naruse (Yui NARUSE).

Assignee changed from MartinBosslet (Martin Bosslet) to openssl


----------------------------------------
Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug?
https://bugs.ruby-lang.org/issues/8221#change-39540

Author: nov (nov matake)
Status: Assigned
Priority: Normal
Assignee: openssl
Category: ext/openssl
Target version: current: 2.1.0
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
9361878d459f1709feec780518946ee5?d=identicon&s=25 naruse (Yui NARUSE) (Guest)
on 2013-07-27 08:10
(Received via mailing list)
Issue #8221 has been updated by naruse (Yui NARUSE).


http://rbci.lakewood.privs.net/ruby-trunk/log/2013...
also relates this
----------------------------------------
Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug?
https://bugs.ruby-lang.org/issues/8221#change-40707

Author: nov (nov matake)
Status: Assigned
Priority: Normal
Assignee: openssl
Category: ext/openssl
Target version: current: 2.1.0
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
Eabad423977cfc6873b8f5df62b848a6?d=identicon&s=25 unknown (Guest)
on 2014-01-30 07:23
(Received via mailing list)
Issue #8221 has been updated by Hiroshi SHIBATA.

Target version changed from 2.1.0 to current: 2.2.0

----------------------------------------
Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug?
https://bugs.ruby-lang.org/issues/8221#change-44773

* Author: nov matake
* Status: Assigned
* Priority: Normal
* Assignee: openssl
* Category: ext/openssl
* Target version: current: 2.2.0
* ruby -v: 2.1.0
* Backport:
This topic is locked and can not be replied to.