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

249 files
55dfa7a7d79a
back to HEAD
app/2.0 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.8 MB · 5 months ago
main/1.6 MB · 5 months ago
java/943.1 KB · 5 months ago
com/943.1 KB · 5 months ago
peachpasswords/943.1 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.9 KB · 5 months ago
sync/121.5 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.5 KB · 5 months agoChirpPairing.kt23.1 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.9 KB · 5 months agoNoiseXX.kt13.0 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.8 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.9 KB · 5 months ago
ui/586.4 KB · 5 months ago
codex/37.8 KB · 5 months ago
components/24.0 KB · 5 months ago
lock/32.2 KB · 5 months ago
onboarding/16.0 KB · 5 months ago
pairing/17.8 KB · 5 months ago
recovery/20.2 KB · 5 months ago
security/6.6 KB · 5 months ago
settings/82.5 KB · 5 months ago
sync/6.2 KB · 5 months ago
theme/21.4 KB · 5 months ago
vault/311.8 KB · 5 months ago
AdditionalUrlsDetail.ktE3 — additional-URL rows for EntryDetailScreen.11.4 KB · 5 months agoAdditionalUrlsEditor.ktE3 — hard cap on additional URLs, matching the spec.4.7 KB · 5 months agoCardDetailFields.ktD2 — EntryDetail CARD display block.8.4 KB · 5 months agoCardEditFields.ktD2 — EntryEdit CARD field block.3.2 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.ktInline tag row for EntryDetailScreen, mirroring the browser EntryView: chips display in place, and the "+" affordance expands a same-surface tag editor.4.0 KB · 5 months agoEditableFieldRow.ktD6 — Inline per-field editing for EntryDetailScreen.11.0 KB · 5 months agoEntryDetailGenerator.ktD4 drafts — generator access from EntryDetailScreen.6.7 KB · 5 months agoEntryDetailScreen.kt27.5 KB · 5 months agoEntryDetailViewModel.kt8.7 KB · 5 months agoEntryEditScreen.kt15.6 KB · 5 months agoEntryEditViewModel.kt11.5 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 agoPeachField.ktThe Peach text field used across the entry-edit screens: a bare underline (no border box), drawn in t3 and lit to the accent while focused — matching the lock screen's credential inputs.4.2 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.kt25.8 KB · 5 months agoVaultListViewModel.kt8.6 KB · 5 months ago
PeachAppNavHost.kt8.2 KB · 5 months agoPeachNav.ktEvery navigation destination in the app.1.6 KB · 5 months ago
vault/148.1 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/663.7 KB · 5 months ago
AndroidManifest.xml5.1 KB · 5 months ago
test/210.0 KB · 5 months ago
java/210.0 KB · 5 months ago
com/210.0 KB · 5 months ago
peachpasswords/210.0 KB · 5 months ago
autofill/2.0 KB · 5 months ago
codex/9.4 KB · 5 months ago
security/5.2 KB · 5 months ago
shared/2.7 KB · 5 months ago
sync/38.0 KB · 5 months ago
ui/44.5 KB · 5 months ago
lock/4.8 KB · 5 months ago
onboarding/3.5 KB · 5 months ago
security/3.0 KB · 5 months ago
settings/2.6 KB · 5 months ago
theme/1.9 KB · 5 months ago
vault/25.2 KB · 5 months ago
NavigationFlowTest.ktNavigation suite (brief Suite 9): route construction and the flow-decision functions that route the app — onboarding gate, list-tap, and post-unlock.3.5 KB · 5 months ago
vault/103.2 KB · 5 months ago
CardSerializationTest.ktIn-memory [VaultStorage] for exercising last4 derivation on save (MF-3).3.4 KB · 5 months agoDuressSlotBTest.ktIn-memory [VaultStorage] including a decoy (slot B) slot, for the MF-6 duress model.3.8 KB · 5 months agoPasskeyEntryTest.kt1.1 KB · 5 months agoPasswordGeneratorTest.kt1.2 KB · 5 months agoPeachScriptRoundTripTest.ktPeachScript + CSV round-trip suite (brief Suite 7): large-vault fidelity, ciphertext tamper detection, size-bucket padding, and CSV column/injection behavior.6.5 KB · 5 months agoPeachScriptTest.kt9.9 KB · 5 months agoRecoveryEscrowIntegrationTest.ktIntegration coverage for the full create → confirm → seal → unlock recovery chain (brief Fix 1).4.8 KB · 5 months agoRecoveryEscrowSuiteTest.ktRecoveryEscrow suite (brief Suite 3): word validation/autocomplete, partial and wrong-word failures, missing-escrow handling, recovery-driven password reset, and the duress-mode guard that recovery escrows are never sealed for the decoy.8.2 KB · 5 months agoRecoveryEscrowTest.kt10.0 KB · 5 months agoSlotAUnlockTest.ktIn-memory [VaultStorage] for the non-committing dual-derivation path (MF-5).3.1 KB · 5 months agoSlotPaddingTest.ktExposes the raw stored slots so the padding lengths (MN-1) can be inspected.3.1 KB · 5 months agoTOTPGeneratorTest.kt1.3 KB · 5 months agoVaultCryptoKdfTest.ktMF-4: the Argon2id KDF must hash the password's explicit UTF-8 bytes (matching the browser's TextEncoder().encode), not its UTF-16 code units.1.9 KB · 5 months agoVaultCryptoTest.ktVaultCrypto suite (brief Suite 2): Argon2id key derivation, AES-256-GCM round-trips, AAD enforcement, and KDF parameters.8.8 KB · 5 months agoVaultHealthTest.ktVaultHealth suite (brief Suite 8): the pure [VaultHealth.buildReport] scoring — breach / reused / weak / aged / sensitivity detection, section counts, and the sensitivity-weighted vault score.7.5 KB · 5 months agoVaultLockTimerTest.ktIn-memory [VaultStorage] so the timer can drive a real repository off-device.3.9 KB · 5 months agoVaultRepositoryExtraTest.ktSecond VaultRepository suite (brief Suite 1 expansion).11.3 KB · 5 months agoVaultRepositoryTest.ktIn-memory [VaultStorage] so the repository can be exercised without Android.13.3 KB · 5 months ago
CrossPlatformKATTest.ktMN-4: cross-platform known-answer tests.4.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
5066252aa149fix: align adoption snapshot padding with browser (PB-26-706, v2.16.4)2 months agoedb312a8491edocs: Reevaluate Credential Manager flow architecture2 months ago75e4b4dba066docs: Record v2.16.3 Kepr release outcome2 months ago484701884efcfix: Separate passkey payload from UV policy (v2.16.3)2 months ago832644cd88addocs: Record v2.16.2 Kepr release outcome2 months agod8b934e2032afix: Preserve passkey verification requirement (v2.16.2)2 months ago7eb176ce617adocs: Record v2.16.1 Kepr release outcome2 months agod993f918cad9fix: Unify Samsung passkey paths and open chooser (v2.16.1)2 months agoe3315622e288docs: Record v2.16.0 Kepr release outcome2 months ago2250ea07907afix: Repair passkey confirmation and add manual chooser (v2.16.0)2 months agoc9bac667b84ddocs: Record v2.15.10 passkey release2 months ago206ddb2db8dadocs: Add v2.15.10 release notes2 months agob22874a1827afix: Sign browser passkey assertions consistently (v2.15.10)2 months ago2d43b6458f09docs: Record v2.15.9 Kepr release2 months ago7878415a3f9cdocs: Add v2.15.9 release notes2 months ago8e94bbf8621afix: Restore browser inline autofill chips (v2.15.9)2 months agod79cd9e7a5f0fix: Complete locked passkey selection (v2.15.8)2 months ago647ed7040b49record v2.15.7 Kepr publication and remaining device verification2 months ago42f33fd5cad8add v2.15.7 release notes for inline picker and passkey fixes2 months ago9000e3f38fc0make locked picker inline dataset renderable with Samsung Gboard2 months ago0bf8b57c3a19restore passkey selection after unlock and bump version to 2.15.72 months agodb5f9dcb07f7record unsigned Kepr updater compatibility guardrails2 months ago8b542cf26a41remove separate update metadata signing gate and bump updater compatibility (v2.15.6)2 months agofcd5f141ea02restore signed v2.15.5 update metadata publication2 months ago79fac6c63d76publish unsigned v2.15.5 Credential Manager handoff release2 months ago97fe1c42be52fix locked Credential Manager auth handoff and return password entries (v2.15.5)2 months ago809d7406f7ccverify established certificate on Android Beta APKs (v2.15.4)2 months ago87e0ef13b5b1restore established Android release signing for Beta updates (v2.15.4)2 months ago28e0803dbf68align unsigned APK validation with Gradle output names (v2.15.4)2 months ago951c929d3b7crestore unsigned Beta signing path and pass full Android gate (v2.15.4)2 months ago2df37f097056clarify v2.15.4 browser extension update requirement2 months agod83ab2daa90cadd user-facing v2.15.4 Beta release notes before Kepr publication2 months agoc7583d76cb37record Android signed release gate results and JDK 17 requirement (v2.15.4)2 months ago73bb8fcf8a24restore established release signing and pass full Android release gate (v2.15.4)2 months agoe440012903d2allow unsigned release APK builds for temporary Kepr output2 months agoe956eb299f10record Android Vault V4 gate repair and passing verification2 months agod44bb7c09ba3restore Android native test constructors and bump version to 2.15.42 months agoc6746af28168docs: record Vault V4 compatibility and migration2 months ago590710c27c27test: consume shared Vault V4 long-password vector (v2.15.3)2 months ago82a4e7b3b85bfeat: add password and passphrase generator controls (v2.15.2)2 months agoeb8841cdb3befeat: add EFF passphrase generation and 256-character passwords (v2.15.1)2 months ago90a8a195ca0efeat: emit Vault V4 while retaining legacy reads (v2.15.0)2 months ago6695a8409f18docs: use interactive signed offer workflow2 months agobfb77126e0b7docs: define signed Kepr release handoff2 months ago78b197dd9ac3docs: Record update signing key custody confirmation2 months ago83752c2ac94adocs: Record final signed metadata server activation2 months agoa65c8e61cf1edocs: Record signed update activation blockers and evidence2 months ago3fd072568f50mirror adoption snapshot aggregate budget and sync fallback (PB-26-206, v2.14.99)2 months agofe1e4e781366bound pairing relay inbox with frame/inbox ceilings (PB-26-205, v2.14.98)2 months agobd058d56991adocs: Record signed metadata activation steps (PB-26-028)2 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]