small changes

This commit is contained in:
2025-03-14 11:05:02 -05:00
parent 41a7e14fb4
commit 439b706fbd
3 changed files with 3 additions and 2 deletions

View File

@@ -47,6 +47,8 @@ class Customer:
if user.renew:
user.refresh_passcode(presumed_property_idxs, self.cipher)
user.user_keypad.partial_keypad_shuffle()
return True
def renew_keys(self) -> bool:

View File

@@ -97,7 +97,7 @@ class NKodeAPI:
if username not in customer.users.keys():
raise ValueError("Username not found")
user = customer.users[username]
user.user_keypad.partial_keypad_shuffle()
# user.user_keypad.partial_keypad_shuffle()
# TODO: implement split_keypad_shuffle()
return user.user_keypad.keypad

View File

@@ -79,7 +79,6 @@ class UserKeypad:
#self.keypad = matrix_to_list(matrix_transpose(keypad_by_sets))
pass
def property_adjacency_graph(self) -> dict[int, set[int]]:
user_keypad_keypad = self.keypad_matrix()
graph = {}