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

@@ -68,6 +68,7 @@ Manage the entire vault for a profile.
| Action | Command | Examples |
| :--- | :--- | :--- |
| Export the vault | `vault export` | `seedpass vault export --file backup.json` |
| Change the master password | `vault change-password` | `seedpass vault change-password` |
### Nostr Commands
@@ -147,6 +148,7 @@ Code: 123456
### `vault` Commands
- **`seedpass vault export`** Export the entire vault to an encrypted JSON file.
- **`seedpass vault change-password`** Change the master password used for encryption.
### `nostr` Commands

View File

@@ -28,6 +28,7 @@ Keep this token secret. Every request must include it in the `Authorization` hea
- `DELETE /api/v1/fingerprint/{fp}` Remove a fingerprint.
- `POST /api/v1/fingerprint/select` Switch the active fingerprint.
- `GET /api/v1/nostr/pubkey` Fetch the Nostr public key for the active seed.
- `POST /api/v1/change-password` Change the master password for the active profile.
- `POST /api/v1/shutdown` Stop the server gracefully.
## Example Requests