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

推荐订阅源

腾讯CDC
Engineering at Meta
Engineering at Meta
Last Week in AI
Last Week in AI
V
Visual Studio Blog
Stack Overflow Blog
Stack Overflow Blog
A
About on SuperTechFans
博客园 - 司徒正美
D
DataBreaches.Net
有赞技术团队
有赞技术团队
T
The Blog of Author Tim Ferriss
MyScale Blog
MyScale Blog
I
InfoQ
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
Google DeepMind News
Google DeepMind News
Recent Announcements
Recent Announcements
小众软件
小众软件
G
Google Developers Blog
博客园 - 【当耐特】
U
Unit 42
美团技术团队
B
Blog
D
Docker
Blog — PlanetScale
Blog — PlanetScale

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
I built a local-only credential vault because every dev t...
Shivsai Anantwar · 2026-06-24 · via DEV Community

The Problem I Kept Seeing

Over the past year working across multiple client teams on
DevOps and pipeline work, I kept noticing the same thing.

Developers storing GitHub PATs in Notepad.
QA engineers keeping API keys in a text file on the desktop.
DevOps folks with database passwords in a sticky note app.

During screen shares — sprint reviews, debugging sessions,
pair programming, recorded demos — those credentials were
just sitting there. Visible to everyone in the call.

Nobody said anything. It just kept happening.


Why Existing Tools Didn't Fit

I looked for something simple that solved this. Here's what
I found and why none of it quite worked:

Password managers (1Password, Bitwarden)
Good tools. But they're built around cloud sync, browser
extensions, and team sharing. For an individual developer
who just wants somewhere safe to keep a PAT — overkill.
Also: corporate IT policies often block installation of
cloud-synced password managers on work machines.

Secret managers (HashiCorp Vault, AWS Secrets Manager)
These are infrastructure tools, not personal workflow tools.
Setting up Vault for an individual developer's PAT collection
is like using a forklift to move a chair.

OS keystores (Windows Credential Manager, macOS Keychain)
Actually decent for storage. But no UI built for this
workflow, no copy-to-clipboard, and they don't solve the
screen-exposure problem at all.

The gap: Something simple, local, and designed around
the moment of use — not just storage.


So I Built Tokenly

Tokenly is a local-only desktop credential vault. The core
design principle is simple:

Credential values are never shown on screen.

You copy them to clipboard. That's the only way to use them.
The clipboard auto-clears after 30 seconds.

If you need to visually verify a value — press and hold a
button. Release it, the value hides immediately. Not a
toggle — a hold. Toggles get forgotten. Holds don't.


Technical Decisions Worth Explaining

Why Tauri over Electron

Tauri uses the operating system's existing WebView (Edge
WebView2 on Windows, WKWebView on macOS) rather than
bundling an entire Chromium browser. The result:

  • Installer under 10MB vs 150MB+ for Electron apps
  • Rust backend with explicit permissions — nothing the React frontend can do reaches the system without a registered Tauri command
  • Memory-safe backend by design

For a security tool, the permission model matters. Electron's
Node.js backend has broad filesystem access by default.
That's the wrong posture for a vault application.

Why AES-256-GCM specifically

AES-256-GCM is authenticated encryption — it doesn't just
encrypt, it detects tampering. Every encrypted blob includes
a 128-bit authentication tag. Wrong password or modified
file, the tag fails before any data is returned.

This means:

let plaintext = cipher
    .decrypt(nonce, ciphertext)
    .map_err(|_| "Wrong password or corrupted vault".to_string())?;

If decryption succeeds — the password was correct. If it
fails — wrong password or tampered file. No password
comparison ever happens. The encrypted data itself is
the verification mechanism.

Why Argon2id for key derivation

The master password is never stored anywhere. Instead,
Argon2id derives a 256-bit encryption key from the
password + a random salt: