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
561b656d9465fix Mayan decoder cy offset — diamond horizontal midpoint is 1 module above code center; shift rune.cy by modulePx before passing to sampleModuleGrid6 months ago3c4de4d66983fix Mayan decoder (estimateModuleSize, findOthalan filter); fix passkey export in PeachScript/Mayan (entryTypeByte + ENTRY_TYPE_PASSKEY encoding for v2.11+ sub-object schema)6 months ago8fa1082f4aaefix Mayan decode via createImageBitmap; reattach toolbar popup after successful import in detached window6 months ago5cf135768dc8restore flow: detached window for file pickers, tab font 11px to fit 320px popup6 months ago101ea06cc166exclude Rust build artifacts from koh tracking6 months agod39515e785b5v2.20.0: restore screen tab redesign — PeachScript/Mayan/CSV/From Phone tabs, import animation, intro popup (v2.20.0)6 months ago976cd94cd777restore screen tab redesign — PeachScript/Mayan/CSV/From Phone tabs, import animation, intro popup, scrollbar suppression6 months agof710b8557c65restore screen scrollable — overflow-y: auto overrides vault-stage clip, hero bottom margin 4px6 months ago3cd2b2a6bcddbefore restore screen tab redesign6 months ago3da8942fcd88v2.19.0: MayanRestoreView wired end-to-end — base64→ImageData→decodeMayan, then backup/master password prompt → parsePayload → CREATE_VAULT (onboarding) → RESTORE_ENTRIES → onUnlock; 301/301 tests, all builds clean6 months agoa95ff8f614c9Export.tsx: replace renderPeachQR with encodeMayan; on-screen 3px/module, PNG 4px/module; size cap raised to MAYAN_MAX_BYTES (65535); printability warning when >A4-sized but no abort6 months ago4e4dbfb98154mayan tests: 10 round-trip + RS recovery tests pass (5/100/500/2000-byte payloads, multi-block, magic-byte rejection, deterministic 0.5% bit-flip recovery)6 months ago561a5913550amayan.ts: encoder + decoder per spec — Othalan rune (23×23 diamond+legs+orientation marker), 27×27 reserved center, 30% RS ECC, mode header 0x4D/v1/u16 length, adaptive binarize via integral image, Chien rotation 0/90/180/2706 months agod35c27a38d5ers.ts: Reed-Solomon GF(2^8) RS(255,178) block codec with Berlekamp-Massey + Forney; corrects up to 38 byte errors per block (30.2% ECC); 8 round-trip tests pass6 months agocaebcae786e5before mayan rollout — rs.ts + mayan.ts encoder/decoder + tests + export/restore wiring6 months ago47377cda36d9v2.18.1: rem migration for body text (8-17px → rem at 16px base, 254 declarations); MainActivity textZoom respects system fontScale; html font-size: 16px anchor; display sizes (>=18px) keep px6 months ago5cf1338dfd8bcamera Mayan scaffold: @capacitor/camera 8.2.0, MayanRestoreView replaces ComingSoon with Scan-with-camera (Android) + Choose-from-gallery; handleMayanDecode stub returns typed result for decoder swap-in6 months ago96bcd2845cabvault virtualization: windowing on >100 entries with top/bottom spacers, ROW_HEIGHT=56, 8-row buffer; scroll listener computes visible slice from filteredEntries6 months agod31f384002e3before deferred-items rollout — virtualization, camera scaffold, rem migration6 months ago9eaf26bd68d0v2.18.0: bump manifests; Projects.md §9 Android adaptive layout; verification matrix — tsc clean, mobile/chrome/firefox builds clean, cap sync clean, 283/283 tests pass6 months ago2528e0ecbe3cperf: verified WebView config + mobile build (no extension code bundled), splash launchShowDuration=0; lock view loading() covers Argon2id wait; vault virtualization deferred (no scale problem)6 months agoc7e727f5191ea11y/font/dark: aria-label on entry rows (TalkBack reads 'Title — username (login)'); text-size-adjust:none opt-out for fonts; color-scheme:dark light for native form widgets6 months ago97e4539146b7camera Mayan scan: deferred — decoder not yet shipped (Lock.tsx renders MayanComingSoonView). Camera dep+UI is a no-op until decoder lands6 months ago88b533dcbc51biometric: verified existing flow — BiometricPrompt + JS biometricUnlock signals SW; SW holds derived key, no Keystore-bound master key (app architecture choice)6 months ago6d5c1ac0357fstatus/nav bar: navigationBarColor set to #0C0A06 in MainActivity; safe-area + keyboard wiring already in place (verified)6 months ago5b013329da52autofill: ranked domain match (subdomain/package), locked-vault auth flow (consume + complete EXTRA_AUTHENTICATION_RESULT), onNewIntent re-fire, appStateChange re-checks save6 months ago51810d467d82back nav: lock view uses double-tap-to-exit instead of immediate exit (parity with entry view); back map verified across views6 months agofa5725c92ff1gestures: long-press context menu (copy username/password/totp/open/trash), swipe-right-to-copy on compact, vibrate haptic, copy-flash + bottom-sheet menu styles6 months agocf2c58c238b2fold: FoldPlugin.kt + WindowInfoTracker posture, src/shared/fold.ts wrapper, App.tsx wires data-posture + --peach-hinge-height; androidx.window 1.3.0 dep6 months ago1a849508944atwo-pane: layoutClass signal, isTwoPaneLayout helper; list overlay scopes to 320px sidebar on medium+, 360px on expanded; selecting entry keeps list mounted6 months agobd35b3ff296dadaptive layout: layout-compact/medium/expanded body class on resize, breakpoints for two-pane + landscape + narrow split6 months agoa145a1c8e968icon: Peach adaptive launcher — #1a1410 background, peach SVG vector foreground at 66% safe zone, both round and square6 months agoe7d5f92559d6manifest: add resizeableActivity, adjustResize, full permissions (VIBRATE/BIND_AUTOFILL/ACCESS_NETWORK/CAMERA); minSdk 24→266 months ago52a82d0950c3before android master spec rollout — 31 tasks across manifest, icon, adaptive layout, gestures, autofill, biometric, camera, perf6 months ago746dc5d164fcandroid show-mode pairing: kotlin TCP byte pump + UDP beacon, JS Noise NK responder + auth + PAIR_REQUEST handler, START_PAIRING_SERVER wired on Capacitor (v2.17.0)6 months agof71a6b2a2091before Android show-mode pairing: TCP server + Noise NK responder + UDP beacon6 months ago5e85d0636133inline popup smart password generator: parity with main UI compact mode — length slider, A-Z/a-z/0-9/!@# pills, regen+copy buttons, site-rules hint, in both signup and create-entry flows (v2.16.5)6 months ago49c3bcb72e5centry URL editor: + add current site button uses active tab URL, fills primary if empty else appends to additional URLs, dedupes (v2.16.4)6 months ago17914c240bb4inline popup: + button in domain header opens create form directly, so users aren't trapped in the search list (v2.16.3)6 months agoa8e7ba480464hide default scrollbar in identity-list inline popup container (v2.16.2)6 months ago28b4a0873932android: SyncPlugin.resolvePeerByCode UDP broadcast + CONNECT_WITH_CODE Capacitor handshake; gate show-mode, hide toggle6 months ago942edd5cbb67bump version to 2.16.0; gate Android pairing handlers with android_pairing_not_yet_supported6 months agoc9f3aba8b8cerebuild SyncPairing UI as show/enter modes; add code/input styles, recent-pair toast, and vault-lock teardown6 months ago76230f557838wire START_PAIRING_SERVER, CONNECT_WITH_CODE, GET_RECENT_PAIRING handlers and auto-accept on active token6 months agof2b923812414add UDP pairing beacon module and StartPairingServer/StopPairingServer/ResolvePeerByCode host messages6 months ago41f5c122d811before pairing-code refactor: replace mDNS pairing with 6-digit code + UDP beacon6 months ago9bc0ec07c892fix: vault history sub-label uses --peach-t2 for legible muted text (v2.15.1)6 months ago4ebb6a4c579eandroid SyncKeyPlugin (Keystore-backed X25519); register in MainActivity; security-crypto dep; clearAndroidSyncIdentity wired into Reset; bump 2.15.0; chrome+firefox builds clean; 281 tests passing6 months ago61a7b6644c68wire SyncPairingView into App.tsx (sync-pairing view); single-mode discovery; Advanced toggle CSS6 months ago240a2e43d433wire lastSyncAt into GET_SYNC_STATE; rewrite renderSync paired devices + trusted networks; vault advanced dropdown; rename formatHistoryTime to formatSnapshotTime6 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]