Vít Ondruch
Vít Ondruch
> Commit [6f5a47f](https://github.com/ruby/openssl/commit/6f5a47f1e24ee403181c11a58e35f8c8535fd615) ("test/openssl/test_pkey_rsa: test concatenated PEM parsing") adds a test case and commit [de5277e](https://github.com/ruby/openssl/commit/de5277e57f6487b53959645055807e6913d52aa3) ("pkey: use OSSL_DECODER to load encrypted PEM on OpenSSL 3.0") replaces the problematic change. Thx...
During testing, I have randomly hit the following error: ~~~ 1) Failure: OpenSSL::TestPKey#test_s_generate_parameters [/builddir/build/BUILD/ruby-3.0.2/test/openssl/test_pkey.rb:44]: RuntimeError expected but nothing was raised. ~~~ I cannot reproduce the issue, though :/
Testing Puma against OpenSSL 3.x, I observer the following error: ~~~ 7) Failure: TestPumaControlCli#test_control_ssl [/builddir/build/BUILD/puma-4.3.6/usr/share/gems/gems/puma-4.3.6/test/test_pumactl.rb:170]: Expected /Command\ stop\ sent\ success/ to match "SSL_read: unexpected eof while reading\n". ~~~ It seems...
This naive patch fixes the Puma issue: ~~~ $ git diff diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index 3b425ca..40e748c 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -1812,6 +1812,10 @@ ossl_ssl_read_internal(int argc, VALUE *argv,...
https://github.com/ruby/openssl/blob/8193b7322ece2548eaf3d8acd1aec32bfc2cfdb9/ext/openssl/ossl_pkey_dh.c#L67-L69 Should the example above be updated to not use the deprecated `#generate_key!`?
I have the same error. Would be nice to specify opening encoding of .po files
This still apply for 0.6.1
BTW it still failing with 0.6.9 ;)
Still issue with 0.7.0.
Sorry, I was missing GH notifications for some while :/ This is the command which I am using: ``` $ LANG=C ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' ```