Add change-password command and endpoint

This commit is contained in:
thePR0M3TH3AN
2025-07-09 15:46:37 -04:00
parent 94a5756954
commit e2235b61e1
6 changed files with 46 additions and 0 deletions

View File

@@ -324,6 +324,13 @@ def vault_export(
typer.echo(str(file))
@vault_app.command("change-password")
def vault_change_password(ctx: typer.Context) -> None:
"""Change the master password used for encryption."""
pm = _get_pm(ctx)
pm.change_password()
@nostr_app.command("sync")
def nostr_sync(ctx: typer.Context) -> None:
"""Sync with configured Nostr relays."""