Bug 459894

Summary: plague-client broken with new user certs
Product: [Fedora] Fedora Reporter: Chris Weyl <cweyl>
Component: plagueAssignee: Dan Williams <dcbw>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: medium    
Version: 9CC: bugs.michael, johan, marco.crosio
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-03 08:31:22 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Chris Weyl 2008-08-23 18:08:28 EDT
See the recent thread on fedora-devel.  Appears to be fixed by:

 --- plague-client~      2008-01-31 15:08:22.000000000 +0100
 +++ plague-client       2008-08-23 12:24:53.000000000 +0200
 @@ -133,7 +133,7 @@
                 print "%s does not exist or is not readable." % certfile
                 sys.exit(1)
             f = open(certfile, "r")
 -            buf = f.read(8192)
 +            buf = f.read()
             f.close()
             cert = OpenSSL.crypto.load_certificate(OpenSSL.crypto.FILETYPE_PEM, buf)
             cert_email = cert.get_subject().emailAddress
 [


Patch posted on fedora-devel by Michael Schwendt <mschwendt@gmail.com>.