PyCrypto is dead. Switch to PyCryptodome

This commit is contained in:
jnozsc 2017-09-16 11:05:01 -07:00
parent 9ffca1a7a6
commit 4bdc082fc7
7 changed files with 12 additions and 13 deletions

View file

@ -119,4 +119,3 @@ Known Issues
~~~~~~~~~~~~
- The Windows shell prior to Windows 7 has issues with unicode encoding. If you want to use non-ascii characters, change the codepage with ``chcp 1252`` before using `jrnl` (Thanks to Yves Pouplard for solving this!)
- _jrnl_ relies on the `PyCrypto` package to encrypt journals, which has some known problems with installing on Windows and within virtual environments.

View file

@ -28,7 +28,7 @@ to install the dependencies for encrypting journals as well.
.. note::
Installing the encryption library, `pycrypto`, requires a `gcc` compiler. For this reason, jrnl will not install `pycrypto` unless explicitly told so like this. You can `install PyCrypto manually <https://www.dlitz.net/software/pycrypto/>`_ first or install it with ``pip install pycrypto`` if you have a `gcc` compiler.
Installing the encryption library, `pycryptodome`, requires a `gcc` compiler. For this reason, jrnl will not install `pycryptodome` unless explicitly told so like this. You can install it with ``pip install pycryptodome`` if you have a `gcc` compiler.
Also note that when using zsh, the correct syntax is ``pip install "jrnl[encrypted]"`` (note the quotes).