fix id problems with day/winter switch

This commit is contained in:
Alex Bezdieniezhnykh
2025-02-26 22:09:07 +02:00
parent d1af7958f8
commit 58839933fc
28 changed files with 379 additions and 281 deletions
+12
View File
@@ -1,3 +1,6 @@
from credentials cimport Credentials
from hardware_service cimport HardwareInfo
cdef class Security:
@staticmethod
cdef encrypt_to(input_stream, key)
@@ -5,5 +8,14 @@ cdef class Security:
@staticmethod
cdef decrypt_to(input_stream, key)
@staticmethod
cdef get_hw_hash(HardwareInfo hardware)
@staticmethod
cdef get_api_encryption_key(Credentials credentials, str hardware_hash)
@staticmethod
cdef get_model_encryption_key()
@staticmethod
cdef calc_hash(str key)