Bug 1284968

Summary: Reads from file like objects actually only worked for file objects
Product: Red Hat Enterprise Linux 6 Reporter: Stanislav Zidek <szidek>
Component: python-nssAssignee: John Dennis <jdennis>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7CC: dpal, drieden, extras-qa, jdennis, ksrot, lmiksik, nkinder, szidek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1225212 Environment:
Last Closed: 2016-07-21 17:08:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1225211, 1225212    
Bug Blocks:    

Description Stanislav Zidek 2015-11-24 15:00:54 UTC
+++ This bug was initially created as a clone of Bug #1225212 +++

+++ This bug was initially created as a clone of Bug #1225211 +++

Seems to be present also on RHEL-6 - python-nss-0.16.0-1.el6

Several python-nss functions/methods state they can read their input from either a string or any file like object (e.g. PKCS12Decoder). There is a bug in the common routine used to read the data for these entry points. It only worked for strings and file objects (or derived from the file object class). It fails to work for file like objects that implement the file interface (e.g. StringIO).

Comment 4 Nathan Kinder 2016-07-21 17:08:46 UTC
We do not plan to fix this issue in RHEL 6.x given where it is at in it's lifecycle.  Closing this as WONTFIX.