mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-31 01:42:05 +00:00
Document kdf and backup settings
This commit is contained in:
1 parent
a1737eba9c
commit
1c4a8c0aa4
4 files changed
+38
-10
No files matched your search
@@ -102,6 +102,22 @@ curl -X PUT http://127.0.0.1:8000/api/v1/config/inactivity_timeout \
|
||||
-d '{"value": 300}'
|
||||
```
|
||||
|
||||
To raise the PBKDF2 work factor or change how often backups are written:
|
||||
|
||||
```bash
|
||||
curl -X PUT http://127.0.0.1:8000/api/v1/config/kdf_iterations \
|
||||
-H "Authorization: Bearer <token>" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"value": 200000}'
|
||||
|
||||
curl -X PUT http://127.0.0.1:8000/api/v1/config/backup_interval \
|
||||
-H "Authorization: Bearer <token>" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"value": 3600}'
|
||||
```
|
||||
|
||||
Using fewer iterations or a long interval reduces security, so adjust these values carefully.
|
||||
|
||||
### Toggling Secret Mode
|
||||
|
||||
Send both `enabled` and `delay` values to `/api/v1/secret-mode`:
|
||||
|
||||
Reference in new issue
Block a user