Catches the changelog up with the audit-driven CLI + extension work and the cmd_add / cmd_edit / setup.ts internal refactors. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
4.1 KiB
4.1 KiB
Changelog
Unreleased
Added
- Sync now button in the extension settings view — surfaces the
previously hidden
{ type: 'sync' }SW message to users with success / error feedback. - Device registration from the popup. The "Register this device"
button on the devices view now opens an inline name input and (on
confirm) generates a keypair via WASM, persists the private key + name
locally, and writes the device to the remote — no setup-wizard detour.
Backed by a new
register_this_deviceSW message. relicario settings generator-defaults— view-and-edit access to the generator defaults stored inVaultSettings. Flags:--random/--bip39to switch mode,--length,--words,--symbols,--separatorto update fields of the active mode.relicario editnow supports TOTP items. Issuer, label, and secret rotation work; rotated secrets are pushed tofield_history(key:core:totp_secret).relicario history <query>— view captured field history. Values are masked by default;--showreveals them;--field <name>filters to one synthetic key (e.g.login_password,totp_secret).relicario detach <query> <aid>— remove an individual attachment from an item. Refuses to drop a Document item's primary attachment (usepurgeinstead).relicario status— vault summary: root path, item count (active / trashed), attachment count + total bytes, registered device count, last commit (%h %s).
Internal
- Refactored
cmd_addandcmd_editin the CLI: eachItemCorevariant now has its ownbuild_*_item/edit_*helper. Pure mechanical extraction; behavior unchanged. The dispatcher matches and delegates. - Extracted pure helpers (
escapeHtml,ratePassphrase,scheduleRate,entropyText,STRENGTH_LABELS) fromextension/src/setup/setup.tsintosetup-helpers.ts. State-coupledupdateStrengthUistays insetup.tssince it walks live wizard state. Setup.ts went from 1205 → 1137 lines.
Changed
relicario generatenow consultsVaultSettings.generator_defaultswhen invoked inside an initialized vault. Explicit flags (--length,--bip39,--words,--symbols,--separator) override the vault default. Outside a vault, behavior is unchanged (length 20, safe symbol set, 5 BIP39 words, space separator).
v0.2.0 — 2026-04-27
Fixed
- Setup wizard could silently overwrite an existing vault. Pointing the
wizard at a remote that already contained a relicario vault would clobber
manifest.enc,.relicario/salt, and friends with no warning. The wizard now probes the remote after the connection test and refuses to create a new vault on top of an existing one. Affected users whose vault was wiped by this bug should restore from the git history of the affected repo (git log+git checkout <pre-init-sha> -- .). - New devices registered during initial setup were silently dropped. The
wizard's Step 5 fired
add_deviceover a service-worker channel that required an unlocked vault, which is unavailable mid-wizard. Device pubkeys now write directly to.relicario/devices.jsonfrom the wizard. - Wizard-created vaults were missing
settings.enc. The CLI'sinitwrites a default-VaultSettingssettings.encalongsidemanifest.enc, but the wizard skipped it, causing everyget_vault_settingsSW call to 404. The wizard now encrypts and writessettings.encusing a newdefault_vault_settings_jsonWASM helper that keeps defaults in sync with Rust core.
Added
- Attach this device to an existing vault — purely from the GUI. New Step 0 mode picker splits the wizard into "create new vault" and "attach this device." The attach path takes a passphrase + reference image, fetches the existing manifest, verifies the credentials by decrypting it, and only then registers a new device key. No CLI required for multi-device setup.
GitHost.lastCommit(path)andGitHost.writeFileCreateOnly(path, ...).default_vault_settings_json()WASM export.
v0.1.0 — 2026-04-22
Initial release.