peach-android

@june

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

Kotlin

v2.17.43 · 815 saves · 51,167 lines · updated 6 days ago

249 files
12a236a42d04
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/942.6 KB · 5 months ago
com/942.6 KB · 5 months ago
peachpasswords/942.6 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/585.9 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.3 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.4 KB · 5 months agoVaultListViewModel.kt8.5 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
a427cecb9d26wip: make issuer history transactions atomic (v2.17.46)6 days ago503ffc08ccfdrecord Android v2.17.43 publication on new Kepr1 month ago77bd226029ecmigrate: rename kepr.build to koh.build1 month ago1ffaee0b19barecord Android v2.17.43 Kepr publication2 months ago99985d508ba1trigger Sync after local vault commits and keep Android listener alive (v2.17.43)2 months agodcc055003dbcextract vault rollback policy and retire migration warnings (v2.17.42)2 months ago808b7504f3e4add bounded cross-client diagnostics (v2.17.41)2 months ago3fbeae741324clear remembered unlock credentials before navigation (v2.17.40)2 months ago6b929bcc1884exercise diversified 250-entry Codex PDF recovery on device (v2.17.39)2 months agod000a5ceb81eremove flowchart from public v2.17.38 assessment2 months ago43bff030193epublish complete public Android assessment for v2.17.382 months ago81e89faadfd0record v2.17.38 Kepr publication and artifact verification2 months ago334d823aec8brecord v2.17.38 audit observation remediation verification2 months ago3e245b8ce66bresolve four Android audit observations in v2.17.382 months ago39f7680a3945publish complete Android security assessment package for v2.17.372 months ago910d6893b2c9resolve PB-26-009 through PB-26-012 (v2.17.37)2 months ago8649c663d364publish complete v2.17.36 Android security assessment package2 months agof1cb69fdc68fresolve Android security assessment findings (v2.17.36)2 months ago9e1de8e4a429publish complete Android security assessment package for v2.17.352 months ago6527235722e9polish Sync layout and migration notices (v2.17.35)2 months ago62b76a063b8chide the secure reset panel once the device is on the settled generation2 months agodda21083ee07restore Peach release certificate and guard Kepr publication2 months agobdfbe81aa8b2add v2.17.34 Kepr release notes2 months agocfbb0cc15eefallow Android device revocation during Sync reset states2 months agoc34ab676f130accept PB-26-907 as a recorded owner decision2 months ago3c014381268brecord the independent review outcome in continuity2 months agocfd3e08e11f1make the native provenance gate an allow-list over every packaged library (v2.17.33)2 months ago31faca9201f2resolve all 39 findings of the 2026-09-10 independent assessment (v2.17.33)2 months agoa4afc0a38bafadd the independent security assessment of 2.17.32 with its coverage ledger, finding register and evidence index2 months ago92a33c49df44fail-closed malformed ledger and document locked-spool custody divergence (v2.17.32)2 months ago965644f75922add bidirectional adoption v2 process conformance gate (v2.17.31)2 months ago2ecce3b958d0refresh the handoff to state what is actually left2 months ago65dd9e8a6acfrecord the matrix coverage and the two rows that remain2 months ago3655f5a3af0adrive thirteen matrix scenarios plus the manifest adversarial cases2 months ago7da1f5ffe7c9record how far the cross-client matrix got and what it still needs2 months ago6ac4482f841fexpand the cross-client matrix from two scenarios to eleven2 months agoed1d47b3c8f6record how the cross-client matrix harness must be extended2 months agoe1caab7d79cerecord the adapter coverage session in continuity2 months ago76bf9ff4e828extract the source session adapter and cover every callback exhaustively2 months agoa39e1ade4a2brecord the secure reset session and the owner decisions in continuity2 months ago2f76e72efde8wire the release manifest drift gate into the Kepr publish path2 months ago4ccb3c874e48implement the secure reset generation state machine2 months ago1830b6bc2816record the seven-item campaign handoff for the next session2 months ago5b77d27b8c69refuse every device-manifest operation in a locked session and record the PB-26-111/112/115 owner decisions (v2.17.29)2 months ago812f9ac7993cpoint the campaign at the drafted secure-reset contract in sync-protocol §112 months ago9cb4cc720caarecord the adoption v2 conformance audit and revised release-readiness status2 months agoe58ffc3bdaacrecord the §18.1 slice checkpoint and session save identifiers2 months ago336f8bdb5d3drecord the §18.1 immutable-identity closure, green gates, and the §18.4 resume plan2 months agod82545a6da2efix: complete Android adoption v2 relay verification and forward snapshot capability (v2.17.27)2 months ago7511ceafa031record the identity-wallet and adoption v2 handoff for the next session2 months ago

older →

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]