Issue #8178 has been updated by MartinBosslet (Martin Bosslet).

Category set to ext
Status changed from Open to Assigned
Assignee set to MartinBosslet (Martin Bosslet)
Target version set to current: 2.1.0


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

Author: Jacob640 (Joseph Coyle)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext
Target version: current: 2.1.0
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/