mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-11 07:11:44 +00:00
feat: support random and deterministic TOTP secrets
This commit is contained in:
1 parent
15df3f10a6
commit
619226d336
16 files changed
+132
-63
No files matched your search
@@ -29,6 +29,8 @@ def _get_pm(ctx: typer.Context) -> PasswordManager:
|
||||
pm = PasswordManager(fingerprint=fp)
|
||||
if ctx.obj.get("no_clipboard"):
|
||||
pm.secret_mode_enabled = False
|
||||
if ctx.obj.get("deterministic_totp"):
|
||||
pm.deterministic_totp = True
|
||||
return pm
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user