Metadata-Version: 1.1
Name: lockdown
Version: 0.2.1
Summary: An un-audited security tool to encrypt Python code.
Home-page: https://bitbucket.org/johannestaas/lockdown
Author: Johan Nestaas
Author-email: johannestaas@gmail.com
License: BSD
Description: lockdown
        
        Tool to encrypt local Python source code with AES-256, and dynamically 
        load and run it, and bring it into the Lockdown namespace.
        
        THIS HAS NOT BEEN AUDITED FOR SECURITY HOLES.
        USE AT OWN RISK. I'M NOT RESPONSIBLE FOR YOUR FAILURE TO HEED THAT WARNING.
        
        Example usage:
        
        $ lockdown lockedfiles.vault secret/creds.py secret/my_funcs.py
        # Enter and repeat password.
        # Now would be a good time to delete the files you locked, but make sure not
        # to lose that vault file.
        
        from lockdown import Lockdown
        locker = Lockdown('lockedfiles.vault')
        # Enter password.
        locker.unlock()
        # Login with encrypted credentials. Python files aren't there!
        # Note: It collapsed the path.
        # (so it's locker.creds, not locker.secret.creds)
        some_login(locker.creds.USERNAME, locker.creds.PASSWORD)
        # Call a function. 
        # NOTE: These can't import vaulted files within functions. 
        # Files are lost after unlocking!
        locker.my_funcs.scoobydoo()
        # To leave files out, do this instead:
        locker.unlock(delete=False)
        
        You can see the potential uses, for example locking up a file with secret keys
        and credentials with a master password, or disabling functionality of a script
        and not exposing the source unless the password is available.
        
        
Keywords: crypto cryptography security source code
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: BSD License
Classifier: Intended Audience :: Developers
Classifier: Environment :: Console
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development
Classifier: Topic :: System :: Software Distribution
