mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 07:18:47 +00:00
Add checksum CLI and API utilities
This commit is contained in:
@@ -106,6 +106,8 @@ Miscellaneous helper commands.
|
||||
| Action | Command | Examples |
|
||||
| :--- | :--- | :--- |
|
||||
| Generate a password | `util generate-password` | `seedpass util generate-password --length 24` |
|
||||
| Verify script checksum | `util verify-checksum` | `seedpass util verify-checksum` |
|
||||
| Update script checksum | `util update-checksum` | `seedpass util update-checksum` |
|
||||
|
||||
### API Commands
|
||||
|
||||
@@ -170,6 +172,8 @@ Code: 123456
|
||||
### `util` Commands
|
||||
|
||||
- **`seedpass util generate-password`** – Generate a strong password of the requested length.
|
||||
- **`seedpass util verify-checksum`** – Verify the SeedPass script checksum.
|
||||
- **`seedpass util update-checksum`** – Regenerate the script checksum file.
|
||||
|
||||
---
|
||||
|
||||
|
@@ -28,6 +28,8 @@ 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/checksum/verify` – Verify the checksum of the running script.
|
||||
- `POST /api/v1/checksum/update` – Update the stored script checksum.
|
||||
- `POST /api/v1/change-password` – Change the master password for the active profile.
|
||||
- `POST /api/v1/shutdown` – Stop the server gracefully.
|
||||
|
||||
|
Reference in New Issue
Block a user