From: cfoo@... Date: 2016-09-27T21:11:46+00:00 Subject: [ruby-core:77431] [Ruby trunk Bug#12794] Invalid ASN1 from OpenSSL::X509::Requests Issue #12794 has been reported by Chris Foo. ---------------------------------------- Bug #12794: Invalid ASN1 from OpenSSL::X509::Requests https://bugs.ruby-lang.org/issues/12794 * Author: Chris Foo * Status: Open * Priority: Normal * Assignee: openssl * ruby -v: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- Running #to_der and #to_pem when linked to OpenSSL 1.0.1g+ outputs invalid ASN1. It seems to output valid ASN1 with 1.0.1f. It appears that the last object identifier field is missing in the invalid output. Output from the openssl tools (i.e. openssl req) seems to be valid. Environment: Ubuntu 16.04. ---Files-------------------------------- 1.0.1f.out (422 Bytes) 1.0.1g.out (458 Bytes) openssl_test.rb (748 Bytes) 1.0.1u.out (461 Bytes) 1.0.2j.out (461 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: