From d3a4d71241b1b4e7dfd4158a1188c070fad41954 Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Fri, 23 Feb 2018 08:21:43 +0100 Subject: [PATCH] Ne pas afficher en clair dans les logs les mdp c'est bon esprit. --- preferences/aes_field.py | 1 - 1 file changed, 1 deletion(-) diff --git a/preferences/aes_field.py b/preferences/aes_field.py index 8b8f7f9d..ce90e1f4 100644 --- a/preferences/aes_field.py +++ b/preferences/aes_field.py @@ -27,7 +27,6 @@ def encrypt(key, s): def decrypt(key, s): obj = AES.new(key) ss = obj.decrypt(s) - print(ss) return ss.split(bytes(EOD, 'utf-8'))[0]