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
c36e07074b6aversion label moved from Settings masthead to bottom-right corner as 7px mono text (v3.6.50)5 months agoc8f933fd178bbefore settings version-label relocation to bottom corner5 months ago7b2b774fc03cbefore settings text-size geometry followup5 months ago4021a2198f72fix: Fill same-form 2FA with login credentials (v3.6.48)5 months agob68ab276fa94before same-form 2fa autofill5 months ago7e2247778b35feat: Add inline 2FA field picker (v3.6.47)5 months ago0851645934f7before inline 2fa field picker5 months ago61b35be7f039fix: Stabilize Settings scaling and local Health updates (v3.6.46)5 months agoaa433d6c6c49before fixing small text popup black bar5 months agoad2ecd73807afix: Use full Settings focused-card height (v3.6.45)5 months agoc89a6e60f3e1before settings expanded-card space fix5 months ago246c4b48a712remove: smart password change — feature never worked, cut entirely5 months ago004d1d32f877before removing smart password change5 months agob13822a0ea50fix: Restore Codex engine browser load (v3.6.43)5 months ago3991c2a5cd74fix: Split Codex screen load from generator bundle (v3.6.41)5 months agoc7effb2bc4b1unfix html width when data-text-size=small (was: widening html to backfill). With width:auto, Chrome sizes popup to rendered html (294px) so the popup itself shrinks — no extra background bleed (v3.6.40)5 months ago4b70c6ed3e02move Settings version label into stack mast next to card counter (no more floating-overlay overlap with Feedback CTAs); widen html for data-text-size=small so the popup background fills past the 0.92 zoom (kills the right-edge black bar) (v3.6.39)5 months ago42afffa1831brevert codex-screen-broken trace logs; clean state for next agent. Codex screen-never-loads bug remains unfixed by this session — RS striping + library swap (v3.6.38) verified at code level but blocked from manual repro.5 months ago7f3794c1d4ffupdate Codex tests for v3 envelope shape + stripe-aware large-vault path; all 2862 tests green; chrome/firefox/mobile builds clean (v3.6.38)5 months agoed89dc7be482split Codex encode into ≤ MAX_DATA_SHARDS_PER_STRIPE RS stripes to bypass GF(2^8) 256-shard cap; ChunkEnvelope v3 carries (s, S); generate/restore/types updated5 months ago69508a4a1463before Codex striping refactor — GF(2^8) shard-cap fix5 months ago484017c860f4wip: swap @digitaldefiance → @subspace RS library (MIT, identical API). 2 large-vault tests reveal GF(2^8) 256-shard cap — data+parity > 256 panics encode. Pre-existing limit, not introduced by swap.5 months ago894d7e43bf5ebefore erasure coding verification fix — replacing RS library5 months ago9302d9e9ffbaversion label font-size 7px (v3.6.37)5 months agofd8b764e9bd9version label deep in corner — bottom:6px left:10px (v3.6.36)5 months ago36949a124928version label nudge — bottom:16px, opacity 0.4 (v3.6.35)5 months ago184d4229ee4eversion label: just vX.X.X, bottom-left, z-index above cards (v3.6.34)5 months agoadecac78eb5astk-shell padding-bottom clears version zone; remove stk-deck overflow:hidden — was clipping hover glow to rectangle (v3.6.33)5 months ago34e8a5db6881version label absolute-positioned (no layout shift), left-aligned; settings overlay pure black background (v3.6.32)5 months ago7add513d4fearemove stk-shell solid background — blocked overlay gradient, caused visible bar below deck (v3.6.31)5 months ago8f7820d8391fremove stk-shell background — was blocking overlay gradient, creating visible bar below deck5 months ago4a072a117aa0fix sub-surface back navigation — health/import/export return to settings, add returns to caller (v3.6.30)5 months agoaf020d18934bhealth loading screen, version label, smart change URL fix, overlay header redesign (v3.6.29)5 months ago080e85c872cafix Codex AZTEC_ROUNDTRIP_FAILED — reduce CHUNK_SIZE 1024→800 (was over 1386-char Aztec ceiling); unify overlay header with settings redesign (v3.6.28)5 months ago3cf91c205c62persist derived key in chrome.storage.session; restore vault state on SW restart without user re-unlock, fix onConnect dead code (v3.6.27)5 months ago02cdb92bcff6restore active settings card on return from Codex/Chirp, catch expired SW session on duress setup (v3.6.26)5 months agoa669788a81ddunify vault history and advanced toggles, scroll-down unveils card, scroll-up minimizes with 300ms guard (v3.6.25)5 months ago8a204ae5858dsnappy hover (90ms), deck-level scroll gestures, vault history collapse, extend active card to 258px (v3.6.24)5 months agoe25c0982ba33v3.6.23 — version files updated5 months ago13276198e1d7remove borders from ghost icon buttons, bump to v3.6.235 months agof0411f5db797bump to v3.6.225 months agoc6f2249efdc2remove accent glow on Pro icon, add Duress Vault and Canary Entries to active features list5 months agoa2ae3ccee74dfix tab overlap, add hover lift/glow, scroll-to-expand replaces SECTIONS button5 months ago10b1e40ac44fbefore settings stack UX — overlap fix, hover, scroll-to-expand5 months agod703c0d78d3badd exit animation when leaving settings back to main entry view5 months ago1fd4f7b8c872fix Aztec decode: white-fill canvas before drawImage so transparent quiet-zone pixels composite to white instead of packing as black in ZXing ARGB5 months ago21044a32a4a4fix Codex VAULT_LOCKED redirect and Aztec roundtrip decode failures5 months ago73c8f4c7705dfix ghost word descender clip, card title spacing and line-height, back button two-level settings nav, peach:back dispatches to deck, lock-on-close reads storage on SW restart5 months agobe7d2b7a4585before settings nav, ghost word, card title, lock-on-close fixes5 months agoa80d09ce056dfeat: Reimagine Settings as Stack tray deck (v3.6.21)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]