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

251 files
5c03d53d4f1d
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.1 MB · 5 months ago
background/471.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.7 KB · 5 months agochirp-sync-coordinator.test.ts8.6 KB · 5 months agochirp-sync-coordinator.tsChirp Sync — Phase 2 manifest-diff coordinator.10.7 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.ts1.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.6 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.47.5 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.5.2 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 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.ts28.7 KB · 5 months agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.81.6 KB · 5 months ago
content/294.8 KB · 5 months ago
crypto/54.9 KB · 5 months ago
popup/1.1 MB · 5 months ago
codex/176.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.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.13.5 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.8 KB · 5 months ago
views/480.1 KB · 5 months ago
App.tsx65.9 KB · 5 months agochirp-pair-capacitor.tsCapacitor adapter for the initiator-role pairing server.5.0 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/236.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.ts3.7 KB · 5 months agochirp-handshake.tsPost-chirp pairing handshake.6.6 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.9.9 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.7.3 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.6.9 KB · 5 months agosync-types.tsChirp Sync — type definitions (Master Brief v2).7.3 KB · 5 months agotypes.tstypes.ts — cross-boundary types and the MessageType union.15.7 KB · 5 months ago
tests/436.7 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
1cd43b988080fix Codex PDF restore — decode canvas pixels directly via AztecCodeReader instead of BrowserAztecCodeReader (which silently fails on canvas elements); shrink detached window to 320x550 (v3.6.75)5 months agoe32372210412fix Codex PDF import — crop actual code regions instead of even canvas/6 slices; shrink detached window from 460x720 to 340x560 (v3.6.74)5 months ago0ba54a112996marketing card mirrors new layout — Email · Password · Edit under muted Copy eyebrow5 months ago4760eddc39a7before inline popup demo refresh — marketing card + peachpasswords.com hero5 months ago343f605f656adeep-link detached popup to codex-restore on ?codex=pdf — App.tsx routes past onboarding/lock straight into the restore flow (v3.6.73)5 months ago3d870e4370ebwrap copy actions under a single muted Copy eyebrow — Email/Username/Password buttons replace repetitive Copy email / Copy username / Copy password (inject.ts + marketing card, v3.6.72)5 months ago34cda6281b85measure inline popup card height after render — clip raw to content, no dead space5 months ago23dc656843effix detached popup URL — resolve via manifest action.default_popup instead of hardcoded popup.html (v3.6.71)5 months ago785cca9b28d7detach popup to chrome.windows for PDF import — survive file dialog focus loss, replace emoji icons with SVGs, lift guidance text contrast (v3.6.70)5 months ago0a34bc3ebed3render inline popup raw with real inject.ts tokens — drop shell, match dark theme, IBM Plex Mono labels, peach-accent button5 months ago9cc02dce0a40add inline popup marketing frame (08-inline)5 months ago59def6918680match peachpasswords.com fonts in marketing frames and remove green dot beside url5 months ago569fd42c72a9chore: Export Chrome store images as JPEGs (v3.6.69)5 months agoe18a621e72ffchore: Generate store assets at required sizes (v3.6.68)5 months agob27f0ab87fa3fix: Polish settings and Codex card geometry (v3.6.67)5 months agoe3acfa5fe9f3fix: Prevent folded Pro card subtitle clipping (v3.6.66)5 months ago1b294a2404c2produce peach-3.6.65-source.zip; verified content-identical rebuild from clean checkout5 months ago0e2eb416f250exclude LOG.md from AMO source archive — koh-internal history5 months ago31ee70ec4da4add .amoignore exclusion list and scripts/package-amo-source.sh5 months ago049f4916c04fadd README.amo.md for AMO reviewer reproduction of peach-3.6.65 build5 months ago5ef71af9c9f9before AMO source archive for peach-3.6.655 months agoe5e254e53ce7fix: Add Firefox data collection consent manifest (v3.6.65)5 months ago2af360f19338before firefox addon validation fix5 months ago5496f743042brevert: back to 8d0feb87be79, no changes5 months ago801e34e46347before highlight + benchmark fixes5 months ago8d0feb87be79fix: add padding-top to focused settings card so Peach Pro date is not clipped (v3.6.65)5 months agoc357f3ae06befix: add padding-top to focused settings card so Peach Pro date is not clipped5 months agob97c3e7ecc32before Peach Pro date visibility fix5 months ago4d2b19516c66fix: Update onboarding features and Codex restore (v3.6.64)5 months agod99308b4fb2afix: Polish and harden feedback flow (v3.6.63)5 months ago893de0a2c330feat: wire feedback form to Web3Forms (temporary, pre-Vesper) (v3.6.62)5 months agoa0f34330d095add src/shared/config.ts with WEB3FORMS_KEY constant5 months ago0c8adf9bff2bbefore Web3Forms feedback integration5 months agoefe6b2aee64evault history shows 3 latest inline + older dropdown; center version corner; fix Pro card date clipping; health loading screen for all users + title renamed to Advanced Vault Health; health view stays mounted during entry edit to prevent freeze on cancel (v3.6.61)5 months agocbceefec3283add padding-bottom to settings card scroll body — prevents last-item cutoff (v3.6.60)5 months agoa18bee50abe2remove emoji icons from codex done guidance items (v3.6.59)5 months ago35180c74591dbump to v3.6.585 months ago19624c4eed59replace canvas-based HybridBinarizer round-trip with in-memory GlobalHistogramBinarizer path — no DOM needed, works in both browser and node, eliminates AZTEC_CONTENT_MISMATCH root cause; add 200-payload unit test, 20-envelope integration test, and 100KB vault pipeline test (204 tests passing)5 months ago262165751c44before in-memory BitMatrix round-trip verification rewrite5 months agoe10e3e024e80replace bwip-js browser Aztec encoder with ZXing AztecEncoder — eliminates bwip-js/ZXing mode-encoding incompatibility (AZTEC_CONTENT_MISMATCH root cause), removes 918 kB bwip-js chunk from all browser builds (v3.6.57)5 months agoa86783166653fix email field dropped in sanitizeEntryDraft; identity suggestions include entry.email; aztec retry on content mismatch with diagnostic logging; live Aztec gallery on generating screen (v3.6.56)5 months ago3d77e1828fa3before email-save fix, aztec retry/diagnostics, codex generating UI5 months agoda63b6122caffix Codex generation — bwip-js not bundled due to @vite-ignore on dynamic import (v3.6.55)5 months ago805ccac4d45elight-mode shell border matched to dark-mode visual weight — near-invisible border and adapted shadows (v3.6.54)5 months ago35710e90bb08remove Small text-size option; force Settings html/body and ghost buttons dark regardless of global theme (v3.6.53)5 months agod87a4e8869d5before switching to chrome.windows.update for text-size resize5 months ago4132c0637d08popup reloads when switching to small text size, restores view and entry state after reload (v3.6.52)5 months ago9bc42bcae846before small text-size popup reload and state restore5 months ago03ae61226dd9small text-size zoom moved from html to body — html fills popup frame, no right-edge black strip (v3.6.51)5 months agob781c373cddbbefore small text-size black bar fix — move zoom from html to body5 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]