diff --git a/data_encryption/README.rst b/data_encryption/README.rst index d5d868f..0d45345 100644 --- a/data_encryption/README.rst +++ b/data_encryption/README.rst @@ -62,7 +62,7 @@ In the configuration file of your production environment, you may want to config all your other environments encryption key. This way, from production you can encrypt and decrypt data for all environments. -You can generate keys with python -c 'from cryptography.fernet import Fernet; print Fernet.generate_key()'. +You can generate keys with python -c 'from cryptography.fernet import Fernet; print(Fernet.generate_key())'. Known issues / Roadmap ====================== diff --git a/data_encryption/static/description/index.html b/data_encryption/static/description/index.html index 43c4033..3e43be7 100644 --- a/data_encryption/static/description/index.html +++ b/data_encryption/static/description/index.html @@ -411,7 +411,7 @@ encryption_key_dev=fyeMIx9XVPBBky5XZeLDxVc9dFKy7Uzas3AoyMarHPA=

In the configuration file of your production environment, you may want to configure all your other environments encryption key. This way, from production you can encrypt and decrypt data for all environments.

-

You can generate keys with python -c ‘from cryptography.fernet import Fernet; print Fernet.generate_key()’.

+

You can generate keys with python -c ‘from cryptography.fernet import Fernet; print(Fernet.generate_key())’.

Known issues / Roadmap