remove pydantic from user_cipher_keys.py

This commit is contained in:
2025-03-09 09:25:39 -05:00
parent 0d2a524047
commit e55e18abf8

View File

@@ -1,15 +1,14 @@
import base64
import hashlib
from dataclasses import dataclass
import bcrypt
from secrets import choice
from pydantic import BaseModel
from src.models import EncipheredNKode, KeypadSize
from src.customer_attributes import CustomerAttributes
from src.utils import generate_random_nonrepeating_list, xor_lists, int_array_to_bytes
class UserCipherKeys(BaseModel):
@dataclass
class UserCipherKeys:
alpha_key: list[int]
set_key: list[int]
pass_key: list[int]