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 2 weeks ago

266 files
19da2c5da38d
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.3 MB · 5 months ago
background/596.8 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.5.9 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.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.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.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.ts24.9 KB · 5 months agomessages.tsmessages.ts — the only background message handler.51.0 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-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.11.4 KB · 5 months agopasskey.ts43.1 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.ts31.3 KB · 5 months agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.86.4 KB · 5 months ago
content/305.1 KB · 5 months ago
crypto/58.0 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/489.4 KB · 5 months ago
App.tsx66.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.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/245.8 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.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/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.7 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 · 5 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
f17d073716b4diag: mesh-propagation round 2 — five tagged lines at every silent rejection path in applyVerifiedPeerManifest (v4.7.7)2 months agoec56ceb632a1docs: verify v4.7.5 implementation, fix stale restoreFromSession docstring (v4.7.6)2 months ago2ce3e994721efix: background sync works after popup close (lock no longer clears session key; rootKey restored from pw_root_*) (v4.7.5)2 months ago470beed172adfix: canonicalise skips null fields to match Android manifestEntryMap (v4.7.4)2 months ago7af03d846f2ediag: dump first device + first revocation as JSON (v4.7.3)2 months agoc46a49d2fa01diag: include deviceIds in verifyDeviceManifest diag line (v4.7.2)2 months ago9cab7d6bd740diag: log canonical string length + head (v4.7.1)2 months ago8a84c926b1bffix: derived-key retry was crashing on Node-only Buffer API (v4.7.0)2 months agoc65884a42bdfchore: bump to v4.6.9 (deeper verifyDeviceManifest diagnostic)2 months ago0e674d57a890diag: log verifyDeviceManifest error reason on both stored + derived attempts2 months ago25b89c1d4939chore: bump to v4.6.8 (diagnostic logging)2 months ago6139bb5c534ediag: log early-return reason in applyVerifiedPeerManifest2 months ago1379c16e930ediag: log per-entry skip reason in applyVerifiedPeerManifest2 months agodcd38225db61diag: log manifest exchange for mesh-propagation investigation2 months ago1f39c16ea27bdocs: record v4.6.7 stale signing key fallback session2 months ago47f10bb9ac6afix: fall back to derived signing key when stored issuer key is stale (v4.6.7)2 months agob56583e1a012test: cover relay adoption receiver mesh manifest path (v4.6.6)2 months ago84225691c252docs: Record GPT-5.6-Sol browser promotion PASS2 months ago74ca2839ec4ffix: Fail oversized duress before snapshot send (v4.6.5)2 months ago4c15b8de49bbtest: T-A38 root-cause proof — >768 KiB snapshot succeeds because duress rides its own frame2 months ago1077ccaa33ebfix: Reserve frame for duress at chunk cap (v4.6.4 GPT-5.6-Sol HIGH re-review fix)2 months ago8411b9a63ec4fix: Move duress off the entries frame (v4.6.4 frame-ceiling root cause)2 months agod1f501a07784test: VaultAdopt T-A33 >768 KiB frame-ceiling regression (v4.6.4)2 months ago158d02e85de5docs: Append review-fix session log to continuity2 months ago8d256514b827fix: Bump Firefox manifest to 4.6.3 and update rename docs reference (v4.6.3)2 months agoe8856c991369chore: Rename relay-adoption-source-bg.ts to relay-adoption-bg.ts (v4.6.2)2 months ago517c682f9968feat: Echo `snapshot_capable` on ADOPT_GRANT so receivers skip the inline wait when no snapshot is coming (v4.6.1)2 months ago7410c0da42c1feat: Carry the sealed duress slot across adoption snapshot (v4.6.0)2 months agobcae1b330341fix: resilient post-adoption sync fallback (v4.5.1)2 months agodbac78ce978bdocs: record android inline-snapshot counterpart in continuity2 months ago80ab8c3ad841feat: inline vault snapshot over pairing channel (v4.5.0)2 months ago7416b66af497docs: initial sync optimization proposal — inline vault snapshot over pairing channel2 months ago6adad954a8ffdocs: record v4.4.7 release completion in continuity2 months ago5aae9d62aac7feat: resolve audit findings, add Biome lint and debug flag (v4.4.7)2 months agod7f9a49fc425docs: v4.4.6 production security audit report and continuity2 months ago57cc863ec76cfix: Decentralize mesh graph convergence (v4.4.6)3 months ago06339055866cfix: Remove receiver pairing dead space (v4.4.5)3 months agoc2712fceaa45fix: Fit receiver pairing states in popup (v4.4.4)3 months agoda96a6703572feat: Polish receiver pairing flow (v4.4.3)3 months agoe6d0005c7660fix: Hold adoption until initial sync completes (v4.4.2)3 months ago50d1cbac965bfix: Enforce Pro entitlement during pairing (v4.4.1)3 months ago781b92629025feat: Add deterministic full-mesh sync (v4.4.0)3 months ago359f57c490f8docs: record receiver SAS and full-mesh protocol boundary3 months agoba610b7f083bfix: show receiver safety code without a second gate (v4.3.20)3 months ago651df90f45b2fix: complete direct receiver adoption and rollback (v4.3.19)3 months agob7d66c79afb4fix: receiver's createVaultFromRootKey was chrome.runtime.sendMessage'ing from the SW to itself, which MV3 returns undefined for. Switched to a direct import call. Vault creation now completes, ending the inverse-pairing 'create_vault_no_response' failure. (v4.3.18)3 months agof788ea070b4bdiag: log start/end of CREATE_VAULT_FROM_ROOT_KEY handler and the popup-side sendMessage call so we can see whether the SW is replying with undefined (no listener) vs a real error vs a thrown sync exception. (v4.3.17)3 months ago22bd36b49aa2UX: Enter submits the password form (was click-only); pair screen text shortened and QR shrunk to 160px so it fits in the 360px-wide extension window without clipping. (v4.3.17)3 months ago04f422dac66abump manifests to v4.3.16 (previous save forgot the version bump). Same defensive guard against undefined service worker response.3 months agof02a7ceeb1ffdefensive: guard createVaultFromRootKey against the service worker returning undefined (was crashing the receiver session with a minified 't is undefined' TypeError before the real error could surface). Bump to v4.3.16.3 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]