[ruby-core:94210] [Ruby master Bug#8178] OpenSSL::PKCS7::SignerInfo

From: merch-redmine@...
Date: 2019-08-08 23:26:50 UTC
List: ruby-core #94210
Issue #8178 has been updated by jeremyevans0 (Jeremy Evans).

Assignee changed from openssl to rhenium (Kazuki Yamaguchi)

I submitted a pull request upstream to remove the `OpenSSL::PKCS7::SignerInfo#name` method: https://github.com/ruby/openssl/pull/266

----------------------------------------
Bug #8178: OpenSSL::PKCS7::SignerInfo
https://bugs.ruby-lang.org/issues/8178#change-80507

* Author: Jacob640 (Joseph Coyle)
* Status: Assigned
* Priority: Normal
* Assignee: rhenium (Kazuki Yamaguchi)
* Target version: 
* ruby -v: ruby 2.1.0dev (2013-03-28 trunk 39971) [x86_64-darwin11.4.2]
* Backport: 
----------------------------------------
The instance method OpenSSL::PKCS7::SignerInfo.name does not return the signing certificate name but the X509 name of the signer's issuer.   This is because SignerInfo.name is actually an alias of SignerInfo.issuer.   This appears to be a mistake particularly because OpenSSL::PKCS7::RecepientInfo doesn't have a corresponding name method.

Perhaps OpenSSL::PKCS7::SignerInfo.name should be considered for removal since the method name is misleading.



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

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next