Issue #8178 has been reported by Jacob640 (Joseph Coyle).

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

Author: Jacob640 (Joseph Coyle)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.1.0dev (2013-03-28 trunk 39971) [x86_64-darwin11.4.2]


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.


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