quilltap 4.13.0-dev.62 → 4.13.0-dev.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,14 +96,19 @@ Register a data directory once and point the CLI at it by name, instead of repea
|
|
|
96
96
|
```bash
|
|
97
97
|
quilltap instances add Friday ~/iCloud/Quilltap/Friday # Register (prompts for the passphrase if encrypted)
|
|
98
98
|
quilltap instances list # Registered instances (* marks the default)
|
|
99
|
+
quilltap instances show Friday # One instance (passphrase status only, never the value)
|
|
100
|
+
quilltap instances path # Print the path to instances.json
|
|
101
|
+
quilltap instances set-passphrase Friday # Change or clear the stored passphrase (prompts hidden)
|
|
99
102
|
quilltap instances default Friday # Make it the fall-through for flag-free runs
|
|
100
103
|
quilltap instances rename Friday Weekday # Rename, preserving the stored passphrase
|
|
101
|
-
quilltap instances remove Friday # Unregister
|
|
104
|
+
quilltap instances remove Friday # Unregister (aliases: rm, delete)
|
|
102
105
|
quilltap instances restore-key Friday # Rebuild a lost or passphrase-locked .dbkey
|
|
103
106
|
quilltap instances default --clear # Revert to the OS platform default
|
|
104
107
|
quilltap instances list --json # The registry as JSON, for scripts
|
|
105
108
|
```
|
|
106
109
|
|
|
110
|
+
`instances set-passphrase` changes only the passphrase the *registry* remembers for an instance, not the one its `.dbkey` is wrapped with. It first offers to clear the stored passphrase; otherwise it prompts twice, hidden, and checks the new one against the instance's `.dbkey` before saving — a passphrase that does not unlock it, or a `.dbkey` that needs none, is refused. With no `.dbkey` on disk yet, it saves without the check. To change the passphrase the database itself is locked with, use the server's Change Passphrase card.
|
|
111
|
+
|
|
107
112
|
If an instance's `quilltap.dbkey` goes missing — or its passphrase does — `instances restore-key` rebuilds it. The file only *wraps* the pepper; the pepper itself is the database key, so an operator who kept the one printed at first-run setup can get back in. The pepper is read from `ENCRYPTION_MASTER_PEPPER` or prompted for hidden, never passed as a flag, and it is proved against the encrypted databases on disk before anything is written. Run it with the server down — the command refuses while the instance lock is held. Flags: `--passphrase <pass>` / `--no-passphrase` (the new wrapping), `-d, --data-dir <path>`, `--force` (proceed when there is no encrypted database to prove against — a fresh or still-plaintext instance), `-y, --yes`. An existing key file is backed up to `quilltap.dbkey.bak-<timestamp>` first, and a registered instance's stored passphrase is updated to match.
|
|
108
113
|
|
|
109
114
|
**It does not re-encrypt character archive bundles.** Those are keyed on the *passphrase*, not the pepper; only the server's Change Passphrase card rewrites them. Bundles made under a passphrase you have just replaced still want the old one.
|