From 5eb77dcbb6a38ec1b5db5c25eb75d031042a1eba Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Fri, 15 Jul 2022 11:48:30 +0530 Subject: [PATCH] UT: Change key in test_key_based_encryptor.py to be URL safe (cryptography.fernet requires this) --- .../cc/server_utils/encryption/test_key_based_encryptor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/tests/unit_tests/monkey_island/cc/server_utils/encryption/test_key_based_encryptor.py b/monkey/tests/unit_tests/monkey_island/cc/server_utils/encryption/test_key_based_encryptor.py index d17a5cd1a..41e639475 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/server_utils/encryption/test_key_based_encryptor.py +++ b/monkey/tests/unit_tests/monkey_island/cc/server_utils/encryption/test_key_based_encryptor.py @@ -8,7 +8,7 @@ PLAINTEXT_UTF8_1 = "slaptažodis" # "password" in Lithuanian PLAINTEXT_UTF8_2 = "弟" # Japanese PLAINTEXT_UTF8_3 = "ж" # Ukranian -KEY = b"\x84\xd4qA\xb5\xd4Y\x9bH.\x14\xab\xd8\xc7+g\x12\xfa\x80'%\xfd#\xf8c\x94\xb9\x96_\xf4\xc51" +KEY = b"FK-jSjEPwBPlg-LxxdEti8-_9EN036afsR8DHuXS0Zo=" kb_encryptor = KeyBasedEncryptor(KEY)