Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
OpenSSL interface for encryption/decryption.

First thing: use subprocess module to call an openssl process, ensuring it
is available on the system; if not, of course we have to quit (raise
exception). Either way, that's all for __init__.

See the docstring for the main method -- openssl() -- for next steps.

Security: Xface.openssl() can take a passphrase for symmetric enc/dec as
an argument, but it never stores that passphrase on disk; the passphrase is(more...)

src/p/y/pyrite-HEAD/modules/core.py   pyrite(Download)
        def openssl(fallback=False):
            self.x = crypt_interface.Openssl()
            self.engine = 'OpenSSL'
            self.g_mengine.set_label("Use GnuPG as Engine")
            if fallback: