francoislaurent / escale

Escale - Client-to-client synchronization based on external relay storage
Other
3 stars 2 forks source link

encryption with python2 #2

Closed francoislaurent closed 7 years ago

francoislaurent commented 7 years ago

The blowfish library has been integrated but works only with Python 3. The PyCrypt library has been investigated but install fails. Find at least one encryption library working with Python 2 and integrate it.

francoislaurent commented 7 years ago

May move from Blowfish, PyCrypt and PyCrypto to cryptography or PyNaCl.

francoislaurent commented 7 years ago

Version 0.3 makes cryptography.fernet.Fernet available as a default encryption mechanism for both Python2 and Python3.

You can now add the following options in your config file:

encryption = yes passphrase = /path/to/file