remove pydantic from user_cipher_keys.py
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user