refactor asserts

This commit is contained in:
2025-03-09 07:39:29 -05:00
parent 88b533c27b
commit 9fdf79842d
12 changed files with 84 additions and 64 deletions

View File

@@ -20,7 +20,7 @@ class User(BaseModel):
self.user_keys.alpha_key = xor_lists(self.user_keys.alpha_key, attrs_xor)
def refresh_passcode(self, passcode_attr_idx: list[int], customer_interface: CustomerAttributes):
self.user_keys = UserCipherKeys.new(
self.user_keys = UserCipherKeys.create(
customer_interface.keypad_size,
customer_interface.set_vals,
self.user_keys.max_nkode_len