惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
博客园_首页
J
Java Code Geeks
Jina AI
Jina AI
B
Blog RSS Feed
量子位
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
L
LangChain Blog
Microsoft Security Blog
Microsoft Security Blog
小众软件
小众软件
博客园 - 聂微东
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
Last Week in AI
Last Week in AI
MongoDB | Blog
MongoDB | Blog
I
InfoQ
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
爱范儿
爱范儿
Y
Y Combinator Blog
Vercel News
Vercel News
雷峰网
雷峰网

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
What I learned building a local-first password manager wi...
niluved · 2026-06-21 · via DEV Community

I used to keep my passwords in a password-protected, zipped Word document. Stored locally on my PC, with a backup copy on a USB drive.

Every password update required opening the file, entering the master password, editing the entry, syncing the change to the USB backup manually. Repeat.

On my phone? Even worse. I had to boot up the PC, unzip, search, update, re-sync — every single time.

That system worked… until it didn't. I realized I was one hardware failure away from locking myself out of everything. I needed a mobile solution, but with one non-negotiable constraint: my passwords were never leaving my device.

So I built Keyri.

Play Store: https://play.google.com/store/apps/details?id=com.nick.applab.silentsaver


Stack

  • Flutter (cross-platform UI, single codebase)
  • ChaCha20 for on-device encryption
  • Google ML Kit for on-device QR/barcode scanning (optional)
  • HaveIBeenPwned API with k-anonymity for breach checks (optional)
  • XposedOrNot API for account breach details (optional)
  • Brandfetch API for real logo icons (optional)
  • Google Drive integration for storing encrypted data (optional)

The constraints that shaped every decision

No cloud = no server = no trust required. That wasn't a feature list — it was the starting point. Every technical choice follows from it.

Encrypting images on-device

I wanted users to store sensitive images (IDs, receipts) inside the vault. Images are compressed on-device, encrypted with ChaCha20, and stored in the app sandbox. The decryption key never leaves the device memory unencrypted.

Breach checks without exposing passwords

I integrated HaveIBeenPwned, but with a hard constraint: the actual password never leaves the device. The solution is k-anonymity — only the first 5 characters of the SHA-1 hash are sent. The server returns a list of matching hash suffixes, and the match is checked locally (standard approach)

Flexible CSV import

I recently rewrote the importer to auto-detect the 5 main credential fields (username, password, URL, title, notes) regardless of column order or naming. It now accepts a wide variety of CSV structures without requiring the user to manually map columns.

One-click autofill via Android's native framework

I wanted logging into websites to feel frictionless — ideally one tap from the browser, no copy-paste. The cleanest way is Android's Autofill Framework, but Flutter doesn't expose it directly.

To make Keyri participate in the system autofill service, I had to drop down to native Android code. I wrote a Kotlin service that integrates with the Autofill API and communicates with the Flutter side via method channels. I didn't know Kotlin before this project — I learned it specifically to implement this feature, with a lot of help from Copilot along the way tbh ;)

The result: Keyri appears as an option in Android's autofill picker, and credentials fill in-app and in browsers with a couple of taps. All parsing of the target app/website structure happens on-device; nothing is transmitted.

Google Drive backup — still local-first

I just rolled out optional Google Drive backup. The challenge was keeping the local-first philosophy intact.

The solution: data is encrypted on-device before upload. The backup file is useless without the app's master key, which never leaves the device unencrypted. Even if Google wanted to hand over the file, it would be encrypted gibberish without the user's credentials.

No account is created. The Drive integration uses the user's existing Google account via OAuth.


What Keyri does today

  • Local-first vault: passwords, cards, barcodes/QR codes, encrypted images
  • Biometric unlock (fingerprint/face)
  • Android Autofill integration
  • Local breach checks (k-anonymity, no data sent)
  • Encrypted backups (Google Drive optional)
  • Flexible CSV import from any major password manager
  • Zero ads, zero tracking, zero accounts required

A few questions (no trust required)

I'm aware that a closed-source password manager from a solo dev isn't the easiest sell in the privacy community. I'm not here to ask for your trust — I built this to fix my own Word-document disaster, and I'm sharing it in case you're in the same boat.

If you're willing to evaluate it on its own merits (or just curious about the build), I'd love to hear some feedback.
What's the one feature that would make this actually usable for you? What's the one thing that would make you walk away?

Thanks for reading so far!