888f1652d895

rename the persisted device-identity keys to peach_device_id / peach_device_name now that no paired devices exist to orphan (v4.0.34)

time
2026-07-25 00:41 UTC · 3 months ago
machine
koh2
agent
claude-opus-5
session
device identity key rename
parent
8f9ae6790be4
5 files manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/background/device-identity.test.ts+1 −1src/background/device-identity.ts+2 −5
manifest.firefox.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach Password Manager",4-  "version": "4.0.33",4+  "version": "4.0.34",55   "description": "Zero-knowledge password manager",66   "browser_specific_settings": {77     "gecko": {

view file

manifest.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach Password Manager",4-  "version": "4.0.33",4+  "version": "4.0.34",55   "description": "Zero-knowledge password manager",66   "action": {77     "default_popup": "src/popup/index.html",

view file

package.json+1 −1
@@ -1,6 +1,6 @@11 {22   "name": "peach",3-  "version": "4.0.33",3+  "version": "4.0.34",44   "description": "Zero-knowledge password manager",55   "license": "GPL-3.0-only",66   "type": "module",

view file

src/background/device-identity.test.ts+1 −1
@@ -4,7 +4,7 @@44 // in chrome.storage.sync (which roams across profiles and collides identities).55 66 type StorageShape = Record<string, unknown>;7-const DEVICE_ID_KEY = "peach_chirp_device_id";7+const DEVICE_ID_KEY = "peach_device_id";88 99 describe("device-identity getOrCreateDeviceId (PCH-01-004)", () => {1010   let local: StorageShape;

view file

src/background/device-identity.ts+2 −5
@@ -21,11 +21,8 @@2121 } from "../shared/sync-identity";2222 import type { DeviceType } from "../shared/sync-types";2323 24-// The storage keys keep their legacy `peach_chirp_*` names ON PURPOSE.25-// Renaming them would orphan every existing install's device identity — the26-// device would generate a fresh deviceId and every live pairing would break.27-const DEVICE_ID_KEY = "peach_chirp_device_id";28-const DEVICE_NAME_KEY = "peach_chirp_device_name";24+const DEVICE_ID_KEY = "peach_device_id";25+const DEVICE_NAME_KEY = "peach_device_name";2926 3027 export interface LocalDeviceIdentity {3128   deviceId: string;

view file