Public bug reported:

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

** Affects: twisted-mail (Ubuntu)
     Importance: Undecided
         Status: New

-- 
missing dependency
https://bugs.launchpad.net/bugs/223252
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to