test: add key hierarchy tests

This commit is contained in:
thePR0M3TH3AN
2025-08-20 17:57:50 -04:00
parent d6e03d5e7a
commit bbb26ca55a
11 changed files with 139 additions and 57 deletions

View File

@@ -1416,7 +1416,7 @@ def main(argv: list[str] | None = None, *, fingerprint: str | None = None) -> in
print(colored("Entry is not a TOTP entry.", "red"))
return 1
code = password_manager.entry_manager.get_totp_code(
idx, password_manager.parent_seed
idx, password_manager.KEY_TOTP_DET
)
print(code)
try: