peach-android

@june

A free, open source, local-first password manager for Android.

Kotlin

v2.17.43 · 815 saves · 51,167 lines · updated 1 week ago

228 files
fc0b65bb6ab2
back to HEAD
app/1.9 MB · 5 months ago
drafts/221.1 KB · 5 months ago
C1/11.5 KB · 5 months ago
C7/17.6 KB · 5 months ago
MF1MF2/177.5 KB · 5 months ago
BROWSER-SPEC.mdExtracted from peach-browser source (read-only; never modified).26.8 KB · 5 months agoExportRoundTripTest.kt2.6 KB · 5 months agogen_peach_fixture.mjs1.9 KB · 5 months agoImportParsersTest.kt2.5 KB · 5 months agoImportScreen.kt───────────────────────────────────────────────────────────────────────────── ViewModel ─────────────────────────────────────────────────────────────────────────────26.0 KB · 5 months agomf1_kat_gen.mjsGenerates an MF-1 known-answer vector using the BROWSER's exact recovery algorithm (recovery-words.ts) against the REAL browser word list.4.1 KB · 5 months agoparse_android_export.mjs1011 B · 5 months agoPeachPayloadCodec.ktPeachScript binary payload (PCHS) — a byte-for-byte port of the browser's peachPayload.ts (MF-2).31.5 KB · 5 months agoPeachScript.ktPeachScript outer codec — maps each payload byte to one Private-Use-Area code point in U+E000..U+E0FF, and back.1.9 KB · 5 months agoPeachScriptExport.ktPeachScript export (MF-2) — writes the browser's PCHS binary payload (Argon2id + AES-256-GCM, zstd sections, BLAKE3 checksum, size-bucket padding, string-table entry packing) re-encoded into Private-Use-Area text.1.0 KB · 5 months agoPeachScriptImport.ktPeachScript import (MF-2) — parses the browser's PCHS binary payload back into full vault entries.2.2 KB · 5 months agoPeachScriptTest.kt9.9 KB · 5 months agoRecoveryEscrowTest.kt10.0 KB · 5 months agoRecoveryWords.kt6.0 KB · 5 months agoVaultCrypto.kt4.5 KB · 5 months agoVaultRepository.kt38.1 KB · 5 months agoVaultStore.ktOne encrypted slot at rest.7.5 KB · 5 months ago
B2-INTEGRATION.mdDraft implementation of spec B2 (lines 110–163).7.4 KB · 5 months agoC2-INTEGRATION.mdDraft implementation of spec C2 (lines 289–337).7.1 KB · 5 months ago
src/1.6 MB · 5 months ago
main/1.5 MB · 5 months ago
java/894.0 KB · 5 months ago
com/894.0 KB · 5 months ago
peachpasswords/894.0 KB · 5 months ago
autofill/26.4 KB · 5 months ago
codex/33.2 KB · 5 months ago
di/438 B · 5 months ago
feedback/3.0 KB · 5 months ago
haptics/2.3 KB · 5 months ago
license/5.0 KB · 5 months ago
passkeys/2.5 KB · 5 months ago
qs/2.9 KB · 5 months ago
shared/3.4 KB · 5 months ago
sync/114.0 KB · 5 months ago
AndroidAudioIO.ktReal Android audio transport for Chirp pairing — the platform half of the ggwave bridge.3.9 KB · 5 months agoChirpIdentity.kt2.3 KB · 5 months agoChirpPairing.kt21.4 KB · 5 months agoChirpPayload.kt3.4 KB · 5 months agoChirpSyncCoordinator.ktChirp Sync — Phase 2 manifest-diff coordinator.12.4 KB · 5 months agoChirpSyncTransport.kt7.9 KB · 5 months agoChirpTypes.kt741 B · 5 months agoGgwave.kt1.1 KB · 5 months agoMdnsPairingServer.ktC7 TCP + mDNS pairing/sync SERVER (responder side).13.7 KB · 5 months agoNoiseNK.kt7.4 KB · 5 months agoNoiseXX.kt8.9 KB · 5 months agoPairedDevice.kt469 B · 5 months agoPairedDeviceStore.ktPersistent registry of paired devices, encrypted at rest with EncryptedSharedPreferences (same construction as DuressConfigStore / LicenseRepository, v2.1.36).4.7 KB · 5 months agoPairingDiscoveryClient.ktC7 TCP + mDNS pairing/sync CLIENT (initiator side).8.2 KB · 5 months agoPairingFrames.ktLength-prefixed framing for the C7 TCP transport, shared by [PairingServer] and [PairingTransport] so neither duplicates the wire format.4.3 KB · 5 months agoPairingProgress.kt482 B · 5 months agoSASDerivation.kt517 B · 5 months agoSyncIdentity.kt3.5 KB · 5 months agoSyncMessage.ktChirp Sync wire protocol — exact port of the browser ChirpSyncMessage union (shared/sync-types.ts).2.8 KB · 5 months agoSyncStatus.kt294 B · 5 months agoVaultSyncAdapter.ktProduction [ChirpSyncVaultAdapter] backing the coordinator with the live [VaultRepository].5.6 KB · 5 months ago
ui/545.6 KB · 5 months ago
codex/37.8 KB · 5 months ago
components/24.0 KB · 5 months ago
lock/31.7 KB · 5 months ago
onboarding/12.0 KB · 5 months ago
pairing/15.6 KB · 5 months ago
recovery/20.2 KB · 5 months ago
screens/4.1 KB · 5 months ago
security/6.6 KB · 5 months ago
settings/77.1 KB · 5 months ago
sync/4.4 KB · 5 months ago
theme/21.4 KB · 5 months ago
vault/280.7 KB · 5 months ago
AdditionalUrlsDetail.ktE3 — additional-URL rows for EntryDetailScreen.7.5 KB · 5 months agoAdditionalUrlsEditor.ktE3 — hard cap on additional URLs, matching the spec.4.7 KB · 5 months agoCardDetailFields.ktD2 — EntryDetail CARD display block.6.1 KB · 5 months agoCardEditFields.ktD2 — EntryEdit CARD field block.5.9 KB · 5 months agoCardFieldUtils.ktShared card formatting/detection helpers for D2 (card type fields).5.4 KB · 5 months agoContextMenuSheet.ktD12 long-press context menu (spec §9).6.0 KB · 5 months agoCsvExport.ktPure-Kotlin CSV serialisation for the C2 Export screen (CSV sub-view).2.2 KB · 5 months agoCsvImport.ktPure-Kotlin CSV / JSON import parsing for the Import screen (spec B2).15.9 KB · 5 months agoDetailTagRow.ktRead-only tag row for EntryDetailScreen, mirroring the FieldShell label/hairline style.2.7 KB · 5 months agoEditableFieldRow.ktD6 — Inline per-field editing for EntryDetailScreen.10.9 KB · 5 months agoEntryDetailGenerator.ktD4 drafts — generator access from EntryDetailScreen.6.7 KB · 5 months agoEntryDetailScreen.kt16.1 KB · 5 months agoEntryDetailViewModel.kt5.4 KB · 5 months agoEntryEditScreen.kt15.0 KB · 5 months agoEntryEditViewModel.kt10.9 KB · 5 months agoExportScreen.kt───────────────────────────────────────────────────────────────────────────── Password strength scorer (local, dependency-free) ─────────────────────────────────────────────────────────────────────────────18.8 KB · 5 months agoIdentitySuggestDropdown.ktAnchored suggestion dropdown for identity-style fields (username/email).5.0 KB · 5 months agoImportScreen.kt───────────────────────────────────────────────────────────────────────────── ViewModel ─────────────────────────────────────────────────────────────────────────────26.0 KB · 5 months agoMultiSelectUi.ktD12 multi-select per-row checkbox (spec §9).4.1 KB · 5 months agoNotesModeScreen.ktE2 — full-screen editor for NOTE-type entries.9.5 KB · 5 months agoNotesModeViewModel.ktBacks [NotesModeScreen].2.9 KB · 5 months agoPasswordHistorySection.ktShared past-password history UI, extracted from EntryEditScreen so both the editor and EntryDetailScreen render the same rows.6.4 KB · 5 months agoPeachScriptExport.ktPeachScript export (MF-2) — writes the browser's PCHS binary payload (Argon2id + AES-256-GCM, zstd sections, BLAKE3 checksum, size-bucket padding, string-table entry packing) re-encoded into Private-Use-Area text.1.0 KB · 5 months agoPeachScriptImport.ktPeachScript import (MF-2) — parses the browser's PCHS binary payload back into full vault entries.2.2 KB · 5 months agoRecoveryWordsScreen.kt11.1 KB · 5 months agoTagChipEditor.ktMax tags per entry.7.0 KB · 5 months agoTagListWidgets.ktHorizontally scrollable tag filter strip for VaultListScreen, placed between the search bar and the sort bar.3.6 KB · 5 months agoTotpInlineEdit.ktE6 — TOTP double-tap to edit the 2FA secret, inline in EntryDetailScreen.12.3 KB · 5 months agoTrashScreen.kt9.4 KB · 5 months agoVaultHealthScreen.ktWarm amber used for the "reused" and "weak" advisory buckets.11.8 KB · 5 months agoVaultListScreen.kt19.7 KB · 5 months agoVaultListViewModel.kt8.5 KB · 5 months ago
PeachAppNavHost.kt8.0 KB · 5 months agoPeachNav.ktEvery navigation destination in the app.1.9 KB · 5 months ago
vault/147.9 KB · 5 months ago
widget/2.7 KB · 5 months ago
MainActivity.ktFragmentActivity (not ComponentActivity) so androidx BiometricPrompt can attach.3.5 KB · 5 months agoPeachApplication.kt1.0 KB · 5 months ago
res/661.6 KB · 5 months ago
AndroidManifest.xml5.1 KB · 5 months ago
test/112.6 KB · 5 months ago
java/112.6 KB · 5 months ago
com/112.6 KB · 5 months ago
peachpasswords/112.6 KB · 5 months ago
autofill/2.0 KB · 5 months ago
codex/2.7 KB · 5 months ago
shared/2.1 KB · 5 months ago
sync/27.0 KB · 5 months ago
ui/16.1 KB · 5 months ago
vault/59.8 KB · 5 months ago
CrossPlatformKATTest.ktMN-4: cross-platform known-answer tests.2.9 KB · 5 months ago
build.gradle5.2 KB · 5 months agoproguard-rules.pro44 B · 5 months ago
gradle/73.4 KB · 5 months ago
build.gradle439 B · 5 months agogradle.properties222 B · 5 months agogradlew734 B · 5 months agopeach-android-audit-report.mdDate: 2026-06-09 Base version (per brief): v2.1.40 — note: app/build.gradle actually declares versionName "2.2.0" / versionCode 202000.41.5 KB · 5 months agosettings.gradle396 B · 5 months ago
46a231500ce6docs: Append review-fix session log to continuity4 months ago47790bac4b4achore: Remove unused BrowserSlotJson instance (v2.9.8)4 months ago845caf3108e6chore: Remove unused BrowserSlotJson instance (v2.9.8)4 months agoab8531a9baebfix: Serialize duress slot wire JSON with explicit version 1 (v2.9.7)4 months agoe5993569bbf6feat: Echo `snapshot_capable` on ADOPT_GRANT so receivers skip the inline wait when no snapshot is coming (v2.9.6)4 months ago309a3ecfa246refactor: Dedupe hex-string parser used by both vault shapes (v2.9.5)4 months ago942f3c20cdcffeat: Send the sealed duress slot as adoption-snapshot source (v2.9.4)4 months agoff6562aacdb4fix: Install the browser duress slot from the adoption snapshot (v2.9.3)4 months agocb62379d810afix: Carry browser duress slot across Codex restore instead of dropping it (v2.9.2)4 months agod05b98b443d5test: Add H-09 snapshot wire-guardrail tests from T2 verify pass (v2.9.1)4 months ago85d691ffdf4afeat: inline vault snapshot over pairing channel (v2.9.0)4 months ago933dfea7fdd0feat: Let users fill any entry from an unverified origin via explicit picker choice (v2.8.7)4 months ago3b3fd73ab28ffix: Remediate audit H-05/H-06/H-07 user-facing security claims (v2.8.6)4 months ago4bbb8467f10afix: Fence vault sessions and scrub transient secrets (v2.8.5)4 months ago519a145e56fefix: Harden updater and release publication gates (v2.8.4)4 months ago0a6a3463e47bdocs: Record audit remediation review failure4 months agofbe981103717L-01..05: intent router, OkHttp topPrivateDomain, sinceR haptic guard, strict SemVer on cache, user-initiated battery exemption4 months agod01087059810M-10/11/12/13/14: build verifies signing+identity, gradle checksum pinned, stale comments refreshed, androidTest stubs added4 months ago1fe244bffe4bM-09: pass invalid entries through build so verify detects them; tighter bounds4 months ago28ed7c0d30b6M-09: manifest freshness uses two-sided bounds; per-field caps and validation4 months agob2caee704b91M-08: drop contradictory test cases (raw-newline, over-cap on encode) — round-trip already covers unescape4 months ago37efe0733337M-08: relax validateField — allow JSON-escapable control chars, reject only NUL4 months ago9cadaac8c124M-08: pair identity uses kotlinx.serialization with field length/format validation4 months ago093d52874539M-07: transient background-lock suppression carries a deadline; expired flag never suppresses a real lock4 months ago20500a0671beM-06: Android 12+ dataExtractionRules + legacy backup_rules XML, all prefs domains excluded from cloud+device transfer4 months agodc00496b3964H-04: fix test regex for codex wrapper with both A+B slots; balancedBraceAfter helper4 months ago1b9f6ac8953aH-04: duress storage forensics — pad to slot-A size, presence-indistinguishable fake, codex restore into duress slot4 months ago5fb4f8745b61H-11: always exchange manifests; per-entry timestamps are diff authority; transitive sync test4 months ago0fee2a175dd2H-10: negotiated device-manifest capability computed once from both HELLOs4 months ago30cd436080deM-03: preserve last4 + entry IDs on REPLACE; tag/url overflow throws instead of truncating4 months ago24fe1013d9b3M-02: PeachScript parsing — caps on envelope, sections, entries, passkey blobs; Long arithmetic with checked bounds4 months ago6a51c07ba744M-01: bounded imports, repository-level atomic replaceEntries, failed import destroys just-created vault4 months ago9bd9b6bedb2cH-08: strict SemVer, path-traversal guard, byte cap, APK identity check, no sole-artifact fallback4 months agoa0af1c52d84bH-07: passkey flags derived from ceremony state; BE persisted as true; UV from real biometric4 months agoc9594ddcf5d4H-06: autofill origin auth — pinned signing certs, DAL-verified native, unknown origin gets no preselect4 months agod3ee5564ced4H-05: fix SecureFlagCoverageTest manifest parser to handle relative activity names4 months ago31ab56461db7H-05: FLAG_SECURE no longer cleared in release; separate secret activities set it themselves4 months ago77e71ef26cbaM-05: try/finally zero plaintexts/derived keys across persistSlotA, sync, autofill biometric4 months ago142e04d50602M-04: hidden in-memory session state guarded; sync accessors null when locked; failed create/adopt discards candidate4 months ago9e26e136f055H-03: stateLock fence around state mutations; lock() sync-callable via ReentrantLock4 months ago065b02e39f66H-01: transactional password rotation with rollback on every storage step; throw on stamp commit failure4 months ago1d32590746bcC-01: authenticate Codex candidate in memory before any write, rollback on storage failure4 months ago12b8bb8814a4docs: Record v2.8.3 release phone install4 months ago858a3129886dfix: Decentralize mesh graph convergence (v2.8.3)4 months ago19321e591d55docs: Record v2.8.2 wireless phone install4 months ago195ba762b6d8fix: Widen connected pairing birds (v2.8.2)4 months ago4fc86c132507docs: Record v2.8.1 wireless phone install4 months ago818bd9bb6b50fix: Enforce Pro entitlement during pairing (v2.8.1)4 months ago234156b10775docs: Record v2.8.0 wireless phone install4 months ago1b935547ec0dfeat: Add deterministic full-mesh sync (v2.8.0)4 months ago

← newerolder →

details

Peach for Android

A free, open source, local-first password manager for Android.

No accounts. No subscription. Your passwords stay on the device, encrypted with AES-256-GCM and protected by Argon2id key derivation. Sync, backup, and autofill happen without trusting any cloud in the middle.

peachpasswords.com


Features

  • Zero-knowledge vault — AES-256-GCM encryption, Argon2id KDF, keys never leave your device
  • End-to-end encrypted sync — pairs with your other Peach devices over a Noise channel; the relay only forwards ciphertext it cannot read
  • Inline autofill — fills directly in apps, no copy-paste detour
  • Passkeys — WebAuthn credentials alongside your passwords
  • Quick Settings tile — copy a credential from anywhere with a single tap
  • Biometric unlock — hardware-backed AndroidKeyStore escrow, invalidated on enrollment change
  • Codex — prints your encrypted vault as Aztec codes on paper. Physical offline backup

Open Source

Peach is free and open source under the GPL v3 license. Both the browser extension and the Android app.

The source is hosted on Kepr — Asha Software's own version control platform.


Security

Peach has undergone two adversarial analysis sessions against this codebase. The most recent findings have been resolved.

Cryptographic primitives:

  • Key derivation: Argon2id (m=64MiB, t=3, p=4)
  • Encryption: AES-256-GCM with fresh random nonces
  • Sync handshake: Noise NK / Noise KK (25519, ChaChaPoly, BLAKE2s)
  • Backup codec: GF(2⁸) Reed-Solomon with zstd compression
  • BLAKE3 checksums throughout

The canonical Noise core lives in a shared Rust crate with the browser extension — Android drives it via JNI. See docs/CRYPTOGRAPHIC-TEST-VECTORS.md for the byte-level vectors that pin each primitive.


Building

./gradlew assembleRelease

Outputs to app/build/outputs/apk/release/. The shared Noise core is built from ../peach-browser/crypto-core.


License

GPL v3 — see LICENSE.


Peach Pro

Pro features (end-to-end encrypted sync, Codex, Canary) are available for $39 one-time at peachpasswords.com. Purchasing Pro supports continued development.


Built by Asha Software · [email protected]