peach-browser

@june

A free, open source, local-first password manager for Chrome, Firefox, and Android.

TypeScript

v5.3.12 · 1,780 saves · 70,179 lines · updated 3 weeks ago

269 files
ebb7bd2456e6
back to HEAD
icons/6.4 KB · 5 months ago
public/619.5 KB · 5 months ago
scripts/57.1 KB · 5 months ago
src/2.4 MB · 5 months ago
background/627.9 KB · 5 months ago
aes.test.ts2.2 KB · 6 months agoaes.tsaes.ts — AES-256-GCM encrypt/decrypt primitives for vault storage.4.2 KB · 5 months agoalarms.test.ts5.3 KB · 5 months agoalarms.ts2.3 KB · 5 months agochirp-identity.tsLocal-device identity helpers for the chirp-sync architecture.4.9 KB · 5 months agochirp-sync-coordinator.test.ts12.1 KB · 5 months agochirp-sync-coordinator.tsChirp Sync — Phase 2 manifest-diff coordinator.11.8 KB · 5 months agochirp-sync-runner.test.ts15.2 KB · 5 months agochirp-sync-runner.tsProduction sync runner — composes the live vault adapter, WebSocket transport, and coordinator into the function the dispatcher injects via setSyncRunner.6.1 KB · 5 months agochirp-sync-static.test.tsIV.7 — Static safety assertions for Chirp Sync.4.5 KB · 5 months agochirp-sync-vault-adapter.test.ts17.6 KB · 5 months agochirp-sync-vault-adapter.tsProduction adapter that backs runChirpSyncInitiator with the live vault.11.5 KB · 5 months agoclipboard.test.ts3.2 KB · 6 months agoclipboard.ts1.8 KB · 6 months agocodex-handlers.test.tsTests for src/background/codex-handlers.ts.6.1 KB · 5 months agocodex-handlers.tscodex-handlers.ts — message handlers that back the Peach Codex flow.10.4 KB · 5 months agocommands.tsKeyboard command handler — routing for summon-inline: 1.2.5 KB · 6 months agoentry.ts2.6 KB · 5 months agohealth.test.ts4.2 KB · 5 months agohealth.tshealth.ts — Pro advanced vault health analysis.5.1 KB · 5 months agoindex.ts1.3 KB · 5 months agolicense.ts4.9 KB · 5 months agomessages.adversarial.test.tsmessages.adversarial.test.ts — Layer 3 §3.3 adversarial message handler tests.37.3 KB · 5 months agomessages.test.ts27.5 KB · 5 months agomessages.tsmessages.ts — the only background message handler.56.4 KB · 5 months agoml.ts6.0 KB · 5 months agonotes.test.ts9.3 KB · 5 months agopaired-devices.test.ts5.9 KB · 5 months agopaired-devices.tsPaired-device registry — v3 chirp-sync.6.4 KB · 5 months agopasskey-chrome-ceremony.test.tspasskey-chrome-ceremony.test.ts — covers the Chrome chrome.webAuthenticationProxy ceremony path that the Firefox-proxy test file does NOT exercise.30.0 KB · 5 months agopasskey-crypto.test.ts6.0 KB · 6 months agopasskey-crypto.ts11.1 KB · 5 months agopasskey-deny-on-close.test.tspasskey-deny-on-close.test.ts — M8/COR-0092.8 KB · 5 months agopasskey-firefox-proxy.test.tspasskey-firefox-proxy.test.ts — covers the v2.12.0 Firefox content-script proxy path.17.2 KB · 5 months agopasskey.ts46.2 KB · 5 months agorecovery-pending.tsPersistent flag set while the user has just created a vault and is reading their 12 recovery words but has not yet typed the 3 confirmation words.1.2 KB · 5 months agorecovery-words.test.ts19.1 KB · 5 months agorecovery.adversarial.test.tsrecovery.adversarial.test.ts — Layer 3 §3.2 adversarial recovery words tests.19.2 KB · 5 months agoself-test.test.ts329 B · 5 months agoself-test.tsself-test.ts — Known-Answer Test (KAT) for the Peach crypto stack.2.6 KB · 5 months agosync-trigger.test.ts7.5 KB · 5 months agosync-trigger.tssync-trigger.ts — central sync dispatcher.5.6 KB · 5 months agovault-history.test.tsVault history tests.8.4 KB · 5 months agovault.adversarial.test.tsvault.adversarial.test.ts — Layer 3 §3.1 adversarial vault tests.32.7 KB · 5 months agovault.test.ts37.3 KB · 5 months agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.92.3 KB · 5 months ago
content/307.1 KB · 5 months ago
crypto/61.9 KB · 5 months ago
popup/1.1 MB · 5 months ago
codex/195.7 KB · 5 months ago
aztec.tsaztec.ts — Aztec 2D barcode generation with round-trip verification.12.7 KB · 5 months agobrowser-bundle.test.ts674 B · 5 months agocodex.adversarial.test.tscodex.adversarial.test.ts — Layer 3 §3.4 adversarial Codex tests.21.4 KB · 5 months agocodex.suite.test.tscodex.suite.test.ts — cross-cutting regression suite for the Codex pipeline.9.9 KB · 5 months agocodex.test.ts19.0 KB · 5 months agoconfirmation.tsPick 3 distinct positions in [1, 12] for the recovery-words confirmation gate.601 B · 5 months agoerasure.tserasure.ts — Reed-Solomon erasure coding around the WASM library.13.9 KB · 5 months agogenerate.test.ts17.1 KB · 5 months agogenerate.tsgenerate.ts — full Codex generation pipeline.15.9 KB · 5 months agohelpers.tshelpers.ts — shared utilities for Codex generation and restoration.7.8 KB · 5 months agonode-wasm.tsNode-only WASM byte loader for Vitest.1.1 KB · 5 months agopdf-import.test.tspdf-import.test.ts — coverage for the testable surface of the PDF import path.12.5 KB · 5 months agopdf-import.tspdf-import.ts — restore from a Codex PDF instead of a camera scan.22.4 KB · 5 months agopdf-layout.tspdf-layout.ts — A4 Codex page geometry shared between the generator and the PDF importer.1.4 KB · 5 months agopdf.tspdf.ts — render the printable Codex PDF.8.1 KB · 5 months agoreed-solomon.tsBrowser-safe wrapper around the Reed-Solomon WASM exports.4.8 KB · 5 months agorestore.test.tsrestore.test.ts — coverage for ChunkBuffer, parseRawScan, reconstructAndVerify.11.0 KB · 5 months agorestore.tsrestore.ts — Peach Codex restoration library (popup-side).11.1 KB · 5 months agors-loader.tsrs-loader.ts — load the Reed-Solomon erasure WASM module.2.4 KB · 5 months agoscanner.tsscanner.ts — camera-based Aztec scanning for Codex restoration.1.8 KB · 5 months ago
components/87.8 KB · 5 months ago
styles/271.3 KB · 5 months ago
views/496.2 KB · 5 months ago
Add.tsx32.0 KB · 5 months agoChirpSync.tsxChirpSync — the v3 Settings → Sync surface.19.8 KB · 5 months agoCodexGenerateView.test.tsx@vitest-environment jsdom2.1 KB · 5 months agoCodexGenerateView.tsxPeach Codex — generation view.21.8 KB · 5 months agoCodexRestoreView.tsxPeach Codex — restoration view.23.6 KB · 5 months agocontracts.test.tsx@vitest-environment jsdom36.7 KB · 5 months agoEntry.tsx73.9 KB · 5 months agoExport.csv.test.ts@vitest-environment jsdom1002 B · 5 months agoExport.tsxSignal-conditioned views in this file must use <Show>, never a signal-conditioned early return (if (signal()) return <X/>).19.9 KB · 5 months agoHealth.test.tsx@vitest-environment jsdom2.5 KB · 5 months agoHealth.tsx20.6 KB · 5 months agoImport.tsxSignal-conditioned views in this file must use <Show>, never a signal-conditioned early return — see Projects.md §4.1.32.2 KB · 5 months agoLock.tsx39.5 KB · 5 months agoNoteEditor.toHtml.test.ts@vitest-environment jsdom3.6 KB · 5 months agoNoteEditor.tsx7.6 KB · 5 months agoNotesEditor.tsx8.3 KB · 5 months agoNotesMode.tsx2.9 KB · 5 months agoNotesTOC.tsx4.5 KB · 5 months agoOnboarding.tsx4.6 KB · 5 months agoPanic.tsx6.0 KB · 6 months agoPasskeyApproval.tsx2.1 KB · 6 months agoProCelebration.tsx646 B · 6 months agoRecoveryWordDisplay.tsx8.9 KB · 5 months agoRecoveryWordEntry.tsx10.9 KB · 5 months agoSettings.tsx74.4 KB · 5 months agoTrashView.tsx5.7 KB · 6 months agoVault.tsx29.4 KB · 5 months agoview-test-utils.tsx1.0 KB · 6 months ago
App.tsx67.9 KB · 5 months agochirp-pair-capacitor.test.ts3.7 KB · 5 months agochirp-pair-capacitor.tsCapacitor adapter for the initiator-role pairing server, plus the mDNS peer-discovery listener that fires the sync trigger when a known paired device appears on the local network.7.9 KB · 5 months agochirp-pair.test.ts7.5 KB · 5 months agochirp-pair.tsPopup-side orchestrator for Phase-1 chirp pairing.13.3 KB · 5 months agocopy.tsPopup-side copy helper.1.1 KB · 6 months agofirefox-passkey.tsfirefox-passkey.ts — popup-context WebAuthn caller for the Firefox path.4.0 KB · 6 months agogenerator-policy.ts2.2 KB · 5 months agoindex.html2.5 KB · 5 months agoindex.tsx610 B · 5 months ago
shared/256.3 KB · 5 months ago
backup.test.ts2.8 KB · 6 months agobackup.ts7.4 KB · 6 months agobridge.ts1.6 KB · 5 months agobrowser.test.tsbrowser.test.ts — locks down feature-detected browser identification.6.5 KB · 5 months agobrowser.tsbrowser.ts — feature-detected browser identifier shared by background, popup, and content scripts.1.3 KB · 6 months agochirp-handshake.test.ts6.4 KB · 5 months agochirp-handshake.tsPost-chirp pairing handshake.11.0 KB · 5 months agochirp-pairing.test.ts7.8 KB · 5 months agochirp-pairing.tsAudio pairing driver — orchestrates the two-chirp exchange that bootstraps trust between two devices in the same room.10.2 KB · 5 months agochirp-payload.test.ts3.5 KB · 5 months agochirp-payload.tsAudio pairing payload — 64 bytes on the wire.4.4 KB · 5 months agochirp-sync-transport.test.tsSubnet-probe rate-limit tests.2.9 KB · 5 months agochirp-sync-transport.tsWebSocket sync transport — v3 chirp-sync Phase 2.8.4 KB · 5 months agocodex-types.tscodex-types.ts — shared shapes for the Peach Codex.10.0 KB · 5 months agoconfig.tsWeb3Forms access key for the in-app feedback form (Settings → feedback).827 B · 5 months agodevice-manifest.test.ts4.2 KB · 5 months agodevice-manifest.tsDevice manifest — v2 brief §4.3.8.1 KB · 5 months agodomain.ts657 B · 6 months agofavicon.test.ts1.2 KB · 6 months agofavicon.tsResolves a favicon URL for a given domain.794 B · 6 months agogenerate.test.ts2.6 KB · 5 months agogenerate.ts2.6 KB · 5 months agoggwave.test.ts4.7 KB · 5 months agoggwave.tsggwave loader — thin async wrapper around the ggwave-wasm module.6.5 KB · 5 months agoimport.test.ts13.4 KB · 6 months agoimport.tsany is intentional throughout this module (L17/I3/QUA-010): import files are user-supplied external JSON whose schemas vary by source app and version (1Password CPG, Bitwarden, CXF, generic CSV).16.1 KB · 5 months agolocal-network.tsLocal network discovery — minimal helper used by chirp pairing.1.2 KB · 5 months agoml.ts1.4 KB · 6 months agonative.tsMobile platform detection helpers used by popup views to gate Capacitor-only paths.848 B · 5 months agonoise-js.test.tsNoise NK auth proof regression test.6.9 KB · 5 months agonoise-js.tsNoise NK initiator for Android / Capacitor.13.0 KB · 5 months agonoise-xx.test.ts3.4 KB · 5 months agonoise-xx.tsNoise XX (mutual auth) — used for every Phase-2 WebSocket connection after the audio chirp pairing has stamped each side into the other's paired-device registry.8.1 KB · 5 months agopasskey-flags.tspasskey-flags.ts — single switch for the Firefox passkey content-script proxy.2.1 KB · 6 months agopasskey-utils.test.ts1.2 KB · 5 months agopasskey-utils.tspasskey-utils.ts — WebAuthn relying-party-id validation.2.2 KB · 5 months agorecovery-word-list.tsrecovery-word-list.ts — 2048-word recovery word list for Peach vault recovery.20.1 KB · 5 months agorecovery-words.tsrecovery-words.ts — BIP39-compatible recovery word encoding for Peach vault recovery.5.4 KB · 5 months agoshortcuts.test.ts@vitest-environment jsdom4.0 KB · 6 months agoshortcuts.tsshortcuts.ts — keybinding schema, defaults, matcher, formatter.6.7 KB · 6 months agostorage.ts537 B · 5 months agosync-identity.test.ts2.9 KB · 5 months agosync-identity.tsSync identity — long-term X25519 keypair tied to the vault, not the device installation.7.0 KB · 5 months agosync-types.tsChirp Sync — type definitions (Master Brief v2).7.6 KB · 5 months agotypes.tstypes.ts — cross-boundary types and the MessageType union.15.8 KB · 5 months ago
tests/444.2 KB · 5 months ago
.amoignore1.2 KB · 5 months ago.gitignore124 B · 6 months ago.nvmrc8 B · 5 months agobun.lock123.2 KB · 5 months agomanifest.firefox.json2.6 KB · 5 months agomanifest.json1.8 KB · 5 months agopackage-lock.json288.4 KB · 5 months agopackage.json2.8 KB · 5 months agoplaywright.config.ts808 B · 6 months agopnpm-lock.yaml169.9 KB · 6 months agotsconfig.background.json490 B · 5 months agotsconfig.json521 B · 5 months agotsconfig.tests.json122 B · 6 months agovite.config.mobile.ts1.2 KB · 5 months agovite.config.ts2.1 KB · 5 months agovitest.config.ts461 B · 5 months ago
8293ed4e457ebefore Firefox AMO release automation5 months agoc849fd6cfc3erotate private key in gen_license.py (v3.6.104)5 months agof5442cc9c8dcrotate Ed25519 public key — old key was compromised (v3.6.104)5 months agoddff99b7ce87before Ed25519 public key rotation — old key compromised5 months agof5a90484ee76chore: phase 4 verification gate — tsc clean, all three targets build, 2976/2976 tests pass (v3.6.103)5 months ago93a60129744atest: add IV.4 coordinator (HELLO fields, equal-version, clock skew), IV.5 dispatcher, IV.7 static safety assertions; fix test fixtures for new type shapes (v3.6.103)5 months agod14b4d0b8ef7fix: productionSyncRunner returns {ok:false,error} on vault locked instead of throwing; SyncRunResult becomes discriminated union (v3.6.102)5 months ago1969735e961dfix: mDNS onCleanup registered synchronously before dynamic import to avoid SolidJS owner capture miss (v3.6.101)5 months ago7c09d257bea1fix: mDNS peer discovery — look up device in registry and update lastKnownIp before firing TRIGGER_SYNC (v3.6.100)5 months agoc49affb655fcfix: vault_id uses full 32-byte BLAKE3 digest (64 hex chars), up from truncated 8-byte/16-char (v3.6.99)5 months agoc9a5d79ae31efix: add getVaultVersion, addEntryDirect, updateEntryDirect, deleteEntryDirect to vault.ts (v3.6.98)5 months ago5fa72ee8d048fix: per-entry AES-GCM key isolation — HKDF info = entryId + 'sync-entry-v1' instead of shared salt (v3.6.97)5 months ago3f266d2afda8fix: SYNC_HELLO adds version + deviceTime; clock skew warning; equal-version no-op; SYNC_DONE carries counts; coordinator no longer owns session close (v3.6.96)5 months ago557ffe75270bfix: sync trigger — filter to trustSource:'direct' only; persist peach_last_sync_result after successful sync (v3.6.95)5 months ago21d3f786ea14fix: device registry — move from chrome.storage.sync to chrome.storage.local with one-time migration; add peach_last_sync_result storage (v3.6.94)5 months agob92e86329db5chirp-sync master document verification — findings documented, fix phase begins5 months agodf0c022cdbbdchirp-sync master document verification — read-only phase begins5 months agof5e9dc849e45update session notes with v3.6.93 outcome5 months agof4aa4137367afix scale detection to use best-match not first-match, add reliable E2E Playwright test for PDF import5 months ago7a863ef97d46before pro celebration settings fix + codex restore debug iteration5 months ago566a2cd79953fix: Separate Pro activation and replay animations (v3.6.91)5 months agoc5af595106b5before peach star animation parity fix5 months ago44fc6080ab15feat: Enable chirp mesh device manifests (v3.6.90)5 months ago14d9d4bcab05before device manifest mesh propagation5 months ago78cf60b2e953feat: mDNS peer-discovery trigger — startMDNSListener subscribes to native SyncPlugin peerDiscovered events, fires TRIGGER_SYNC reason 'mdns' when app is foregrounded; wired into App.tsx native onMount with onCleanup; 6 listener tests; full suite 2954/2954 (v3.6.89)5 months agocfc7e8821df9feat: productionSyncRunner + startup registration — composes adapter+transport+coordinator with cached-IP fast path and /24 subnet fallback; setSyncRunner wired in entry.ts start(); hydratePersistedSyncState rehydrates lastSyncAt across SW restarts; 13 runner+persistence tests, full suite 2948/2948 (v3.6.88)5 months agoef5de9313daffeat: ChirpSyncVaultAdapter — production adapter backing runChirpSyncInitiator; per-entry AES-GCM envelope under HKDF-derived sync entry key; 13 tests covering vault_id, manifests, encrypt/decrypt round-trip, tombstone merge, id-swap rejection, locked-vault errors (v3.6.87)5 months ago21a0838bcb4evault: applyMergedRemoteEntries — last-write-wins merge for remote entries+tombstones, no fireSyncTrigger to avoid feedback loop (v3.6.86)5 months ago0c7fd088b99cbefore chirp sync production runner — adapter + runner + registration + mDNS listener5 months agoba0337d1a873docs: peach-post-audit-fix-report-v3.6.85.md — per-fix detail, koh log, deferred follow-ups5 months agoa449b27eddbbtest: align contracts.test active-card expectation with Settings-opens-to-card-I (v3.6.85)5 months ago0f3e59b5732atest: Codex regression suite — chunk/stripe constants, planning boundaries, deriveShardCounts, AztecCodeReader regression guards, browser-bundle hygiene, module load gate (v3.6.84)5 months agof86ad225e14efeat: add email field to PeachScript v3 export format — bump payload version, add flags2 byte for login entries, preserve v1/v2 import compatibility (v3.6.83)5 months agof5e09bec3b47feat: wire vault-change, popup-foreground, and manual 'Sync now' triggers — TRIGGER_SYNC + GET_SYNC_STATE messages, ChirpSync Sync now button + result flash (v3.6.82)5 months ago8ad0d17ee9b4feat: add sync-trigger.ts — central sync dispatcher with syncInFlight guard, markLastSyncedAt wiring, state broadcast, dependency-injected runner (v3.6.81)5 months agocf02cd217e1ffix: TOTP picker shows empty-state toast when no TOTP entries for domain; drop 'mobile apps' from Onboarding Pro list (v3.6.80)5 months agoe073840d9292fix: normalizeEntry drops email + additionalUrls on vault read — add both fields to base object, add lock/unlock round-trip tests (v3.6.79)5 months ago95a4903d1acfbefore post-audit fixes — SEV-1 through INFO findings from peach-post-audit-fix-brief.md5 months ago7b06158e69cerestore favicon for visited sites, globe still falls back to initials chip5 months agodbe895fe63e4bump to v3.6.785 months ago727326aea9d8pro activation — card fan, shake, sparkles, ambient dust, easter egg triggers5 months ago2209ccb8d790fix feedback chip glow clipping in stack card body5 months ago5c03d53d4f1dremove Chrome favicon API — always show colored initials chip5 months ago4d29415ccbb6before pro activation celebration — fan, shake, sparkles5 months ago162fa5233f15bump to v3.6.775 months agof7a2710b3f67open settings to card I (Peach Pro) instead of card II (Protection)5 months agod04cd3af06cepre-public audit v3.6.76 — read-only findings5 months agobda660750c74pre-public audit v3.6.76 — read-only phase begins5 months ago5da6bebe36a8settings polish — Peach Pro card first in stack and renumber I-VII; drop Mobile apps from Pro features (mobile is free); rename 'Vault Health' row to 'Advanced Vault Health' (v3.6.76)5 months agobb40658c5731fix Codex PDF restore — accept v3 envelopes (generator emits v3, not v2); extract cellRectFor / decodeAztecFromArgb / imageDataToArgb; add 16 tests including 36-code full-page grid integration round-trip5 months ago

← newerolder →

details

Peach

A free, open source, local-first password manager for Chrome, Firefox, and Android.

Peach encrypts your vault on your device. No hosted vault, subscription, or account is required to use it.

peachpasswords.com


Features

  • Passwords, cards, and secure notes — keep your private data together in one encrypted vault
  • Inline autofill — fill and save credentials without leaving the page
  • TOTP built in — generate two-factor codes without a separate authenticator
  • Password health — find weak, reused, and exposed passwords
  • Portable backups — export and restore with PeachScript or a .peach file

Peach Pro adds:

  • Peach Sync — end-to-end encrypted sync across paired devices
  • Passkeys — save and use passkeys in Chrome and Firefox
  • Peach Codex — print an encrypted, scannable backup of your vault
  • Advanced vault health, Canary Entries, and duress tools

See the Peach website for current availability and Pro details.


Install


Open Source

Peach is released under the GPL v3. This repository contains Peach's Chrome and Firefox browser extensions. Android is maintained separately.

The source is hosted on Kepr, Asha Software's version control platform.


Security

Vault data is encrypted with AES-256-GCM and protected by Argon2id key derivation. Peach Sync authenticates paired devices and encrypts data in transit.

Implementation details live alongside the code:


Building

bun install --frozen-lockfile
bun run build

Builds are written to dist-chrome/ and dist-firefox/.


Built by Asha Software · [email protected]