summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine A <>2024-03-26 14:39:35 +0100
committerAntoine A <>2024-03-26 14:39:35 +0100
commitead6bebda89a904716b34b053486f917715d452e (patch)
treebfd2fa70f8207862ddaf017d52d581b2fd9866f5
parent54b25a3112588f2ce5c86166484543e4cb1ea8fd (diff)
downloaddeployment-dev/antoinea/crypt_config.tar.gz
deployment-dev/antoinea/crypt_config.tar.bz2
deployment-dev/antoinea/crypt_config.zip
-rwxr-xr-xregional-currency/config.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/regional-currency/config.py b/regional-currency/config.py
index 2334772..d00ff51 100755
--- a/regional-currency/config.py
+++ b/regional-currency/config.py
@@ -19,12 +19,6 @@ from Crypto.Random import get_random_bytes
if os.environ.get("CONFIG_LOADED") == "y":
exit(0)
-import argon2
-from Crypto.Cipher import ChaCha20_Poly1305
-from Crypto.Hash import SHA512
-from Crypto.Protocol.KDF import PBKDF2
-from Crypto.Random import get_random_bytes
-
log = open("setup.log", "ab", buffering=0)
CONFIG_FILE = "config/user.conf"
BIC_PATTERN = re.compile("[A-Z0-9]{4}[A-Z]{2}[A-Z0-9]{2}(?:[A-Z0-9]{3})?")