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

420 files
a1cd10fe1734
back to HEAD
crypto-core/74.1 KB · 1 month ago
fixtures/4.7 KB · 1 month ago
icons/6.4 KB · 5 months ago
public/398.1 KB · 1 month ago
scripts/197.2 KB · 1 month ago
build-noise-core.mjs1.8 KB · 3 months agobuild-peachscript.pyBuild PeachScript-Regular.otf — 256 historical-runic glyphs.30.2 KB · 6 months agobun-ambient.d.tsAmbient declarations for the Bun APIs the release scripts use.772 B · 1 month agocheck-cross-client-adoption.test.ts656 B · 1 month agocheck-cross-client-sync.mjs48.5 KB · 1 month agocheck-extension-surface.mjs699 B · 1 month agocheck-noise-core.mjsPB-26-003: verify the committed Noise WASM still matches crypto-core source.2.1 KB · 1 month agocheck-sw-static-imports.mjsFails the build if any chunk reachable from the MV3 service worker still contains a runtime import().3.3 KB · 3 months agoci.ts4.0 KB · 1 month agoclean-chrome-dist.mjs442 B · 1 month agoclean-firefox-artifacts.mjs457 B · 6 months agocross-client-gradle.init.gradle224 B · 1 month agogenerate-kat.mjsgenerate-kat.mjs — recompute the pinned ciphertext for self-test.ts (PCH-01-020).1.1 KB · 4 months agomanifest-parity.test.tsPB-26-610 — the source manifests are security-reviewed; the built manifests are what ships.4.4 KB · 1 month agopackage-source.test.ts8.5 KB · 1 month agopackage-source.ts9.0 KB · 1 month agoprocess-readiness.d.mtsTypes for the plain-JavaScript readiness helper (PB-26-904).479 B · 1 month agoprocess-readiness.mjs766 B · 1 month agoprocess-readiness.test.ts1.0 KB · 1 month agorelease-firefox.ts2.9 KB · 1 month agorelease-gate.test.ts7.5 KB · 1 month agorelease-gate.tsPB-26-210: Release browser-gate validation.3.7 KB · 1 month agorelease-lib.test.tsscripts/release-lib.test.ts PB-26-211: release tool hardening — security tests for the argv-based runner.11.8 KB · 1 month agorelease-lib.tsscripts/release-lib.ts Shared argv-based runner for release tooling (PB-26-211).8.4 KB · 1 month agorelease.test.ts1.7 KB · 1 month agorelease.ts5.3 KB · 1 month agoroot-derivation-gate.test.tsCampaign task 2.4 — no shipping source may derive device key material from the vault root.2.5 KB · 1 month agorun-release-browser-gate.ts930 B · 1 month agotest-firefox-passkeys.mjs17.9 KB · 1 month agotest-firefox-sender-context.mjs13.6 KB · 1 month agoweb-accessible-resources.test.ts2.7 KB · 1 month ago
src/4.1 MB · 3 weeks ago
background/1.3 MB · 1 month ago
aes.test.ts2.8 KB · 1 month agoaes.tsaes.ts — AES-256-GCM encrypt/decrypt primitives for vault storage.4.5 KB · 1 month agoalarms.test.ts11.6 KB · 1 month agoalarms.ts3.1 KB · 1 month agoclipboard.double-failure.test.tsT-037: clipboard double-failure / alreadyWritten path7.1 KB · 4 months agoclipboard.test.ts10.1 KB · 4 months agoclipboard.tsClipboard write + reliable auto-clear — audit fix HV-2.8.5 KB · 4 months agocodex-handlers.test.tsTests for src/background/codex-handlers.ts.7.7 KB · 1 month agocodex-handlers.tscodex-handlers.ts — message handlers that back the Peach Codex flow.10.2 KB · 1 month agocommands.test.ts1.6 KB · 1 month agocommands.tsKeyboard command handler — routing for summon-inline: 1.2.7 KB · 1 month agodevice-identity.test.ts16.0 KB · 1 month agodevice-identity.tsLocal-device identity helpers.20.2 KB · 1 month agoentry.lock-port.test.tsThe lock-on-close onConnect listener accepts only our nonce'd "popup-<uuid>" port from the extension page and ignores anything else.4.9 KB · 1 month agoentry.ts5.7 KB · 1 month agohealth.test.ts4.2 KB · 5 months agohealth.tshealth.ts — Pro advanced vault health analysis.5.1 KB · 5 months agolicense.ts6.3 KB · 1 month agolicense.verification.test.tsT-009: License Ed25519 signature verification10.8 KB · 1 month agolocked-sync-spool.test.ts8.1 KB · 1 month agolocked-sync-spool.ts10.2 KB · 1 month agomesh-relay-listener.test.ts2.5 KB · 1 month agomesh-relay-listener.ts8.7 KB · 1 month agomessage-policy.test.ts7.1 KB · 1 month agomessage-policy.ts7.4 KB · 1 month agomessages.adversarial.test.tsmessages.adversarial.test.ts — Layer 3 §3.3 adversarial message handler tests.44.9 KB · 1 month agomessages.autolock-refresh.test.tsPB-26-107: passive page traffic must not refresh the auto-lock timer.5.3 KB · 1 month agomessages.batch-sanitize.test.tsT-008: PCH-01-016 batch-add canary/tag sanitization7.1 KB · 4 months agomessages.create-vault-from-root-key.test.ts3.0 KB · 4 months agomessages.edit-origin.test.tsT-022: GET_ENTRY_FOR_EDIT via sender.url + locked-vault AUTOFILL_QUERY10.7 KB · 1 month agomessages.entry-write-origin.test.tsPB-26-106: content-script entry mutations must be bound to the entry's own domain set.10.9 KB · 1 month agomessages.passkey-offer-decline.test.tsPB-26-109: the passkey offer-decline handler is page-relay, so any page's content script may send it.5.3 KB · 1 month agomessages.test.ts78.1 KB · 1 month agomessages.tsmessages.ts — the only background message handler.87.6 KB · 1 month agoml.predictbatch.test.tsT-030: ml.ts predictBatch — batch sizes, softmax stability with extreme weights7.7 KB · 4 months agoml.ts6.4 KB · 1 month agonotes.test.ts9.4 KB · 1 month agooffscreen.html310 B · 4 months agooffscreen.tsOffscreen document script — audit fix HV-2c.1.8 KB · 4 months agopair-secrets.test.ts11.1 KB · 1 month agopair-secrets.tspair-secrets.ts — PB-26-213: the reusable rendezvous secret must never sit in plaintext in chrome.storage.local.10.0 KB · 1 month agopaired-devices.test.ts20.1 KB · 1 month agopaired-devices.tsPaired-device registry — v3 sync.28.7 KB · 1 month 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.32.4 KB · 1 month agopasskey-crypto.test.ts6.0 KB · 6 months agopasskey-crypto.ts10.9 KB · 1 month 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.19.1 KB · 1 month agopasskey.ed25519.test.tsT-015: Ed25519 passkey round-trip9.4 KB · 4 months agopasskey.ts48.1 KB · 1 month agopending-adoption-holder.test.ts2.2 KB · 1 month agopending-adoption-holder.ts3.4 KB · 1 month agopending-vouched-devices.test.ts1.7 KB · 1 month agopending-vouched-devices.tsPending vouched devices — audit fix MV-7.2.3 KB · 1 month agorecovery-pending.test.ts3.1 KB · 1 month agorecovery-pending.tsBackground-owned state set while the user has just created or rotated a vault identity and is confirming their recovery words.1.7 KB · 1 month agorecovery-words.test.ts19.4 KB · 1 month agorecovery.adversarial.test.tsrecovery.adversarial.test.ts — Layer 3 §3.2 adversarial recovery words tests.19.6 KB · 1 month agorelay-adoption-bg.test.ts47.9 KB · 1 month agorelay-adoption-bg.ts28.0 KB · 1 month agoself-test.test.ts1.2 KB · 4 months agoself-test.tsself-test.ts — Known-Answer Test (KAT) for the Peach crypto stack.3.8 KB · 4 months agostorage-access.test.ts2.9 KB · 1 month agostorage-access.tsPB-26-203: the session-key escrow is only as trustworthy as the boundary around chrome.storage.session.1.5 KB · 1 month agosync-alarm.test.ts4.0 KB · 3 months agosync-alarm.tssync-alarm.ts — the 10-minute background sync tick.3.8 KB · 2 months agosync-alerts.test.ts2.5 KB · 1 month agosync-alerts.tsPending sync security alerts.3.1 KB · 1 month agosync-coordinator.test.ts30.4 KB · 1 month agosync-coordinator.tsVault sync — Phase 2 manifest-diff coordinator.20.5 KB · 1 month agosync-generation.test.tsThe §11 secure-reset contract: the durable generation record, the six states, create-on-miss refusal, archival by generation, crash recovery at every step, and the sync gate.12.7 KB · 1 month agosync-generation.tsThe durable Sync-generation record and its state machine (protocol §11).15.4 KB · 1 month agosync-runner.test.ts14.7 KB · 1 month agosync-runner.tsProduction sync runner — composes the live vault adapter, WebSocket transport, and coordinator into the function the dispatcher injects via setSyncRunner.7.9 KB · 1 month agosync-settings.test.ts3.4 KB · 1 month agosync-settings.ts4.6 KB · 1 month agosync-static.test.tsIV.7 — Static safety assertions for vault sync.3.9 KB · 1 month agosync-trigger.test.ts17.2 KB · 1 month agosync-trigger.tssync-trigger.ts — central sync dispatcher.13.6 KB · 1 month agosync-vault-adapter.test.ts50.1 KB · 1 month agosync-vault-adapter.tsProduction adapter that backs runSyncInitiator with the live vault.25.4 KB · 1 month agovault-createVaultFromRootKey.test.ts8.2 KB · 3 months agovault-history.test.tsVault history tests.11.8 KB · 1 month agovault.adversarial.test.tsvault.adversarial.test.ts — Layer 3 §3.1 adversarial vault tests.34.3 KB · 1 month agovault.card-decline.test.tsPB-26-108: declined-card metadata must not be offline-enumerable.8.5 KB · 1 month agovault.consolidate-passkeys.test.tsT-023: vault.consolidatePasskeyEntries — passkey merge with lastUsed ranking8.9 KB · 2 months agovault.corruption.test.tsT-018: Vault corruption vs wrong-password discrimination (M7/COR-007)9.0 KB · 1 month agovault.duress-adoption.test.ts4.3 KB · 2 months agovault.entry-id-namespace.test.ts4.2 KB · 1 month agovault.hibp-padding.test.tsPCH-02-007 regression tests — the HIBP k-anonymity range request must ask for response padding, and the parser must stay correct on padded responses.2.3 KB · 4 months agovault.purge-trash.test.tsT-024: vault.purgeExpiredTrash — retention cutoff boundary9.7 KB · 4 months agovault.rotate-sync-identity.test.tsT-016: rotateSyncIdentity — new root key, cleared peers, recovery pending9.6 KB · 1 month agovault.session-escrow.test.ts17.1 KB · 1 month agovault.sync-clamp.test.tsUnit tests for HV-1 — sync timestamp clamp + remote-mutation alerts.5.8 KB · 1 month agovault.test.ts56.2 KB · 1 month agovault.tombstone-ledger.test.ts5.8 KB · 1 month agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.133.2 KB · 1 month agovault.update-entry-sanitize.test.tsPCH-02-001 regression tests — UPDATE_ENTRY patch path must route canary/tags/passkey through the same sanitizers the add/restore/sync funnels use (sanitizeCanary / sanitizePasskey / sanitizeTags).7.7 KB · 1 month ago
content/500.1 KB · 1 month ago
passkey-toast/22.0 KB · 1 month ago
_setup.tsShared test harness for the AUTOFILL-TESTS draft suite.7.7 KB · 1 month ago_smoke.test.ts@vitest-environment jsdom995 B · 4 months agocontent-ml-detector.ts6.1 KB · 6 months agocontent.adversarial.test.ts@vitest-environment jsdom21.5 KB · 4 months agocontent.detect.test.ts@vitest-environment jsdom19.0 KB · 1 month agocontent.dismissal.test.ts@vitest-environment jsdom11.8 KB · 1 month agocontent.field-icon.test.ts@vitest-environment jsdom4.9 KB · 1 month agocontent.field-interaction.test.ts@vitest-environment jsdom11.4 KB · 1 month agocontent.fill.test.ts@vitest-environment jsdom9.1 KB · 1 month agocontent.form-action-gate.test.ts@vitest-environment jsdom6.6 KB · 1 month agocontent.initial-scan.test.ts@vitest-environment jsdom5.8 KB · 4 months agocontent.interaction.test.ts@vitest-environment jsdom5.3 KB · 1 month agocontent.message-routing.test.ts@vitest-environment jsdom11.9 KB · 1 month agocontent.policy.test.ts@vitest-environment jsdom5.3 KB · 1 month agocontent.save.test.ts@vitest-environment jsdom5.6 KB · 1 month agocontent.selector-ui.test.ts@vitest-environment jsdom13.4 KB · 1 month agocontent.totp-group-icon.test.ts@vitest-environment jsdom3.4 KB · 2 months agodetect.test.ts@vitest-environment jsdom7.5 KB · 2 months agodetect.ts16.4 KB · 1 month agofill.test.ts@vitest-environment jsdom8.8 KB · 1 month agofill.ts6.0 KB · 1 month agoidentity-helper.test.ts2.0 KB · 4 months agoidentity-helper.ts1.7 KB · 4 months agoindex.ts48.5 KB · 1 month agoinject.generator.test.ts@vitest-environment jsdom1.7 KB · 1 month agoinject.keyguard.test.ts@vitest-environment jsdom2.5 KB · 4 months agoinject.tsinject.ts — autofill icon + selector overlay, injected into pages.176.7 KB · 1 month agointeraction.test.ts@vitest-environment jsdom2.0 KB · 4 months agointeraction.ts1.8 KB · 4 months agopasskeys-firefox.test.ts@vitest-environment jsdom16.2 KB · 1 month agopasskeys-firefox.tspasskeys-firefox.ts — isolated-world WebAuthn interception for Firefox.16.3 KB · 1 month agopolicy.test.ts@vitest-environment jsdom4.1 KB · 1 month agopolicy.tspolicy.ts — page-scraping helpers for password requirements.7.3 KB · 1 month agosave.ts8.7 KB · 4 months ago
crypto/108.6 KB · 1 month ago
popup/1.3 MB · 3 weeks ago
codex/239.2 KB · 1 month ago
aztec.tsaztec.ts — Aztec 2D barcode generation with round-trip verification.10.1 KB · 1 month agobrowser-bundle.test.ts674 B · 5 months agocodex.adversarial.test.tscodex.adversarial.test.ts — Layer 3 §3.4 adversarial Codex tests.24.8 KB · 1 month agocodex.multistripe.test.tsT-017: Codex multi-stripe round-trip8.9 KB · 4 months agocodex.suite.test.tscodex.suite.test.ts — cross-cutting regression suite for the Codex pipeline.9.9 KB · 5 months agocodex.test.ts20.8 KB · 1 month 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.16.9 KB · 1 month agohelpers.tshelpers.ts — shared utilities for Codex generation and restoration.7.8 KB · 1 month agonode-wasm.tsNode-only WASM byte loader for Vitest.1.1 KB · 5 months agopdf-import.clamp.test.ts2.5 KB · 4 months agopdf-import.sandbox.test.tsT-007: MV-9 pdf.js sandbox flags regression test4.6 KB · 4 months agopdf-import.test.tspdf-import.test.ts — coverage for the testable surface of the PDF import path.13.9 KB · 1 month agopdf-import.tspdf-import.ts — restore from a Codex PDF instead of a camera scan.26.8 KB · 1 month 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.5.2 KB · 4 months agorestore.test.tsrestore.test.ts — coverage for ChunkBuffer, parseRawScan, reconstructAndVerify.11.0 KB · 1 month agorestore.tsrestore.ts — Peach Codex restoration library (popup-side).16.5 KB · 1 month agors-loader.tsrs-loader.ts — load the Reed-Solomon erasure WASM module.2.4 KB · 5 months agoscan-limits.test.tsscan-limits.test.ts — PB-26-207 resource bounds on the Codex scan path.12.5 KB · 1 month agoscanner.tsscanner.ts — camera-based Aztec scanning for Codex restoration.1.8 KB · 5 months ago
components/85.3 KB · 1 month ago
styles/227.1 KB · 3 weeks ago
views/649.7 KB · 3 weeks ago
Add.tsx31.7 KB · 1 month agoAdoptVaultView.test.tsx@vitest-environment jsdom14.5 KB · 1 month agoAdoptVaultView.tsx14.0 KB · 1 month agoCodexGenerateView.test.tsx@vitest-environment jsdom2.9 KB · 1 month agoCodexGenerateView.tsxPeach Codex — generation view.24.3 KB · 1 month agoCodexRestoreView.test.tsx@vitest-environment jsdom7.8 KB · 1 month agoCodexRestoreView.tsxPeach Codex — restoration view.24.2 KB · 1 month agocontracts.test.tsx@vitest-environment jsdom65.8 KB · 1 month agoEntry.totp-params.test.tsx@vitest-environment jsdom4.5 KB · 1 month agoEntry.tsx81.5 KB · 1 month agoExport.csv.test.ts@vitest-environment jsdom1007 B · 2 months agoExport.tsxSignal-conditioned views in this file must use <Show>, never a signal-conditioned early return (if (signal()) return <X/>).21.2 KB · 1 month agoHealth.test.tsx@vitest-environment jsdom2.5 KB · 5 months agoHealth.tsx21.2 KB · 1 month agoImport.test.tsx@vitest-environment jsdom4.1 KB · 1 month agoImport.tsxSignal-conditioned views in this file must use <Show>, never a signal-conditioned early return — see Projects.md §4.1.32.2 KB · 1 month agoInitialSyncView.test.tsx@vitest-environment jsdom1.3 KB · 3 months agoInitialSyncView.tsx1.7 KB · 3 months agoLock.test.tsx@vitest-environment jsdom5.6 KB · 1 month agoLock.tsx50.1 KB · 1 month agoNoteEditor.toHtml.test.ts@vitest-environment jsdom3.6 KB · 5 months agoNoteEditor.tsx7.6 KB · 1 month agoNotesEditor.tsx7.6 KB · 1 month agoNotesMode.tsx2.9 KB · 5 months agoNotesTOC.tsx4.6 KB · 2 months agoOnboarding.tsx7.4 KB · 2 months agoPairDevice.test.tsx@vitest-environment jsdom8.3 KB · 1 month agoPairDevice.tsxPairDevice — the pairing surface, opened from the Settings → Sync card.11.0 KB · 1 month agoPanic.tsx6.0 KB · 6 months agoPasskeyApproval.tsx2.1 KB · 6 months agoProCelebration.tsx646 B · 5 months agoProNudge.test.tsx@vitest-environment jsdom2.9 KB · 3 weeks agoProNudge.tsx2.1 KB · 3 weeks agoRecoveryWordDisplay.tsx8.9 KB · 1 month agoRecoveryWordEntry.tsx11.4 KB · 4 months agoSettings.tsx106.2 KB · 3 weeks agoTrashView.tsx5.7 KB · 6 months agovault-search.test.ts3.4 KB · 1 month agovault-search.ts4.6 KB · 1 month agoVault.tsx26.3 KB · 1 month agoview-test-utils.tsx1.1 KB · 4 months agoWhatsNew.tsx2.2 KB · 1 month agozxcvbn-strength.test.tsLV-8: the @zxcvbn-ts replacement must score the master-password strength meter on the same 0-4 scale as the old zxcvbn, with dictionaries loaded (language-common is what keeps weak passwords from scoring optimistically).1.2 KB · 4 months ago
App.tsx83.6 KB · 3 weeks agocopy.tsPopup-side copy helper.1.6 KB · 1 month agofirefox-passkey.tsfirefox-passkey.ts — popup-context WebAuthn caller for the Firefox path.4.0 KB · 6 months agogenerator-policy.ts2.2 KB · 1 month agoimport.csv.formulainjection.test.tsT-021: CSV formula-injection on import (round-trip)6.1 KB · 4 months agoindex.html1.1 KB · 5 months agoindex.tsx155 B · 1 month agopro-features.ts749 B · 3 weeks ago
shared/926.7 KB · 3 weeks ago
noise-core-wasm/441.1 KB · 1 month ago
adoption-protocol.test.ts3.9 KB · 1 month agoadoption-protocol.ts13.0 KB · 1 month 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 agocodex-types.tscodex-types.ts — shared shapes for the Peach Codex.10.4 KB · 1 month agoconfig.tsWeb3Forms access key for the in-app feedback form (Settings → feedback).827 B · 3 months agoconstant-time.test.ts1.9 KB · 3 months agoconstant-time.tsCompare fixed-format cryptographic values without data-dependent early exit.823 B · 3 months agodevice-manifest.test.ts13.0 KB · 1 month agodevice-manifest.tsDevice manifest — v2 brief §4.3.16.3 KB · 1 month agodomain.homograph.test.tsLV-2: homograph detector tests.1.4 KB · 1 month agodomain.test.ts1.5 KB · 1 month agodomain.ts2.6 KB · 1 month agoeff-short-wordlist.test.ts458 B · 1 month agoeff-short-wordlist.txt7.0 KB · 1 month agofavicon.test.ts1.2 KB · 6 months agofavicon.tsResolves a favicon URL for a given domain.3.4 KB · 4 months agogenerate.empty-pool.test.tsT-025: generate.ts empty-pool guard and maximum-length boundary3.9 KB · 1 month agogenerate.test.ts2.3 KB · 1 month agogenerate.ts3.0 KB · 1 month agoimport-limits.tsImport-path resource bounds — audit fixes MV-4 (decompression bomb) and MV-5 (unbounded file/string allocation).1.7 KB · 1 month agoimport.test.ts9.3 KB · 1 month 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).14.7 KB · 1 month agoinitial-sync.test.ts911 B · 3 months agoinitial-sync.ts667 B · 3 months agolegacy-identity-derivation.test-support.tsRoot→device key derivation, retained for tests only — campaign task 2.4.3.1 KB · 1 month agomesh-peer-role.ts1.9 KB · 1 month agoml.ts1.4 KB · 6 months agonoise-blake2s-kat.test.ts3.3 KB · 1 month agonoise-core.ts4.0 KB · 1 month agonoise-js.test.tsNoise NK auth proof regression test.11.1 KB · 1 month agonoise-js.tsNoise NK initiator for browser-to-browser sync.12.3 KB · 1 month agonoise-kk.test.ts4.9 KB · 1 month agonoise-small-order-dh.test.tsPB-26-014 follow-up — the JS-side DH boundaries in noise-js.ts mirror the Rust core's small-order X25519 blocklist (libhydrogen's contributory-behaviour list).3.8 KB · 1 month agonoise.reject-zero-dh.test.tsPCH-02-009 regression tests — every Noise NK DH must reject an all-zero shared secret (low-order / identity peer point) instead of feeding it into the key schedule.2.6 KB · 1 month agopairing-dial.test.ts7.4 KB · 1 month agopairing-dial.tsThe WebSocket seam every relay-facing Peach flow shares.4.3 KB · 1 month agopairing-handshake.tsShared pairing primitives used by the live relay-adoption path.1.1 KB · 1 month agopairing-invitation.test.ts4.2 KB · 1 month agopairing-invitation.ts4.3 KB · 1 month agopasskey-flags.tspasskey-flags.ts — single switch for the Firefox passkey content-script proxy.2.1 KB · 6 months agopasskey-utils.test.ts1.5 KB · 1 month agopasskey-utils.tspasskey-utils.ts — WebAuthn relying-party-id validation.1.3 KB · 1 month agopro-nudge.test.ts1.8 KB · 3 weeks agopro-nudge.ts1.2 KB · 3 weeks agorecovery-word-list.tsrecovery-word-list.ts — 2048-word recovery word list for Peach vault recovery.20.0 KB · 1 month agorecovery-words.checksum.test.tsT-002: BIP39 checksum rejection4.6 KB · 4 months agorecovery-words.cross-platform.test.ts2.4 KB · 3 months agorecovery-words.integrity.test.tsT-001: BIP39 word-list integrity2.6 KB · 4 months agorecovery-words.kek.test.tsT-003: 128-bit prefix-KEK invariant (PCH-01-005 sibling)6.7 KB · 4 months agorecovery-words.tsrecovery-words.ts — BIP39-compatible recovery word encoding for Peach vault recovery.6.3 KB · 4 months agorelease-notes.test.ts4.6 KB · 1 month agorelease-notes.tsCurated release history and post-update notice selection.5.8 KB · 1 month agorendezvous.test.ts3.1 KB · 1 month agorendezvous.ts5.7 KB · 1 month 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-entry-envelope.kat.test.ts1.5 KB · 1 month agosync-identity.test.ts3.1 KB · 1 month agosync-identity.tsSync identity — vault-scoped primitives.3.7 KB · 1 month agosync-kk-transport.test.ts18.5 KB · 1 month agosync-limits.tsSync trust + resource bounds — audit fixes HV-1 (timestamp clamp) and MV-3 (receive-path size bounds).4.6 KB · 1 month agosync-outcome.test.ts7.0 KB · 1 month agosync-outcome.tsWhy a sync run ended, in a form both the service worker and the popup can name.7.2 KB · 1 month agosync-padding.test.ts4.9 KB · 3 months agosync-padding.tsE7: frame padding at the relay boundary.4.6 KB · 3 months agosync-transport.tsWebSocket reconnect transport — Noise KK with both paired static keys.23.3 KB · 1 month agosync-types.tsVault sync — type definitions.8.4 KB · 1 month agosync.disconnect.test.tsT-020: WebSocket sync-disconnect handling (PCH-01-026 #9)12.2 KB · 1 month agotypes.tstypes.ts — cross-boundary types and the MessageType union.16.1 KB · 1 month agovault-adopt-snapshot.test.ts17.3 KB · 1 month agovault-adopt.test.ts44.9 KB · 1 month agovault-adopt.ts34.3 KB · 1 month ago
test/641 B · 1 month ago
tests/118.7 KB · 1 month ago
.gitignore31 B · 1 month agobiome.json1.0 KB · 1 month agobun.lock136.0 KB · 1 month agoDockerfile.firefox-gate212 B · 1 month agoLICENSE34.3 KB · 4 months agomanifest.firefox.json2.0 KB · 3 weeks agomanifest.json1.6 KB · 3 weeks agopackage.json3.3 KB · 3 weeks agoplaywright.config.ts1.8 KB · 1 month agoREADME.mdA free, open source, local-first password manager for Chrome, Firefox, and Android.2.1 KB · 1 month agotsconfig.json540 B · 1 month agovite.config.ts3.6 KB · 1 month agovitest.config.ts526 B · 1 month ago
ce1712575251feat: add vault_id to PAIR_IDENTITY frame for desktop helper pairing (v4.0.2)4 months ago9d352e0795f8docs: CONTINUITY — desktop helper pairing drafts session record (4 passes, 12 files, brief-vs-source corrections, 4-message contract, gates certified, integration→4.0.3 pending)4 months agoeed41d6add18add Change 6 draft + INTEGRATION-CONTRACT + README — Change 6 needs sync-trigger.ts:104 filter widened (+|| deviceType==='desktop'), not a no-op; sync uses Noise XX on 8765 (pairing uses NK on 49142); vault_id flows pairing→SYNC_HELLO match verified; reconcile 4-message contract; 26 specs, additive (no existing test changes), integration bumps 4.0.2→4.0.34 months ago4fba012374b9add Change 4 UI draft — Solid DesktopPairingFlow (peach-underline-input code entry, not PeachField; not React), 6-digit entry → searching → SAS confirm → paired, wired into ChirpSync.tsx restView/pairingView; invalid_code+expired collapse to one message (no wire error frame); jsdom view-test-utils specs4 months ago6158d49b58ebadd Change 3/5 drafts — pairWithDesktopHelper (PEACH_HELLO → noiseNKInitiator against ACK ephemeral → reuse derivePairingSAS → PAIR_IDENTITY w/ vault_id → upsertPairedDevice), socket-close=invalid_code; new handshake-free probeSubnetForPort (existing probeSubnetForPeer does Noise XX, not reusable); KAT + invalid-code + persist tests4 months ago4b3171f697b0add DESKTOP-PAIRING ground-truth contract + Change 1/2 drafts — verify peach-sync wire (port 49142, PEACH_HELLO_ACK not _OK, no error frame, browser=NK initiator, SAS 0fbab8cd→895245 holds, vault_id genuinely optional); draft vault_id-in-PAIR_IDENTITY patch + test; flag Change 2 as no-op (desktop already in DeviceType)4 months ago0755f29c5e2btest: lock-screen suite full green 37/37 — fix #unlock-password vs #master-password selector (root cause of unlock 'timeouts'), add robust lock/unlock/settings helpers + 90s file timeout, rewrite LAC01-08 against the native auto-lock <select> (value-scoped options, real 30-min max, force selectOption + reload persistence), correct branding/icon/empty-password/transition assertions, repurpose untestable LS09/LS10, widen setupVault Argon2 waits4 months agoc4d5f79b2e49test: fix lock-screen setupVault — strong VAULT_PASSWORD passes the create-vault gate, auto-complete recovery confirmation to land in the unlocked vault (LS07b/c/d opt out), unlock fills + LSC01 use VAULT_PASSWORD, empty-vault unlock assertions check the lock-button shell not entry rows; suite 3→13 passing (remaining 24 are pre-existing timeout/flaky/feature-coupled debt)4 months agoef6f00072940fix: surface restore options on create-vault screen — relocate restore from clipped page footer into the card under the create CTA, tighten create-vault spacing so restore links + full recovery warning fit the 320x520 popup without clipping; shorten hint/warning copy; bump 4.0.1→4.0.2 (v4.0.2)4 months ago9e5693046d73docs: record PCH-02 integration in CONTINUITY (v4.0.1)4 months ago55bb28b8d92dchore: version bump 4.0.0 → 4.0.1 + build (v4.0.1)4 months ago2c1e7f972dd9fix: PCH-02-002 Noise XX message 1 empty-payload mixHash — wire change, ships with Android v2.3.0 (v4.0.0)4 months agofc06218b9f63fix: PCH-02-004 exact-pin crypto-adjacent deps (otpauth, pako, @zxing, bwip-js, pdf-lib, papaparse) + WASM-PROVENANCE.md (v4.0.0)4 months ago791712e7f33ffix: PCH-02-003/005/006/010 doc-only patches — SAS note, PBKDF2 note + re-export prompt, vault_id privacy note, clipboard clear rationale (v4.0.0)4 months ago1e1194c32494fix: PCH-02-009 rejectZero: true on all X25519 DH calls in Noise XX and NK (v4.0.0)4 months ago8f54f349945ffix: PCH-02-008 BinaryReader explicit bounds checks on every read operation (v4.0.0)4 months ago6d494603f74dfix: PCH-02-007 add Add-Padding header to HIBP k-anonymity range check (v4.0.0)4 months ago16d51870a784fix: PCH-02-001 UPDATE_ENTRY patch routes canary/tags/passkey through existing sanitizers (v4.0.0)4 months agoe69763aa6d3dadd PCH-02 drafts README + INTEGRATION-CONTRACT (file map, two integrator decisions, Android wire-change gate, pin table, 24-28 test estimate, v4.0.1 recommendation) + CONTINUITY session record — gates verified: tsc clean, 117 files / 3474 tests green4 months ago927a4bd80ebcadd PCH-02-010 fix draft: clipboard clear hash-match — Option A doc-only (recommended, no clipboardRead grant) vs Option B full offscreen SHA-256 match implementation with manifest permission gate + 4 tests4 months ago35841e9da617add PCH-02-007/008/009 fix drafts: HIBP Add-Padding header with padded-response parser proof + 3 tests, BinaryReader ensure() bounds on every read with PAYLOAD_TOO_SHORT + export seam + 8 tests, stablelib rejectZero=true at all 12 Noise DH sites + 5 tests4 months ago9bd1e7c2cf37add PCH-02-004/005/006 fix drafts: exact-pin crypto-adjacent deps with bun.lock versions + new WASM-PROVENANCE.md, legacy PBKDF2 KDF docblock with 250k-iteration correction + Import.tsx re-export notice, vault_id LAN-linkability privacy note4 months ago53ce63c0fe08add PCH-02-002 + PCH-02-003 fix drafts: Noise XX msg1 empty-payload mixHash deferred with ready patch (Android-coordinated wire change) + snow-interop doc correction; SAS peer-gate trust-model comment edits4 months ago2f6fb75710b9add PCH-02-001 fix draft: sanitizeEntryPatch routes canary/tags/passkey through sanitizeCanary/sanitizePasskey/sanitizeTags, producer compatibility audit, 8 regression tests4 months ago052b937cfde4add peach-code-review.md — independent static review: 0 Critical, 0 High, 1 Low (UPDATE_ENTRY patch sanitizer gap), 9 Informational; full crypto/boundary/sync/codex coverage + CONTINUITY record4 months ago3fd149556abafix: resolve 27 pre-existing tsc errors in test files — SharedArrayBuffer/Mock drift, unused vars, circular chrome type (v4.0.0)4 months ago40ffe3171e9bdocs: CONTINUITY.md — autofill-tests-integration session record (13 vitest + e2e + fixture integrated, split-OTP export, TOTP auto-copy toast with real clear time, v4.0.0); notes contract-vs-brief deviations, flaky contracts.test.tsx, export-only Addendum 1 rationale (v4.0.0)4 months ago2a7932644ca9chore: version bump 3.9.9 → 4.0.0 (manifest.json + manifest.firefox.json + package.json) + build Chrome/Firefox/Mobile; trash now-integrated AUTOFILL-TESTS draft files (kept INTEGRATION-CONTRACT.md as reference). Final: tsc no new errors (27 pre-existing), vitest 117 files/3474 passed/0 skipped/40 todo (v4.0.0)4 months agoab5c9a638d4bfeat: TOTP auto-copy toast — showTotpCopyToast(secondsUntilClear) in inject.ts shows '2FA code copied / clears in Ns' top-right, auto-dismisses 3s, resets timer on re-copy; wired into index.ts auto-copy path. Thread real clear time: export getEffectiveClearSeconds() from clipboard.ts (DRY with timer), COPY returns clearSeconds, add MessageResponse.clearSeconds. Activates T-M11/12/13 (v3.9.9)4 months ago0152b3f58edffix: split OTP input groups — export isSplitOtpGroup(field) from detect.ts (3+ maxlength=1 numeric inputs, numeric guard rejects 3-letter initials forms); activates T-DT18/20/21 skipIf spec. Export-only: every injectFieldIcon path already excludes maxLength===1 upstream, so a call-site guard would be unreachable (v3.9.9)4 months ago649e78412625test: autofill real-page e2e + login-form fixture — content.real-page.e2e.spec.ts→tests/, login-form.fixture.html→tests/fixtures/login-form.html; fix EXTENSION_PATH (3-up→1-up) + FIXTURE path; Playwright collects 10 tests (T-E01-10), vault-seed/served-origin still integration TODO per contract (v3.9.9)4 months agoce63d2b47335test: autofill layer — 13 vitest files integrated into src/content (smoke, detect, dismissal, field-icon, field-interaction, fill, initial-scan, interaction, message-routing, policy, save, selector-ui, totp-toast addendum); imports rewired ../../content→./, drop unused beforeAll; full suite 117 files/3468 green, 6 skipIf pending addenda (v3.9.9)4 months ago7f3e1f92d029chore: add content/_setup.ts shared test harness (chrome mock + DOM factories + jsdom rect/ResizeObserver shims) and trash throwaway vitest.drafts.config.ts (v3.9.9)4 months agof29f759b9d38add save.ts save-detection tests (T-SV01-10, banner-mount + AUTOFILL_QUERY/GET_ENTRY_FOR_FILL lookup; accept flows are closed-shadow e2e), Playwright e2e draft (T-E01-10) + login-form fixture, INTEGRATION-CONTRACT.md (file map, deviations, remaining refactors, 212 assertions) and CONTINUITY session record — full real suite recertified 104 passed/1 skipped, drafts excluded and unaffected4 months agocbcc3e0006bdadd inject.ts UI AUTOFILL-TESTS drafts: field-icon (T-IC01-08, real light-DOM button — render/aria/click/teardown/narrow-hide) and selector-ui (T-I01-16) — selector mounts a CLOSED shadow root so only mount/dismiss are externally observable; interior nav/filter/TOTP routed to e2e with documented rationale; ResizeObserver polyfill added to harness4 months ago6f1bb7a67d67add index.ts orchestration AUTOFILL-TESTS drafts: dismissal 3-layer model (T-D01-15 via _testSeam + captured onDismiss/onFillFields, fake timers for DISMISS_LOCK/grace), handleFieldInteraction core paths (T-F01-12 incl ML 150ms timeout race), initialScan aggression levels (T-S01-10), message routing (T-M01-10) + TOTP-toast addendum skipIf spec — mocks ./inject + ./content-ml-detector, drives real seams4 months ago17740443b130add pure-module AUTOFILL-TESTS drafts: detect (T-DT01-21 + skipIf isSplitOtpGroup spec), fill (T-FL01-12 incl React prototype-setter bypass), interaction (T-IT01-06), policy (T-PO01-06) — 58 passing, classifiers tested on clean arrays to dodge querySelectorAllDeep ancestor duplication4 months ago1e03ef874559add AUTOFILL-TESTS draft harness: _setup.ts chrome mock + DOM factories + jsdom visibility shim, throwaway runner config, passing smoke test proving index.ts/inject.ts import under jsdom4 months ago0cbcb74850d8chore: version bump 3.9.8→3.9.9 + CONTINUITY session record (v3.9.9)4 months agod65de1e59cb3test: integrate priority 3 test files T-025 T-030 T-037 + clipboard write-failure guard (v3.9.8)4 months ago12e652193472test: integrate priority 2 test files T-011 through T-024 (v3.9.8)4 months ago377a02b8e40drefactor: export testable decision functions from content/index.ts for T-011-T-014 (v3.9.8)4 months ago54e4594fb2f7draft: Priority 3 test files T-025/T-030/T-037 and Integration Contract in src/drafts/TEST-EXPANSION/4 months ago1b633f5d627cdraft: Priority 2 test files T-011 through T-024 in src/drafts/TEST-EXPANSION/4 months agoa1f68d42b20adraft: Priority 1 test files T-001 through T-010 in src/drafts/TEST-EXPANSION/4 months ago7100d7d25214fix: Add recovery popup reopen smoke test (v3.9.8)4 months ago689241c96391fix: Add recovery confirmation smoke test (v3.9.7)4 months agoe72ba4aef3cffix: Smoke test recovery screen onboarding flow (v3.9.5)4 months ago99c85210eeb0fix: Restore recovery password flow (v3.9.3)4 months ago4d43c82d69fdfix: Add onboarding password reveal controls (v3.9.2)4 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]