missing dependency

Bug #223252 reported by Bruno Clermont
2
Affects Status Importance Assigned to Milestone
Twisted
Fix Released
Unknown
twisted-mail (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: python-twisted-mail

This package import python-openssl when connecting to a SSL enabled mail server.
python-twisted-mail don't depend on it, neither it's own dependencies.
installing it, fix everything.
still present in Hardy.

from /usr/share/pyshared/twisted/mail/protocols.py, at the end of the file:

class SSLContextFactory:
    """An SSL Context Factory

    This loads a certificate and private key from a specified file.
    """
    def __init__(self, filename):
        self.filename = filename

    def getContext(self):
        """Create an SSL context."""
----> from OpenSSL import SSL <---------
        ctx = SSL.Context(SSL.SSLv23_METHOD)
        ctx.use_certificate_file(self.filename)
        ctx.use_privatekey_file(self.filename)
        return ctx

Matthias Klose (doko)
Changed in twisted-mail:
importance: Undecided → Low
status: New → Confirmed
Matthias Klose (doko)
Changed in twisted-mail:
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package twisted-mail - 8.1.0-2

---------------
twisted-mail (8.1.0-2) unstable; urgency=low

  * Depend on python-openssl. LP: #223252.

 -- Matthias Klose <email address hidden> Fri, 11 Jul 2008 11:04:48 +0100

Changed in twisted-mail:
status: In Progress → Fix Released
Changed in twisted:
importance: Undecided → Unknown
status: New → Unknown
Changed in twisted:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.