The congress.encryption Module

The congress.encryption Module

Encryption module for handling passwords in Congress.

exception congress.encryption.InvalidToken

Bases: cryptography.fernet.InvalidToken

congress.encryption.create_new_key_file()
congress.encryption.decrypt(string)
congress.encryption.encrypt(string)
congress.encryption.initialize_if_needed()

initialize key if not already initialized.

congress.encryption.initialize_key()

initialize key.

congress.encryption.key_file_exists()
congress.encryption.read_key_from_file()
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.