Issue #8439 has been updated by MartinBosslet (Martin Bosslet).


vo.x (Vit Ondruch) wrote:
> Might be related/duplicate to #8221

Yes, very much sounds like it. I need to take a deeper look at what happens in the OpenSSL implementation that might explain the random failures.
----------------------------------------
Bug #8439: test_aes_gcm_wrong_tag(OpenSSL::TestCipher) fails randomly
https://bugs.ruby-lang.org/issues/8439#change-40312

Author: vo.x (Vit Ondruch)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext
Target version: current: 2.1.0
ruby -v: ruby -v: ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
 7) Error:
 test_aes_gcm_wrong_tag(OpenSSL::TestCipher):
 OpenSSL::Cipher::CipherError: unable to set GCM tag
     /builddir/build/BUILD/ruby-2.0.0-p195/test/openssl/test_cipher.rb:190:in `auth_tag='
     /builddir/build/BUILD/ruby-2.0.0-p195/test/openssl/test_cipher.rb:190:in `test_aes_gcm_wrong_tag'

I am building ruby against openssl-1.0.1e-8.el7.x86_64
=end



-- 
http://bugs.ruby-lang.org/