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

260 files
7c09d257bea1
back to HEAD
icons/6.4 KB · 5 months ago
public/619.5 KB · 5 months ago
scripts/38.4 KB · 5 months ago
src/2.2 MB · 5 months ago
background/541.3 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.ts8.9 KB · 5 months agochirp-sync-coordinator.tsChirp Sync — Phase 2 manifest-diff coordinator.11.8 KB · 5 months agochirp-sync-runner.test.ts15.0 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.5.9 KB · 5 months agochirp-sync-vault-adapter.test.ts16.4 KB · 5 months agochirp-sync-vault-adapter.tsProduction adapter that backs runChirpSyncInitiator with the live vault.10.3 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.4.6 KB · 5 months agocodex-handlers.tscodex-handlers.ts — message handlers that back the Peach Codex flow.10.1 KB · 5 months agocommands.tsKeyboard command handler — routing for summon-inline: 1.2.5 KB · 6 months agoentry.ts2.0 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.ts23.2 KB · 5 months agomessages.tsmessages.ts — the only background message handler.49.1 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.7.1 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.11.4 KB · 5 months agopasskey.ts35.0 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.ts5.2 KB · 5 months agosync-trigger.tssync-trigger.ts — central sync dispatcher.4.8 KB · 5 months agovault-history.test.tsVault history tests.8.4 KB · 6 months agovault.adversarial.test.tsvault.adversarial.test.ts — Layer 3 §3.1 adversarial vault tests.32.7 KB · 5 months agovault.test.ts30.0 KB · 5 months agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.86.8 KB · 5 months ago
content/295.7 KB · 5 months ago
crypto/58.0 KB · 5 months ago
popup/1.1 MB · 5 months ago
codex/189.0 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.16.6 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.10.7 KB · 5 months agorestore.tsrestore.ts — Peach Codex restoration library (popup-side).10.6 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/270.9 KB · 5 months ago
views/486.8 KB · 5 months ago
App.tsx66.3 KB · 5 months agochirp-pair-capacitor.test.ts3.6 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.2 KB · 5 months agochirp-pair.tsPopup-side orchestrator for Phase-1 chirp pairing.11.4 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/239.2 KB · 5 months ago
backup.test.ts2.8 KB · 6 months agobackup.ts7.4 KB · 6 months agobridge.ts1.6 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.ts5.1 KB · 5 months agochirp-handshake.tsPost-chirp pairing handshake.7.1 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.tsTemporary until Vesper (internal tracker) is ready123 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.1 KB · 6 months agogenerate.ts2.1 KB · 6 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 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.7 KB · 5 months ago
tests/442.9 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.5 KB · 5 months agomanifest.json1.7 KB · 5 months agopackage-lock.json289.8 KB · 5 months agopackage.json2.1 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
fef762d2460dbefore settings stack redesign5 months ago881f8f05a661before Settings Codex Continuum implementation — v3.6.17 baseline5 months ago6a9591d914b5Pro-gate Duress Vault (SETUP_DURESS server gate + setup-button UI redirect) and Canary Entries (UPDATE_ENTRY server gate on first canary enable + toggle UI redirect via onProGate callback). Add ADVANCED SECURITY section header + 2 cells to upgrade screen feature grid. HIBP/canary alert path noted as unconditional. Bump 3.6.175 months agoa622b79eacb5before duress + canary pro gate + website updates5 months ago8d9796d9bb74Pro upsell — add Peach Codex, rename 'Android & iOS' to 'Mobile apps · Android, iOS soon', tighten grid to 3x2 uniform layout, smaller headline + subtitle to fit popup viewport. Bump 3.6.165 months ago27f87865ee6aremove icon from mic notice; bump 3.6.155 months ago33e96fc92fe5add mic permission notice above pair button; bump 3.6.145 months ago8ce923a07412fix mic permission: request audioCapture optional perm before getUserMedia; redesign pro upgrade screen with editorial headline, numbered grid, inline key entry; bump 3.6.135 months ago20c36630394ebump version to 3.6.125 months ago789a749828b6fix chirp sync intro: readable headline (t0), shorter body copy, borderless accent-glow back button5 months ago16f5d5f99514bump version to 3.6.115 months ago6d1a5e56e758remove borders from header icon buttons, always-accent lock, glow hover; redesign pro upgrade hero with ambient glow, larger mark, visible tagline and pricing, borderless key-link5 months ago4ee346a17757before chirp mesh verification + website features copy5 months agof9b2008a842dbump to v3.6.105 months ago35bcc7ef584fmove pair-a-device button to bottom of chirp sync view5 months ago1f05c166db39revert light theme darkening — restore parchment surface values in popup.css5 months agoda5e731e2125license key masked by default with copy+toggle; small text zoom moved to html to fix window gap; light theme surfaces −10% L (bg #DAD8CD, card #E0D1BD, etc). Bump v3.6.85 months agoaa32eb185cb3replace empty globe with InitialsChip — onLoad rejects _favicon/ default by naturalWidth ≤16 (v3.6.7)5 months ago3832fe4333e7remove Chirp Sync footer disclaimer entirely (v3.6.6)5 months ago8d6020bdb17bhide Chirp Sync footer disclaimer once devices are paired — Show wraps footer so it only appears on the empty state (v3.6.5)5 months ago7e64c55333eelight theme warm parchment restoration — bg #EFEEE9, card #F0E9DF, input #EEE7DD, overlay #F5EDE2; text-secondary #3D2E18, placeholder #A8A099; border #DDD5CB; ghost-opacity 0.06; settings label #79766F; btn/lock-secondary to input-well surface; entry row hover to bg-row/bg-elevated. Bump v3.6.45 months ago052e5e8a3e2fbefore light theme parchment restoration — warm parchment brief, supersedes warm toasted linen5 months ago47e80fc88e6flight theme v3 warm toasted linen — bg-base #C9A882 hsl(29,28%,77%), elevated/overlay/sunken surface tokens, glass + lock-panel rgba, btn-secondary to #BC9B72, ghost-opacity 0.12→0.10. Bump v3.6.35 months ago2180e221486ebefore light theme v3 warm toasted linen re-implementation — brief v35 months agobebbb78af591purge remaining old peach paths — popup/index.html pre-hydration splash, Lock.tsx preloaded data: image, content/inject.ts form-field icon; update passkey badge background and RecoveryRune default tint to new peach-dark #E5805C. Bump v3.6.25 months agobce5679f7717fix lock-screen and new-vault peach silhouette being painted sage — the nth-child(2),(3) override was written for the old 4-path icon (body, cleft, leaf, stem); in the new mark path 1 is the leaf and path 2 is the vein, so target those instead. Bump v3.6.15 months ago6bcaeb6fa26cupdate icons/source.svg to 240 viewBox 4-path color mark from brand kit (peach light/dark, leaf, vein, blush highlight); update PeachMark component to match geometry; regenerate 16/32/48/128 PNGs via sharp; bump v3.6.05 months agoe0578a49465arevert popup.css android-only rules per peach-android architectural boundary; move.peach-list-top — native into android-overrides.css instead (sheet CSS already exists there)5 months ago2c12e1f8fe0fadd missing peach-vault-sheet CSS (peek/open/dragging states + drag handle) so the mobile bottom sheet actually peeks instead of overlaying the entry view full-screen5 months ago66c3fd7b35ecredesign sync pro gate with mobile bird + chirp waves, add isNative variant to vault list top bar (no back arrow, search icon, flat counter), bump v3.5.05 months ago86d0c56266c8before android experience wire-up: sync pro gate redesign + vault list initial state5 months ago93e4146ae02eadd initiator role to chirp orchestrator — runChirpPairing(deps, role); new openPairingServer dep; Capacitor adapter src/popup/chirp-pair-capacitor.ts bridges native SyncPlugin events to PairingTransport; ChirpSync auto-picks role via isNativePlatform; tests cover both role-mismatch and missing-dep paths (v3.4.0)5 months ago7eb90f1f2155vendor ggwave-wasm (154KB self-contained) into public/ggwave; register web_accessible_resources in both manifests; add audioCapture to chrome optional_permissions; harden subnet scan with 250ms per-IP timeout (4s worst-case vs minutes); 2860/2860 tests pass (v3.3.7)5 months ago1f8debd1b7dfbefore chirp full-functionality work — 4 parallel agents5 months ago465adf48582ddrop pair-a-device headline/button echo — empty-state headline is now "Bring your phone close" (v3.3.6)5 months agoc3836b4f9329make chirp pairing + settings views position:absolute overlays so they cover the always-mounted EntryView underneath (v3.3.5)5 months agof86ae046b7eccollapse global popup chrome on chirp-sync view; reword rest copy to drop "this Peach" personification (v3.3.4)5 months ago9226c83316f9fix chirp surface contrast — switch all text to --peach-t0/t1/t2 (--peach-text was 4% opacity token); reduce horizontal padding 18px→12px to use full 320px width (v3.3.3)5 months ago3bfb3fea5ecebefore chirp surface contrast + full-width fix5 months ago1cc4551868f2unify Sync rest view with new Chirp surface — bird stage at idle pose, Pair-a-device CTA, paired-devices section with remove confirm; drop old idle card and ChirpHeroBirds (v3.3.2)5 months ago1f2ff58944c2unify chirp surface — warm radial gradient + serif italic title/headline on idle Sync view, kill scrollbar gutter (v3.3.1)5 months ago5c295ba6e302redesign chirp pairing screen — Finch+Swallow stage, chirp arcs, flight wave, connection dot, status copy/action, sr-live region; bump v3.2.2 → v3.3.05 months ago60c812553e03before chirp pairing screen visual redesign — finch+swallow stage, flight wave, connection dot5 months agoed92f78beae5drop light theme saturation 28% → 11% — warm gray linen hsl(29, 11%, 79%) #CEC4BA; rederive all surface tokens; bump v3.2.1 → v3.2.25 months ago298135459a15light theme v3 — warm toasted linen palette (bg-base #C9A882, hsl 29 28% 77%); update all surface, text, border, btn tokens in vars.css and popup.css glass + override blocks; ghost-opacity 0.11; all three builds clean5 months agod012f0061108before light theme v3 implementation — warm toasted linen brief5 months ago671348e439e2light theme v2 surfaces — cool linen palette replaces warm tan; surface, border, btn tokens corrected per brief (v3.2.1)5 months ago8289a18f5761before light theme v2 surface revision5 months ago5513fd26129aChirpSyncView (v3 Settings → Sync) — bird hero, Pair-a-device CTA opens three-act ChirpPairingFlow, paired list with trustSource badge + stale-device warning, Pro gate; remove legacy v2.14 §3.9 + qrcode/jsqr deps; bump v3.1.0 → v3.2.0; typecheck + 3 builds clean5 months ago49bcc955c5cestrip v2.14 legacy — sync-coordinator/network/storage/wire/websocket-transport modules, SyncPairing+InfoSheet+ComingSoonBanner views, RestoreFromPhone tab in Lock, getVaultBlobForSync/applyIncomingVault/getSyncIdentity, all legacy message types and handlers (16 files trashed, 8 cleaned)5 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]