diff --git a/netbox/secrets/models.py b/netbox/secrets/models.py index e8eb2ff45..b8f7e8e3e 100644 --- a/netbox/secrets/models.py +++ b/netbox/secrets/models.py @@ -1,7 +1,7 @@ from __future__ import unicode_literals import os -from Crypto.Cipher import AES, PKCS1_OAEP, XOR +from Crypto.Cipher import AES, PKCS1_OAEP from Crypto.PublicKey import RSA from django.conf import settings diff --git a/requirements.txt b/requirements.txt index 8cd72419f..966020478 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,6 +17,6 @@ paramiko>=2.0.0 Pillow>=4.0.0 psycopg2>=2.6.1 py-gfm>=0.1.3 -pycrypto>=2.6.1 +pycryptodome>=3.4.5 sqlparse>=0.2 xmltodict>=0.10.2