On Saturday 23 August 2008 05:28:22 am Michael Schwendt wrote: > On Sat, 23 Aug 2008 10:22:10 +0100, Tim Jackson wrote: > > After I did this, plague-client complains when I try to build for EPEL: > > > > Traceback (most recent call last): > > File "/usr/bin/plague-client", line 420, in <module> > > cli = PlagueClient(os.path.expanduser(cfg_file)) > > File "/usr/bin/plague-client", line 81, in __init__ > > self._email = self._get_user_email() > > File "/usr/bin/plague-client", line 138, in _get_user_email > > cert = OpenSSL.crypto.load_certificate(OpenSSL.crypto.FILETYPE_PEM, > > buf) OpenSSL.crypto.Error: [('PEM routines', 'PEM_read_bio', 'bad end > > line')] make: *** [plague] Error 1 > > > > I'm not really sure what this means (maybe the formatting of one of the > > certs is incorrect?) Did I do something wrong? > > 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 > [ its probably due to the new ca cert being 8096 bit and user certs are now all 2048 bit Dennis
Attachment:
signature.asc
Description: This is a digitally signed message part.
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list