GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Zangetsu101/android-pass-store: Modern Android autofill for your pass password store — biometric-gated, read-only, syncs over SSH.

BranchesTags
Open more actions menu

Latest commit

 

History

386 Commits
386 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.claude
.claude
 
 
.github
.github
 
 
app
app
 
 
architecture
architecture
 
 
docs
docs
 
 
e2e
e2e
 
 
gradle
gradle
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.ignore
.ignore
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CONTEXT.md
CONTEXT.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
keystore.properties.example
keystore.properties.example
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

pass.android

Modern Android autofill for your pass password store — biometric-gated, syncs over SSH.

Motivation

I use pass, the standard Unix password store, and I wanted a phone client that fit my own workflow: passwords live in a git repo, get written from my laptop, and get read on my phone — mostly through autofill.

Three things pushed me to build this:

  • First-class modern autofill. I wanted deep integration with the current Android credential stack — AutofillService, Credential Manager (Android 14+), and Android 16's Identity Check biometric-only enforcement — not a bolt-on.
  • Different scope from existing clients. Android Password Store (APS) was archived on Oct 15, 2024; an active fork continues it as a full-featured read/write client. Neither targets the modern Android credential stack the way this app does.
  • Built for my flow. This is a personal project shaped around how I actually use pass: read on the phone, write on the laptop.

It's a personal-use project first. But if you're a pass user looking for a maintained, autofill-first Android client, it may fit you too.

Objectives

What the app does:

  • Onboard — generate an on-device SSH keypair for git auth, import your existing GPG key, and optionally reuse an authentication [A] subkey if one is available.
  • Sync — clone and fast-forward pull your pass repo over SSH.
  • Edit logins — change passwords and notes, then encrypt, commit, and push to GitHub. The nearest .gpg-id must list only the imported key.
  • Browse & search — list all entries with directory structure preserved; fuzzy, case-insensitive search.
  • Decrypt & view — GPG-decrypt an entry behind a biometric prompt, show password and notes.
  • Autofill — surface credentials to the system via AutofillService (Android 8+), inline suggestions (Android 11+) and Credential Manager (Android 14+).
  • Manage — session timeout, manual lock, manual sync, and clear-all-data, in settings.

Screenshots

Welcome Import GPG key
Welcome screen     GPG key import
Key loaded Key imported
GPG key loaded     GPG key imported
Clone repo Clone progress
Clone git repo over SSH     Clone progress
Entry browser Session start
Entry browser with search     Biometric session start
Entry detail Password revealed
Entry detail, secret masked     Entry detail, password revealed behind biometric
Settings
Settings

Goals

Design principles the app is judged against:

  • Security-first — biometric required per fill, keys wrapped by a hardware-backed Keystore key, decrypted secrets never written to disk, clipboard auto-cleared, timed session lock.
  • Offline-first — fully functional after the first sync; local git clone, decrypt on demand, no network needed to read.
  • Modern-Android-native — built on Jetpack Compose, Credential Manager, and Android 16 Identity Check — not a legacy-API port.
  • pass-compatible — standard store layout, GPG, and git remote; no proprietary format, your existing store works as-is.
  • Terminal-themed — monospace, terminal-inspired UI that mirrors the pass CLI aesthetic.

Running locally

Prerequisites

  • JDK 17+ (CI uses 21)
  • Android CLI (android)
  • A device: a USB-debugging phone, or an emulator (x86_64 emulators need hardware acceleration)
android sdk install platforms/android-37.0 platform-tools
echo "sdk.dir=$(android info sdk)" > local.properties   # gitignored; Gradle doesn't find the SDK on its own
android emulator create                 # one-time: downloads the emulator + system image, creates AVD "medium_phone"
android emulator start medium_phone     # returns once booted; skip if you're using a phone
android run :app                        # build, install and launch the debug build

On Windows, write sdk.dir with forward slashes (C:/Users/...). Backslashes are escape characters in .properties files.

Without the Android CLI

Install platforms;android-37.0, platform-tools, emulator and a system image (e.g. system-images;android-36;google_apis;x86_64) with sdkmanager or Android Studio, then:

echo "sdk.dir=$HOME/Android/Sdk" > local.properties
emulator -avd <your-avd> &      # or plug in a phone
./gradlew installDebug          # build + install on the connected device

Debug builds use a fixed SSH key

In debug builds, "generate on device" always produces the same ed25519 key, derived from a hard-coded seed (SshKeyStoreImpl.generateTestSshKey), so e2e runs are deterministic. Consequences:

  • The key is public — anyone reading this source can derive its private half. Never register it on a repo or account you care about.
  • GitHub allows each SSH key to be registered only once, and this one is already the deploy key of Zangetsu101/pass-test-store. Adding it elsewhere fails with "Key is already in use", so a debug build can only clone Zangetsu101/pass-test-store.git.
  • That store is encrypted to the test GPG keys in the same repo (test-key.asc, passphrase testpass). ./gradlew e2eInstall pushes them to the device's Download/ folder for import. See e2e/README.md.

To use your own store, install a release build, which generates a random key:

./gradlew installRelease   # falls back to debug signing when keystore.properties is absent

Releasing

The Release workflow builds and signs the APK in CI.

  1. Set versionCode and versionName in app/build.gradle.kts. Merge the change to main.

  2. Tag the commit and push the tag. The tag must be v + versionName:

    git tag -a v0.3.0 -m "Release v0.3.0"
    git push origin v0.3.0
  3. The workflow builds pass-android-<version>.apk, checks that it is not debug-signed, and creates a draft GitHub release with the APK and its SHA-256 file.

  4. Open the draft release, write the "What's changed" section, and publish it.

Signing secrets

The workflow reads the release keystore from these repository secrets. If one is missing, the workflow fails. It does not publish a debug-signed APK.

Secret Value
RELEASE_KEYSTORE_BASE64 The keystore file, base64-encoded
RELEASE_STORE_PASSWORD storePassword from keystore.properties
RELEASE_KEY_ALIAS keyAlias from keystore.properties
RELEASE_KEY_PASSWORD keyPassword from keystore.properties

Use the same keystore as earlier releases. A different key makes Android reject the upgrade. To set the secrets with the GitHub CLI:

base64 -w0 release.keystore | gh secret set RELEASE_KEYSTORE_BASE64
gh secret set RELEASE_STORE_PASSWORD
gh secret set RELEASE_KEY_ALIAS
gh secret set RELEASE_KEY_PASSWORD

Future work

  • TOTP autofill: pass-otp TOTP codes are available in entry details. OTP in autofill and Credential Manager, HOTP, and secret creation remain deferred.
  • Considering: creating entries and HTTPS git authentication.

Scope

See architecture/architecture.md for the full architecture and out-of-scope list.

About

Modern Android autofill for your pass password store — biometric-gated, read-only, syncs over SSH.

Topics

androidautofillbiometric-authenticationcredential-managergpgjgitpasspassword-managerpgpainlessssh

Resources

Readme
GPL-3.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.