mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-04-28 16:50:00 -07:00
Removed legacy encryption modes. Default to AES-256 for links and packets.
This commit is contained in:
@@ -103,7 +103,6 @@ class Token():
|
||||
|
||||
|
||||
def decrypt(self, token = None):
|
||||
# RNS.log(f"Trying decryption with {self.mode}") # TODO: Remove
|
||||
if not isinstance(token, bytes): raise TypeError("Token must be bytes")
|
||||
if not self.verify_hmac(token): raise ValueError("Token HMAC was invalid")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user