diff --git a/README.md b/README.md index 45a998d6f..969b37de6 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ sudo pacman -S tor python-pip python-pysocks python-pycryptodome \ imagemagick python-pillow python-requests \ perl-image-exiftool python-numpy python-dateutil \ certbot flake8 bandit -sudo pip3 install pyLD pyqrcode pypng +sudo pip3 install pyqrcode pypng ``` Or on Debian: @@ -39,7 +39,7 @@ sudo apt install -y \ python3-crypto python3-pycryptodome \ python3-dateutil python3-pil.imagetk python3-idna python3-requests \ - python3-pyld python3-django-timezone-field \ + python3-django-timezone-field \ libimage-exiftool-perl python3-flake8 \ python3-pyqrcode python3-png python3-bandit \ certbot nginx diff --git a/gemini/EN/install.gmi b/gemini/EN/install.gmi index 6f0b419c7..7f8f7f68b 100644 --- a/gemini/EN/install.gmi +++ b/gemini/EN/install.gmi @@ -4,7 +4,7 @@ You will need python version 3.7 or later. On a Debian based system: - sudo apt install -y tor python3-socks imagemagick python3-numpy python3-setuptools python3-crypto python3-pycryptodome python3-dateutil python3-pil.imagetk python3-idna python3-requests python3-flake8 python3-pyld python3-django-timezone-field python3-pyqrcode python3-png python3-bandit libimage-exiftool-perl certbot nginx + sudo apt install -y tor python3-socks imagemagick python3-numpy python3-setuptools python3-crypto python3-pycryptodome python3-dateutil python3-pil.imagetk python3-idna python3-requests python3-flake8 python3-django-timezone-field python3-pyqrcode python3-png python3-bandit libimage-exiftool-perl certbot nginx The following instructions install Epicyon to the /opt directory. It's not essential that it be installed there, and it could be in any other preferred directory. diff --git a/jsonldsig.py b/jsonldsig.py index 3e3761969..07f6c126d 100644 --- a/jsonldsig.py +++ b/jsonldsig.py @@ -22,7 +22,7 @@ except ImportError: from Crypto.Hash import SHA256 from Crypto.Signature import PKCS1_v1_5 -from pyld import jsonld +from pyjsonld import normalize import base64 import json @@ -107,7 +107,7 @@ def jsonldNormalize(jldDocument: str): 'algorithm': 'URDNA2015', 'format': 'application/nquads' } - normalized = jsonld.normalize(jldDocument, options=options) + normalized = normalize(jldDocument, options=options) normalizedHash = SHA256.new(data=normalized.encode('utf-8')).digest() return normalizedHash diff --git a/website/EN/index.html b/website/EN/index.html index b0f39e741..c7517e5ac 100644 --- a/website/EN/index.html +++ b/website/EN/index.html @@ -1268,7 +1268,7 @@
You will need python version 3.7 or later.
On a Debian based system:
sudo apt install -y tor python3-socks imagemagick python3-numpy python3-setuptools python3-crypto python3-pycryptodome python3-dateutil python3-pil.imagetk python3-idna python3-requests python3-flake8 python3-pyld python3-django-timezone-field python3-pyqrcode python3-png python3-bandit libimage-exiftool-perl certbot nginx
+sudo apt install -y tor python3-socks imagemagick python3-numpy python3-setuptools python3-crypto python3-pycryptodome python3-dateutil python3-pil.imagetk python3-idna python3-requests python3-flake8 python3-django-timezone-field python3-pyqrcode python3-png python3-bandit libimage-exiftool-perl certbot nginx