From b9fe65b44553210d97dc868f0c27b3f8ff6bbb63 Mon Sep 17 00:00:00 2001 From: peery Date: Sat, 5 Jun 2021 16:11:27 +0200 Subject: [PATCH] Added Security Note to config Config is known to be insecurely stored as the password is hard-coded for now. --- ArtNet/file/config_reader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArtNet/file/config_reader.py b/ArtNet/file/config_reader.py index abdad1a..a4a017f 100644 --- a/ArtNet/file/config_reader.py +++ b/ArtNet/file/config_reader.py @@ -11,6 +11,8 @@ from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.ciphers.aead import AESGCM from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC +# TODO make the config actually safe, hard-coded encryption password is BAD (but a bit better than plaintext) + class ConfigReader: