[ruby-core:70751] [Ruby trunk - Bug #8178] OpenSSL::PKCS7::SignerInfo

From: zzak@...
Date: 2015-09-13 03:13:42 UTC
List: ruby-core #70751
Issue #8178 has been updated by Zachary Scott.

Assignee changed from Martin Bosslet to openssl

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

* Author: Joseph Coyle
* Status: Assigned
* Priority: Normal
* Assignee: openssl
* 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/

In This Thread