Removed legacy encryption modes. Default to AES-256 for links and packets.

This commit is contained in:
Mark Qvist 2025-05-13 13:18:44 +02:00
parent 5f502746a4
commit 4e4c68071f
3 changed files with 16 additions and 50 deletions

View file

@ -127,7 +127,7 @@ class Link:
MODE_PQ_RESERVED_3 = 0x06
MODE_PQ_RESERVED_4 = 0x07
ENABLED_MODES = [MODE_AES128_CBC, MODE_AES256_CBC]
MODE_DEFAULT = MODE_AES128_CBC
MODE_DEFAULT = MODE_AES256_CBC
MODE_DESCRIPTIONS = {MODE_AES128_CBC: "AES_128_CBC",
MODE_AES256_CBC: "AES_256_CBC",
MODE_AES256_GCM: "MODE_AES256_GCM",