Fedora User Certificates
Chris Weyl
cweyl at alumni.drew.edu
Sat Aug 23 22:09:12 UTC 2008
On Sat, Aug 23, 2008 at 3:28 AM, Michael Schwendt <mschwendt at gmail.com> wrote:
> plague-client is broken. My guess in the other reply was good.
> Apply this:
>
> --- 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
> [
>
Filed against plague as BZ#459894.
--
Chris Weyl
Ex astris, scientia
More information about the fedora-devel-list
mailing list